import type { SchemaEnv } from './env.js'; import { type ElementNode, type NabiDoc, type NabiNode } from './types.js'; export { $callbackTree, $ownDataArray, $ownDataObject, $snapshotNodes } from './raw.js'; export type { CallbackTree, DataDescriptors } from './raw.js'; export declare function $toJson(doc: NabiDoc): unknown[]; export declare function $fromJson(value: unknown, env: SchemaEnv): NabiDoc | null; export declare function $guarded(door: string, fallback: T, run: () => T): T; export declare function $parseJson(text: string, env: SchemaEnv): NabiDoc | null; export type { ElementNode, NabiDoc, NabiNode }; //# sourceMappingURL=json.d.ts.map