import '../extensions/ArrayExtensions'; import '../extensions/StringExtensions'; export interface IUrlParameter { Key: string; Value: string; } /** * A class for URL Parameters * @since 1.2.0 */ export declare class UrlParameter { protected Parameters: IUrlParameter[]; protected Query: string; constructor(query: string); onQueryChanged?(): void; add(name: string, value: string, encode?: boolean): void; get(name: string, decode?: boolean): string; getAll(): IUrlParameter[]; remove(name: string): void; removeAll(): void; getQuery(): string; toString(): string; private buildParametersArray; private buildQuery; } export interface IUrlContext { OriginalUrl: string; Host: string; WebUrl: string; Path: string; Query: string; Parameters?: UrlParameter; Protocol: string; } export declare class Uri implements IUrlContext { readonly OriginalUrl: string; Url: string; Host: string; WebUrl: string; Path: string; Query: string; Parameters: UrlParameter; Protocol: string; Hash: string; protected SplittedUrl: string[]; protected get hash(): string; constructor(url: string); toString(): string; Combine(urlToCombine: string): void; protected createUrlContext(url: string): void; protected onParameterQueryChanged(): void; protected makeAbsoluteUrl(urlToCombine: string): string; protected getSplittedUrl(url: string): string[]; protected getWebUrl(url: string): string; protected getProtocol(url: string): string; protected getHost(url: string): string; protected getHostWithProtocol(url: string): string; protected getPath(url: string): string; protected getQuery(url: string): string; protected getHash(url: string): string; } //# sourceMappingURL=Uri.d.ts.map