export declare function useScript(src: string): { loading?: true | undefined; success?: true | undefined; error?: true | undefined; };