/** * Like Map, but serializes to JSON as an object. * * Fixes the "issue" of stock Map being json-serialized as `{}`. * * @experimental */ export declare class Map2 extends Map { /** * Convenience way to create Map2 from object. */ static of(obj: Record): Map2; /** * Allows to set multiple key-value pairs at once. */ setMany(obj: Record): this; toObject(): Record; toJSON(): Record; toString(): string; }