import { ValNode } from '../val/ValNode'; import type { Model } from '../../model/Model'; import type { ITimestampStruct } from '../../../json-crdt-patch/clock'; import type { JsonNode } from '../types'; /** * The root of a JSON CRDT document. {@link RootNode} is a {@link ValNode} with * a special `0.0` ID, which is always the same. It is used to represent the * root of a document. * * @category CRDT Node */ export declare class RootNode extends ValNode { /** * @param val Latest value of the document root. */ constructor(doc: Model, val: ITimestampStruct); name(): string; /** @ignore */ clone(doc: Model): RootNode; }