UNPKG

n8n-nodes-doc-fill-handwritten-finalyy

Version:
13 lines (12 loc) 469 B
import { IBinaryData } from 'n8n-workflow'; import { PDFForm, PDFFont } from 'pdf-lib'; declare const isPDFDocument: (data: IBinaryData) => boolean; interface DocFillConfig { key: string; value: string; type: 'textfield' | 'checkbox' | 'dropdown' | 'radiogroup'; xOffset?: number; yOffset?: number; } declare const fillForm: (pdfForm: PDFForm, config: DocFillConfig, customFont?: PDFFont) => void; export { isPDFDocument, fillForm, DocFillConfig };