open-agreements
Version:
Open-source legal template filling CLI and library
12 lines • 472 B
TypeScript
export interface OutputValidationResult {
valid: boolean;
errors: string[];
sourceHeadingCount: number;
outputHeadingCount: number;
}
/**
* Validate that a rendered DOCX preserves the heading structure of the source template.
* Extracts word/document.xml via AdmZip before scanning for heading styles.
*/
export declare function validateOutput(sourceDocxPath: string, outputDocxPath: string): OutputValidationResult;
//# sourceMappingURL=output.d.ts.map