export interface CanonicalDocsResult { documents: number; rewritten: number; /** Documents whose own integrity did not match their content; left byte-for-byte alone. */ mismatched: string[]; } /** * Rewrite every sealed Scene document as its RFC 8785 text (sorted keys, no whitespace, no trailing newline). The integrity digest is * defined over exactly those bytes minus the integrity member, so the engine can verify a document with one hash over the text it already * holds instead of parsing, validating and re-canonicalising it (about 2.8 s of main thread on a phone for a city). The digest, and every * mount that names a child by it, is unchanged: only the layout of the bytes changes. */ export declare function canonicaliseSceneDocuments(root: string): CanonicalDocsResult;