import { z } from 'zod';
import type { FieldDefinition } from '../metadata.js';
export declare const RepeatableTablesConfigSchema: z.ZodObject<{
    schema_version: z.ZodLiteral<1>;
    tables: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
        id: z.ZodString;
        rows_field: z.ZodString;
        columns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
            field: z.ZodString;
            format: z.ZodDefault<z.ZodEnum<{
                decimal: "decimal";
                text: "text";
                integer: "integer";
                currency: "currency";
            }>>;
        }, z.core.$strict>, z.ZodObject<{
            paragraphs: z.ZodArray<z.ZodObject<{
                field: z.ZodString;
                format: z.ZodDefault<z.ZodEnum<{
                    decimal: "decimal";
                    text: "text";
                    integer: "integer";
                    currency: "currency";
                }>>;
            }, z.core.$strict>>;
        }, z.core.$strict>]>>;
        header_cells: z.ZodArray<z.ZodString>;
        prototype_row_index: z.ZodOptional<z.ZodNumber>;
        existing_data_row_count: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strict>, z.ZodObject<{
        id: z.ZodString;
        rows_field: z.ZodString;
        columns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
            field: z.ZodString;
            format: z.ZodDefault<z.ZodEnum<{
                decimal: "decimal";
                text: "text";
                integer: "integer";
                currency: "currency";
            }>>;
        }, z.core.$strict>, z.ZodObject<{
            paragraphs: z.ZodArray<z.ZodObject<{
                field: z.ZodString;
                format: z.ZodDefault<z.ZodEnum<{
                    decimal: "decimal";
                    text: "text";
                    integer: "integer";
                    currency: "currency";
                }>>;
            }, z.core.$strict>>;
        }, z.core.$strict>]>>;
        prototype_cells: z.ZodArray<z.ZodString>;
    }, z.core.$strict>]>>;
}, z.core.$strict>;
export type RepeatableTablesConfig = z.infer<typeof RepeatableTablesConfigSchema>;
export declare function loadRepeatableTablesConfig(templateDir: string): RepeatableTablesConfig | undefined;
export declare function validateRepeatableTableFields(config: RepeatableTablesConfig, fields: FieldDefinition[]): void;
export declare function applyRepeatableTables(inputPath: string, outputPath: string, config: RepeatableTablesConfig, values: Record<string, unknown>): void;
//# sourceMappingURL=repeatable-tables.d.ts.map