export interface ExternalAssets { styles?: string[]; scripts?: string[]; } export declare function loadStyleOnce(href: string): Promise; export declare function loadScriptOnce(src: string): Promise; export declare function loadAssetsOnce(assets: ExternalAssets): Promise; export declare function useExternalAssets(assets: ExternalAssets | null): { loading: boolean; error: Error | null; ready: boolean; };