import * as Y from 'yjs'; import { JSONArray, JSONObject, JSONPrimitive, JSONValue } from './types'; export declare function isJSONPrimitive(v: JSONValue): v is JSONPrimitive; export declare function isJSONArray(v: JSONValue): v is JSONArray; export declare function isJSONObject(v: JSONValue): v is JSONObject; export declare function toYDataType(v: JSONValue, seen?: WeakSet): any; export declare function applyJsonArray(dest: Y.Array, source: JSONArray, seen?: WeakSet): void; export declare function applyJsonObject(dest: Y.Map, source: JSONObject, seen?: WeakSet): void; export declare function toPlainValue(v: Y.Map | Y.Array | JSONValue): JSONValue; export declare function notImplemented(reason: string): never; //# sourceMappingURL=util.d.ts.map