/** pause execution for a number of miliseconds */
export declare const wait: (miliseconds: number) => Promise<unknown>;
type PollForValueOptions = {
    intervalMs?: number;
    timeoutMs?: number;
};
export declare const pollForValue: <T>(fetcher: () => Promise<T | null | undefined>, options?: PollForValueOptions) => Promise<T | undefined>;
/** only call function once with a given number of milliseconds
 * Ex: let debounceMyFunc = debounce(myFunc, 1000);
 * debounceMyFunc(); debounceMyFunc();
 */
export declare function debounce(func: (...args: any[]) => void, debounceForMs: number): (...args: any[]) => void;
export {};
