export declare function useScript(src: string, async?: boolean): "error" | "loading" | "ready" | "idle";