type UseScriptStatus = 'idle' | 'loading' | 'ready' | 'error'; type UseScriptOptions = { shouldPreventLoad?: boolean; removeOnUnmount?: boolean; id?: string; }; /** * A hook that allows to load scripts asynchronously and track their status. * @param {string | null} src - The URL of the script to load. * @param {UseScriptOptions} options - An object with options for the hook. * @returns {string} A string representing the status of the script. */ export declare function useScript(src: string | null, options?: UseScriptOptions): UseScriptStatus; export {};