/** * @fileoverview Content Paginator for PDF generation * @module generator/Paginator */ export interface PageInfo { title: string; author: string; date: string; pageNumber: number; totalPages: number; } export interface PaginatorOptions { showHeader: boolean; showFooter: boolean; title: string; author: string; date: string; } /** * Paginator class that wraps content in page containers with headers and footers * * This uses a clever approach: we let the browser handle the actual pagination * via CSS page-break rules, but we inject JavaScript to post-process the content * after rendering to add page numbers and ensure proper layout. */ export declare class Paginator { private options; constructor(options?: Partial); /** * Wrap content in a paginated structure * Each page has its own header and footer */ wrapContent(content: string, tocHtml?: string, titleSection?: string): string; /** * Escape HTML special characters */ private escapeHtml; } //# sourceMappingURL=Paginator.d.ts.map