/** * Converts a relative file path to an absolute URL based on the current page location. * * Handles the following cases: * - Protocol-relative or absolute URLs (`//...` or `http(s)://...`) are returned as-is. * - Root-relative paths (`/...`) are resolved against `location.origin`. * - Other relative paths (`./...`, `../...`, `foo/...`) are resolved against the current page URL. * * @param rel - The relative (or absolute) path to convert. * @returns The fully qualified absolute URL. */ declare const _default: (rel: string) => string; export default _default;