import { State } from "../state.js";
//#region src/field/map.d.ts
declare namespace map {
export interface Create extends Managed {
set(...args: A): this;
}
export interface Insert extends Managed {
set(key: K, value: V): this;
}
export { Managed };
}
declare function map(entries?: Iterable | false | null): map.Insert;
declare function map(make: (...args: A) => V): map.Create;
declare class Managed extends Map {
constructor(arg?: Iterable | Function | false | null);
get size(): number;
get(): ReadonlyMap>;
get(key: K): V | undefined;
has(key: K): boolean;
set(key: K, ...rest: unknown[]): this;
delete(key: K): boolean;
clear(): void;
entries(): MapIterator<[K, V]>;
entries(fn: (entry: [K, V]) => R): Iterable;
keys(): MapIterator;
keys(fn: (key: K) => R): Iterable;
values(): MapIterator;
values(fn: (value: V, key: K) => R): Iterable;
forEach(callbackfn: (value: V, key: K, map: this) => void, thisArg?: unknown): void;
[Symbol.iterator](): MapIterator<[K, V]>;
}
//#endregion
export { map };
//# sourceMappingURL=map.d.ts.map