interface StylesheetDirect { css: string; key: string; } interface StylesheetFile { path: string; key: string; } declare type StylesheetSpec = StylesheetDirect | StylesheetFile | string; export declare const injectCSS: (file: StylesheetSpec) => void; export declare const uninjectCSS: ({ key }: { key: string; }) => void; export declare const injectScript: (url: string | { key: string; src: string; }) => Promise; export declare const loadHTML: (file: any) => Promise; export {};