clickable-json
Version:
Interactive JSON and JSON CRDT viewer and editor
7 lines (6 loc) • 445 B
TypeScript
import { NodeRef } from './NodeRef';
import type { JsonNode, Model } from 'json-joy/lib/json-crdt';
import type { ITimestampStruct } from 'json-joy/lib/json-crdt-patch/clock';
export declare const id: (node: NodeRef<JsonNode>) => string;
export declare const createValue: (model: Model, json: string, type: "any" | "con" | "vec" | "val", constOrJson?: boolean) => ITimestampStruct;
export declare const isContainer: (value: unknown) => boolean;