export type ScriptStatus = 'idle' | 'loading' | 'ready' | 'error'; type Options = { nonce?: string; async?: boolean; defer?: boolean; type?: string; }; export declare function useLazyScriptLoad(src: string, opts?: Options): { loadScript: () => Promise; status: ScriptStatus; }; export {};