declare const mainFn: (win: Window) => Promise; export default mainFn;