export declare enum Status { loading = "loading", idle = "idle", error = "error", ready = "ready" } type Attributes = { [key: string]: string; }; declare function useScript(src: string, isEnabled?: boolean, attributes?: Attributes): Status; export default useScript;