UNPKG

open-agreements

Version:

Open-source legal template filling CLI and library

23 lines • 1.27 kB
import { z } from 'zod'; export declare const AnchoredParagraphBindingsConfigSchema: z.ZodObject<{ groups: z.ZodArray<z.ZodObject<{ id: z.ZodString; start_anchor: z.ZodString; end_anchor: z.ZodOptional<z.ZodString>; end_at_document_end: z.ZodOptional<z.ZodLiteral<true>>; expected_group_matches: z.ZodLiteral<1>; bindings: z.ZodArray<z.ZodObject<{ label: z.ZodString; field: z.ZodString; expected_matches: z.ZodLiteral<1>; insert_after_label: z.ZodLiteral<true>; preserve_following_tabs: z.ZodLiteral<true>; consume_following_underlined_tabs: z.ZodOptional<z.ZodLiteral<true>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; export type AnchoredParagraphBindingsConfig = z.infer<typeof AnchoredParagraphBindingsConfigSchema>; /** Bind fields after plain labels between unique sibling body-paragraph anchors. */ export declare function bindAnchoredParagraphFields(inputPath: string, outputPath: string, rawConfig: AnchoredParagraphBindingsConfig): void; export declare function loadAnchoredParagraphBindingsConfig(path: string): AnchoredParagraphBindingsConfig; //# sourceMappingURL=anchored-paragraph-bindings.d.ts.map