import { ProxyState } from './cache'; import { StringKeyedObject } from './types'; import * as Y from "yjs"; /** * Creates a proxy for a Y.Map. * * @param ymap The Y.Map to wrap. * @returns A proxy for the Y.Map. * @internal */ export declare function ymapProxy(ymap: Y.Map): StringKeyedObject; /** * Creates a proxy for a Y.Map or a JSON object. * * @param state The initial state of the proxy. * @returns A proxy for the object. * @internal */ export declare function createYMapProxy(state: ProxyState): StringKeyedObject;