export interface UrlInfo { hash?: string; host?: string; hostname: string; href: string; origin: string; pathname: string; port: string; protocol: string; search: string; username: string; password: string; } /** * * @param url for example "http://username:password@localhost:257/deploy/?asd=asd#asd" * ```javascript { "hash": "#asd", "host": "username:password@localhost:257", "hostname": "localhost", "href": "http://username:password@localhost:257/deploy/?asd=asd#asd", "origin": "http://username:password@localhost:257", "password": "password", "pathname": "/deploy/", "port": "257", "protocol": "http:", "search": "?asd=asd", "username": "username" } ``` */ export declare function parseUrl(url: string): UrlInfo;