export declare function act(fn: () => any): Promise;