export declare function preconnect(url: string, rel?: 'preconnect' | 'prefetch' | 'preload'): boolean; export declare function loadScript(src: string): Promise; export declare function getRequestCredentials(crossorigin?: string | null): RequestCredentials | undefined;