import { DeltaMap } from './delta-map.observable'; import { DeltaMapSettings, IdObject } from './types'; export declare class DeltaSet, K = string> extends DeltaMap { constructor(); constructor(entries: Iterable); constructor(settings?: DeltaMapSettings); constructor(entries: Iterable, settings?: DeltaMapSettings); /** * Process constructor content, can be overriden and extended in subclasses */ protected initializeContent(entries: Iterable): void; /** * Adds or modifies an entry and notifies changes through _delta$_. * * If an existing entry is the same according to the _isEqual_ function, nothing is changed. */ add(entry: V): DeltaSet; /** * Adds or modifies multiple entries at once and notifies changes through _delta$_. * * If an existing entry is the same according to the _isEqual_ function, nothing is changed. */ addMultiple(entries: Iterable): void; /** * Redirect to _entry.add_ to guarantee integrity of the IdObject Map. * @override * @deprecated use _add(entry)_ instead */ set(_id: K, entry: V): any; /** * Replaces all existing entries with new entries. * - Adds _newEntries_ not existing in the current entries. * - Updates existing entries where _newEntries_ have changed (_isEqual_ function). * - Deletes entries not existing in _newEntries_. */ replace(entries: Iterable): void; } //# sourceMappingURL=delta-set.observable.d.ts.map