import { Diff, Disposable, Middleware } from '../core'; /** * Describes a map of the given type. * https://fnx.js.org/docs/api/mapOf.html * @param kind The type of items this map contains */ export declare function mapOf(kind: T): { applySnapshot?(snapshot: string): boolean; applySnapshot?(snapshot: object, options?: { asJSON: true; }): boolean; getSnapshot?(): object; getSnapshot?(options: { asString: true; }): string; getSnapshot?(options: { asJSON: true; }): object; applyDiffs?(diffs: Diff[]): boolean; use?(middleware: Middleware): Disposable; } & { [key: string]: T; };