export declare const waitFor: (fn: Function) => Promise; export declare const delay: (ms: number) => Promise;