/** * Wire-shape readers for the external annotation family. * * The engine serializes these results with PascalCase property names (and older builds with * camelCase), so every consumer has to normalize them once. The main-thread entry points in * `core.ts` and the Web Worker (`docxodus.worker.ts`) both read through here, which is what * lets the worker hand back the same typed objects the main thread would without a second * copy of the mapping. */ import type { ExternalAnnotationSet, ExternalAnnotationValidationResult, OpenContractDocExport } from "./types.js"; /** Read an OpenContracts document export from the engine's parsed JSON. */ export declare function readOpenContractExport(parsed: any): OpenContractDocExport; /** Read an external annotation set — an OpenContracts export plus identity and label tables. */ export declare function readExternalAnnotationSet(parsed: any): ExternalAnnotationSet; /** Read the result of validating an annotation set against a document. */ export declare function readExternalAnnotationValidation(parsed: any): ExternalAnnotationValidationResult; /** The engine wraps projected HTML in a small JSON envelope; unwrap it. */ export declare function readProjectedHtml(parsed: any): string; //# sourceMappingURL=external-annotation-wire.d.ts.map