/** * Based on [URI Regular Expression](https://github.com/jhermsmeier/uri.regex). * By [Jonas Hermsmeier](https://github.com/jhermsmeier). */ export declare class ParsedUri { static UNNAMED_CAPTURE_GROUPS_URI_REGEXP: RegExp; constructor(uri: string); match: string; protocol: string; slashes?: string; authority?: string; host?: string; port?: string; path?: string; query?: string; hash?: string; /** * Asynchronously validates the validator's data. */ validate(): Promise; } /** * Parses an URI string and returns a parsed URI object containing its components. * If the URI is invalid, an error is thrown. * @param uri - URI string. */ export declare function parseUri(uri: string): Promise;