mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 07:22:56 +00:00
14 lines
653 B
TypeScript
14 lines
653 B
TypeScript
/**
|
|
* 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
|