You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
653 B

/**
* Checks if a URL string is absolute (has protocol)
*/
export declare function isAbsoluteUrl(url: string): boolean;
/**
* Safely processes remote locations, handling both relative and absolute URLs
* while preserving query parameters and hash fragments for absolute URLs
*/
export declare function processRemoteLocation(remoteLocation: string, remoteEntryExt: 'js' | 'mjs'): string;
/**
* Processes remote URLs for runtime environments, resolving relative URLs against window.location.origin
*/
export declare function processRuntimeRemoteUrl(remoteUrl: string, remoteEntryExt: 'js' | 'mjs'): string;
//# sourceMappingURL=url-helpers.d.ts.map