export interface LoadScriptAttributes {
    crossorigin?: boolean | 'anonymous' | 'use-credentials' | '';
    integrity?: string;
    referrerpolicy?: ReferrerPolicy;
}
/**
 * Common function that loads script async
 * @param id - unique script id that is used as a marker to prevent future load
 * @param src - script src (url) to load
 * @param attrs - additional attributes to set on the script tag
 */
export declare function loadScript(id: string, src: string, attrs?: LoadScriptAttributes): Promise<Event>;
