/** * Parses url using URL constructor. Supports URL objects as passthrough input to simplify implementations * May throw if parsing fails * @param url */ export declare function parseUrl(url: string | URL): URL;