import type { IComparable } from "../utils/helpers.js"; import { HashMap } from "./HashMap.js"; /** * This class extends `HashMap` to maintain the insertion order of the keys. */ export declare class OrderedHashMap extends HashMap { #private; clear(): void; get(key: K): V | undefined; set(key: K, value: V): V | undefined; setIfAbsent(key: K, value: V): V | undefined; /** * @returns an iterable of the values in the map, in the order they were inserted. */ values(): Iterable; /** * @returns an iterable of the keys in the map, in the order they were inserted. */ keys(): IterableIterator; equals(o: unknown): boolean; }