/**
 * Returns a promise that resolves after a given amount of time.
 */
export declare function sleep(time: number, { signal, }?: {
    /**
     * An optional `AbortSignal` that can be used to cancel the sleep.
     * This will cause the timeout to be cancelled, if it has not already
     * finished.
     */
    signal?: AbortSignal;
}): Promise<void>;
//# sourceMappingURL=sleep.d.ts.map