import { Location } from '@angular/common'; import { OnDestroy } from '@angular/core'; import { ActivatedRoute, ParamMap, Params, Router, UrlSerializer } from '@angular/router'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; interface ChangedQueryParams { params: Params; replaceUrl?: boolean; } export declare class QueryParamsService implements OnDestroy { private router; private urlSerializer; private location; private activatedRoute; private readonly _queryParams$; private changedQueryParams$; private readonly destroyed$; constructor(router: Router, urlSerializer: UrlSerializer, location: Location, activatedRoute: ActivatedRoute); static mapChangedQueryParams(currentQueryParams: Params, appendedQueryParams: Params, replaceUrl?: boolean): ChangedQueryParams; static needToReplaceUrl(currentQueryParams: Params, normalizedQueryParams: Params): boolean; getQueryParams(): T; getQueryParams$(): Observable; getQueryParamMap(): ParamMap; getQueryParamMap$(): Observable; append(params: Params, replaceUrl?: boolean): void; clear(): void; delete(...keys: string[]): void; ngOnDestroy(): void; private getCurrentBrowserQueryParams; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};