interface GetScriptParams {
    src: string;
    timeout: number;
    parent: "head" | "body";
    inline?: string;
    load?: string;
    attributes: Partial<{
        [key in keyof HTMLScriptElement]: string;
    }>;
}
export declare const loadScript: ({ src, timeout, parent, inline, load, attributes, }: GetScriptParams) => Promise<HTMLScriptElement> | PromiseRejectionEvent;
export {};
