import qs from 'qs'; import { IDictionary } from './interfaces'; /** * URL util */ export declare class URL { private static parseOptions; private static stringifyOptions; /** * Updates query parameters */ static updateQueryString(value: IDictionary, replace?: boolean): void; private static getParsedQueryString; /** * Get formatted query parameters */ static getFormattedQueryString(obj: IDictionary, options?: qs.IStringifyOptions): string; /** * Get parsed query string from URL */ static getParsedQueryStringFromUrl(): IDictionary; /** * Get formatted query string from URL */ static getFormattedQueryStringFromUrl(): string; /** * Get the properties in array format */ static getPropertyAsArray(prop: string | string[]): string[]; /** * Set the query parameters */ static setQueryString(query: IDictionary): void; /** * Replace the query parameters */ static replaceQueryString(query: IDictionary): void; /** * Delete a query parameter */ static deleteQueryParam(param: string, replace?: boolean): void; }