export declare const loadScript: (url: string, { attr, to, cacheTag, }?: { attr?: any; to?: HTMLElement | undefined; cacheTag?: string | undefined; }, loadCallback?: () => void) => Promise; export declare const loadLink: (url: string) => true | Promise;