export declare function domReady(fn?: () => Promise | unknown, doc?: Document): Promise;