import { PDFDocument, PDFPage } from "pdf-lib"; import { DrawTableOptions, CellContent } from "./index"; interface TableData { rows: CellContent[][]; options?: DrawTableOptions; } interface DrawTableWithOverflowOptions { allowCreateNewPageOnOverflow: boolean; startYOnNewPage?: number; getNextPage?: (currentPage: PDFPage, pdfDoc: PDFDocument) => PDFPage; maxPages: number; bottomMargin?: number; } export declare function drawTableWithOverflow(pdfDoc: PDFDocument, page: PDFPage, tableData: TableData, startX: number, startY: number, overflowOptions: DrawTableWithOverflowOptions): Promise; export {};