import { HttpParams } from '@angular/common/http'; import { Params } from '@angular/router'; /** * Creates an instance of HttpParams filled with given #params * @param params An Object containing key-value-pairs that should be transferred to HttpParams * @param arrayAsArray A switch to change encoding of array-like values. * You can choose between the default 'list=a,b,c' (false) or 'list[]=a&list[]=b&list[]=c' (true) encoding. * @returns An instance of HttpParams with the same key-value-pairs as delivered by #params */ export declare function createHttpParams(params: Params, arrayAsArray?: boolean): HttpParams;