import type { HsonNode } from "../../core/types.js"; import type { HsonCanonical } from "../transform/transform.types.js"; /** * One immutable exact canonical Hson value in document context. * * Zero, one, and many top-level items are the same document semantic kind; * `_hson_root` is private structural machinery rather than authored content. */ export declare class HsonDocument { private readonly hsonDocumentNominal; private constructor(); /** Parse exact document-context Hson, including zero-length empty documents. */ static fromHson(source: HsonCanonical): HsonDocument; /** Safely copy and admit exact notation-closed document-context Hson. */ static fromNode(node: HsonNode): HsonDocument; /** Exact canonical graph equality with no serialization or normalization. */ equals(other: HsonDocument): boolean; /** Serialize the complete document through the owned-document Hson boundary. */ toHson(): HsonCanonical; /** Return a fresh mutable detached clone of the always-rooted document graph. */ toNode(): HsonNode; } //# sourceMappingURL=hson-document.d.ts.map