export declare function useScriptLoader(src: string, options?: {
    async?: boolean;
    defer?: boolean;
    attributes?: Record<string, string>;
}): "loading" | "ready" | "error";
