import type { PageLayoutOptions } from './extensions/PageLayout'; export interface PrintOptions { /** Document title shown in print preview / saved PDF. */ title?: string; /** Override the editor's page layout for this print only. */ pageLayout?: Partial; /** Extra CSS to inject into the print iframe. */ extraCss?: string; /** Optional header HTML printed at the top of every page. */ headerHtml?: string; /** Optional footer HTML printed at the bottom of every page. */ footerHtml?: string; /** Show page numbers in the footer (defaults to true). */ pageNumbers?: boolean; /** Auto-close the print iframe after the print dialog (default true). */ autoClose?: boolean; } /** * Renders the editor content in an isolated, hidden iframe and triggers the * browser's print dialog. The user may then "Save as PDF" with proper * pagination, no editor chrome, no page-overflow scrollbars, and the configured * page size / orientation. */ export declare class PrintEngine { print(html: string, options?: PrintOptions): void; }