export type PdfFormValue = string | boolean | null; export type PdfExistingFormFieldType = "text" | "checkbox" | "radio" | "dropdown" | "signature" | "unsupported"; export interface PdfFormFieldInfo { name: string; type: PdfExistingFormFieldType; value?: string | boolean | null; required: boolean; readOnly: boolean; options?: string[]; maxLength?: number; widgetCount: number; } export interface PdfFormInspection { fields: PdfFormFieldInfo[]; hasXfa: boolean; isEncrypted: boolean; hasSignatures: boolean; unsupported: string[]; } export interface PdfFillExistingFormOptions { strict?: boolean; updateDefaultValues?: boolean; appearance?: "regenerate" | "needAppearances"; } export interface PdfFormFillWarning { code: "appearance.need_appearances" | "appearance.fallback_font" | "field.unknown" | "field.readonly"; field?: string; message: string; } export interface PdfFillExistingFormResult { buffer: Buffer; filled: string[]; warnings: PdfFormFillWarning[]; inspection: PdfFormInspection; } export declare function inspectExistingPdfForm(input: Buffer | Uint8Array): PdfFormInspection; export declare function fillExistingPdfForm(input: Buffer | Uint8Array, values: Record, options?: PdfFillExistingFormOptions): PdfFillExistingFormResult; //# sourceMappingURL=pdf-form-fill.d.ts.map