/** * A `Set`-compatible class that allows using a custom key mapper * function for both reading and writing. * * > **Important**: `union` and similar methods are not supported, * > as there's no way which kind of key the other set uses. * > This might change in the future. */ export declare class CustomSet implements Set { #private; readonly clear: Set['clear']; constructor(externalToInternal: (key: ExternalKey) => InternalKey, internalToExternal: (key: InternalKey) => ExternalKey); get size(): number; add(value: ExternalKey): this; delete(value: ExternalKey): boolean; forEach(callbackfn: (value: ExternalKey, value2: ExternalKey, set: Set) => void, thisArg?: any): void; has(value: ExternalKey): boolean; entries(): ReturnType['entries']>; keys(): ReturnType['keys']>; values(): ReturnType['keys']>; union(): Set; intersection(): Set; difference(): Set; symmetricDifference(): Set; isSubsetOf(): boolean; isSupersetOf(): boolean; isDisjointFrom(): boolean; [Symbol.iterator](): ReturnType['keys']>; get [Symbol.toStringTag](): string; getInternalSet(): Set; }