import { ErrorState } from './utils'; export interface ScriptProps { src: HTMLScriptElement['src']; [key: string]: any; } export declare function useScript(...scripts: ScriptProps[]): { loading: boolean; error: ErrorState; };