import type { BetterMapLike } from "./better-map-like.js"; /** * A Map structure which has a tuple key. */ export declare class TupleMap implements BetterMapLike { /** * Create a map which uses tuples of the specified length for keys. */ static forKeyLength(keyLength: N): TupleMap; /** * Create a map from the given tuple length and iterable initial entries. */ static from(keyLength: N, entries: Iterable): TupleMap; private readonly _keyLength; private _size; private readonly root; private readonly tailIndex; protected constructor(keyLength: number); clear(): void; copy(valueDuplicator?: ((value: V, key: K) => V) | undefined): TupleMap; delete(key: K): boolean; entries(): [K, V][]; entryIterator(): Generator<[K, V], undefined, undefined>; private find; get(key: K): V | undefined; getOrCompute(key: K, supplier: (k: K) => V): V; has(key: K): boolean; keyIterator(): Generator; get keyLength(): number; private keyTail; keys(): K[]; private mapsForKey; replaceIf(key: K, value: V, predicate: (existingValue: V, existingKey: K) => boolean): boolean; replaceIfPresent(key: K, value: V): boolean; set(key: K, value: V): void; setEach(iterable: Iterable>): void; setEachIfAbsent(iterable: Iterable>): void; setIfAbsent(key: K, value: V): V; get size(): number; toMap(valueDuplicator?: ((value: V, key: K) => V) | undefined): Map; upsert(key: K, combine: (maybeValue: (V | undefined)) => V): void; valueIterator(): Generator; values(): V[]; } //# sourceMappingURL=tuple-map.d.ts.map