import { BaseMap } from './base-map'; import { BehaviorSubject } from 'rxjs'; import { SupportedKeyTypes } from '../interfaces'; /** * Implementation of {@link BaseMap} that uses the `BehaviorSubject` based `Observables` */ export declare class BehaviorMap extends BaseMap { /** * Construct a new instance and determin the initial value to * emit on the observables. * * @param initialValue value to emit first on the observables */ constructor(initialValue: V); /** * Get a key's value synchronously * @param key key of value to get */ get(key: K): V; /** * Will call the function for each synchronous value-key value in the map. * * @param callbackfn function to execute on the maps key-value */ forEach(callbackfn: (value: V, key: K) => void): void; /** * Get the map's ovservable values synchronously */ values(): IterableIterator; /** * Get the map's entries as key-value synchronously */ entries(): IterableIterator<[K, V]>; }