/** * Browser-compatible implementation of node:url's parse function. * Uses the native URL API available in both Node.js and browsers. */ import type { UrlWithParsedQuery } from './url-types.js'; /** * Parse a URL string into components, compatible with node:url parse function. * @param urlStr - The URL string to parse * @param parseQueryString - If true, parse the query string into an object * @param slashesDenoteHost - If true, URLs without protocol will be parsed as having a host * @returns Parsed URL object */ export declare function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): UrlWithParsedQuery; //# sourceMappingURL=url-parse.d.ts.map