/** * An HTTP request/response body that represents serialized parameters, * per the MIME type `application/x-www-form-urlencoded`. * * @public */ export declare class HttpParams { private readonly _map; constructor(init?: HttpParams | Array> | Record); static isHttpParams(value: unknown): value is HttpParams; /** * Appends a new value to existing values for a parameter. * * @param param - The parameter name. * @param value - The new value to add. * @returns A new body with the appended value. */ append(param: string, value: string): HttpParams; /** * Removes a given value or all values from a parameter. * * @param param - The parameter name. * @param value - The value to remove, if provided. * @returns A new body with the given value removed, or with all values removed if no value is specified. */ delete(param: string, value?: string): HttpParams; /** * Retrieves the first value for a parameter. * * @param param - The parameter name. * @returns The first value of the given parameter, or `null` if the parameter is not present. */ get(param: string): string | null; /** * Reports whether the body includes one or more values for a given parameter. * * @param param - The parameter name. * @returns True if the parameter has one or more values, false if it has no value or is not present. */ has(param: string): boolean; /** * Replaces the value for a parameter. * * @param param - The parameter name. * @param value - The new value. * @returns A new body with the new value. */ set(param: string, value: string): HttpParams; /** * Retrieves all values for a parameter. * * @param param - The parameter name. * @returns All values in a string array, * or `null` if the parameter not present. */ getAll(param: string): Array | null; /** * Retrieves all the parameters for this body. * * @returns The parameter names in a string array. */ keys(): Array; } //# sourceMappingURL=HttpParams.d.ts.map