import { ObservableMap } from 'mobx'; type Ts6MapExtras = { getOrInsert(key: K, defaultValue: V): V; getOrInsertComputed(key: K, callback: (key: K) => V): V; }; type ObservableMapWithDataObject = ObservableMap & Ts6MapExtras & { dataObject: TDataObject; }; /** * Wraps an observable object or a tuple array to offer a map like interface. * * @param array Array. */ export declare function asMap(array: Array<[K, V]>): ObservableMapWithDataObject>; /** * Wraps an observable object or a tuple array to offer a map like interface. * * @param object Object. */ export declare function asMap(object: Record): ObservableMapWithDataObject>; /** * Converts a map to an object. If the map is a collection wrapper it will return the backed object. * * @param map */ export declare function mapToObject(map: Pick, "forEach">): Record; /** * Converts a map to an array. If the map is a collection wrapper it will return the backed array. * * @param map */ export declare function mapToArray(map: Pick, "forEach">): Array<[K, V]>; export {};