open-agreements
Version:
Open-source legal template filling CLI and library
27 lines • 2.12 kB
TypeScript
import type { FieldSelectorRunOptions, FieldSelectorRunResult } from './types.js';
/**
* Run the full fieldSelector pipeline: clean → patch → fill → verify.
* If no inputPath is provided, auto-downloads the source document from source_url.
*/
export declare function runFieldSelector(options: FieldSelectorRunOptions): Promise<FieldSelectorRunResult>;
export { cleanDocument } from './cleaner.js';
export type { CleanResult, CleanOptions } from './cleaner.js';
export { patchDocument } from './patcher.js';
export type { PatchResult } from './patcher.js';
export { verifyOutput, validateWordFields, normalizeText, extractAllText, countFormattingAnomalies } from './verifier.js';
export { ensureSourceDocx } from './downloader.js';
export { checkFieldSelectorSourceDrift, checkSelectorDrift, computeSourceStructureSignature } from './source-drift.js';
export { enumerateTextParts, getGeneralTextPartNames } from './ooxml-parts.js';
export type { OoxmlTextParts } from './ooxml-parts.js';
export type { FieldSelectorRunOptions, FieldSelectorRunResult, VerifyResult, VerifyCheck } from './types.js';
export type { ComputedArtifact, ComputedProfile } from './computed.js';
export { applyRepeatableTables, loadRepeatableTablesConfig, RepeatableTablesConfigSchema, validateRepeatableTableFields } from './repeatable-tables.js';
export type { RepeatableTablesConfig } from './repeatable-tables.js';
export { normalizeNumberedHeadingSections } from './numbering-normalizer.js';
export type { NumberingNormalizationStats } from './numbering-normalizer.js';
export { bindAnchoredParagraphFields, loadAnchoredParagraphBindingsConfig, AnchoredParagraphBindingsConfigSchema } from './anchored-paragraph-bindings.js';
export { normalizeDetachedHeadingPunctuation } from './heading-punctuation-normalizer.js';
export type { AnchoredParagraphBindingsConfig } from './anchored-paragraph-bindings.js';
export { applyReferenceFieldActions, loadReferenceFieldsConfig, ReferenceFieldsConfigSchema } from './reference-fields.js';
export type { ReferenceFieldsConfig } from './reference-fields.js';
//# sourceMappingURL=index.d.ts.map