declare function delay<T = any>(milliseconds: number, options?: DelayOptions<T>): Promise<T>;
declare function createDelay<T = any>(milliseconds: number, { value, signal }?: DelayOptions<T>): Promise<T>;
declare function rangeDelay<T>(minimum: number, maximum: number, options?: DelayOptions<T>): Promise<T>;
declare function clearDelay(promise: Promise<unknown>): void;
type DelayOptions<T> = {
    value?: T;
    signal?: AbortSignal;
};

export { type DelayOptions, clearDelay, createDelay, delay, rangeDelay };
