import { List } from "../Array/List"; export declare class KeyValuePair { Key: TKey; Value: TValue; constructor(key: TKey, value: TValue); } declare type actionOnKeyValue = (kv: KeyValuePair) => void; export declare class Dictionary { _map: Map; constructor(map?: Map); Add(key: TKey, value: TValue): void; Ensure(key: TKey, value: TValue, overwriteIfExising?: boolean): TValue; Get(key: TKey): TValue | undefined; Set(key: TKey, value: TValue): void; UpdateOnlyIfAny(key: TKey, value: TValue): boolean; Remove(key: TKey): void; EnsureRemoved(key: TKey): boolean; get Keys(): List; get Values(): List; Clear(): void; Foreach(func: actionOnKeyValue): void; Contains(key: TKey): boolean; get Count(): number; static FromObjectProps(obj: object): Dictionary; } export {}; //# sourceMappingURL=Dictionary.d.ts.map