export interface LoadScriptOptions {
    async?: boolean;
    attrs?: Record<string, string>;
    charset?: string;
    text?: string;
    type?: string;
    library?: string;
}
export declare function loadScript<T = any>(src: string, options?: LoadScriptOptions): Promise<T | undefined>;
