import { Option } from '../option.js'; import { AbstractMap, Tuple2 } from '../abstract-map.js'; import * as immutable from '../hashmap.js'; export declare class HashMap extends AbstractMap> { constructor(map?: Map); protected fromArray(array: Tuple2[]): HashMap; static of(...values: Tuple2[]): HashMap; static from(values: Iterable>): HashMap; addAll(values: Iterable>): this; updateWith(key: K): (remappingFunction: (maybeValue: Option) => Option) => Option; subtractAll(values: Iterable): this; clear(): void; clone(): HashMap; filterInPlace(p: (entry: Tuple2) => boolean): this; mapValuesInPlace(f: (entry: Tuple2) => V): this; getOrElseUpdate(key: K, defaultValue: () => V): V; set(key: K, value: V): this; put(key: K, value: V): Option; remove(key: K): Option; update(key: K, value: V): void; addOne(elem: Tuple2): this; subtractOne(key: K): this; get toImmutable(): immutable.HashMap; }