/** Interface for the options used to export a dashboard or map as a PDF */ export interface PdfExportOptions { page_size: "Letter" | "A4" | "A3"; orientation: "portrait" | "landscape"; /** The margins to use for the PDF in inches. Usually 0.5 inch by default. */ margins: number; /** * Scaling factor for the viewport width. Higher values will render the content at a larger size. */ scale: number; } export declare const defaultOptions: PdfExportOptions; /** * Calculates the viewport width for a given page size and orientation * @param options The options to use for the calculation * @returns The viewport width in pixels */ export declare function calculateViewportWidth(options: PdfExportOptions): number; /** * Calculates the viewport height for a given page size and orientation * @param options The options to use for the calculation * @returns The viewport height in pixels */ export declare function calculateViewportHeight(options: PdfExportOptions): number;