/** * Like Set, but serializes to JSON as an array. * * Fixes the "issue" of stock Set being json-serialized as `{}`. * * @experimental */ export declare class Set2 extends Set { static of(items?: Iterable | null): Set2; /** * Like .add(), but allows to add multiple items at once. * Mutates the Set, but also returns it conveniently. */ addMany(items: Iterable): this; first(): T; firstOrUndefined(): T | undefined; toArray(): T[]; toJSON(): T[]; toString(): string; }