export declare function ephemeralIFrame(callback: ({ iframe }: { iframe: Document; }) => void): Promise; export declare function wait(durationMs: number, resolveWith?: T): Promise;