open-agreements
Version:
Open-source legal template filling CLI and library
15 lines • 725 B
TypeScript
export type DocxIdentityProbeResult = {
/** The package as re-saved by LibreOffice's DOCX export filter. */
savedPackage: Buffer;
};
export type DocxPdfProbeResult = {
pdf: Buffer;
};
/**
* Load→save a complete generated package through LibreOffice's DOCX filter.
* Throws when LibreOffice cannot load the package (no output is produced).
*/
export declare function probeDocxIdentity(generated: Buffer, soffice?: string | null): Promise<DocxIdentityProbeResult>;
/** Render a generated package to PDF headlessly — the headless-renderer probe. */
export declare function probeDocxToPdf(generated: Buffer, soffice?: string | null): Promise<DocxPdfProbeResult>;
//# sourceMappingURL=generation-probes.d.ts.map