export interface UriStructure { source: string; protocol: string; authority: string; userInfo: string; user: string; password: string; host: string; port: number; relative: string; path: string; directory: string; file: string; query: string; anchor: string; queryKey: any; } /** * parseUri 1.2.2 * (c) Steven Levithan * MIT License * http://blog.stevenlevithan.com/archives/parseuri */ export declare function parseUri(str: string): UriStructure; export declare namespace parseUri { var options: { key: string[]; parser: { loose: RegExp; strict: RegExp; }; q: { name: string; parser: RegExp; }; strictMode: boolean; }; } /** * Builds a query string from an object * @param qs * @param ignoreEmptyValues */ export declare function buildQueryString(qs?: {}, ignoreEmptyValues?: boolean): string;