export declare function delay(millis: number, unref?: boolean): Promise<void>;
/**
 * Run the given thunk until the promise is resolved to true, or the timeout
 * passes.
 */
export declare function until(f: (count: number) => boolean | Promise<boolean>, timeoutMs: number, delayMs?: number): Promise<boolean>;
