import { Chart } from '../chart/types'; export type StackExportFormat = "png" | "jpeg" | "webp"; export type StackExportResolution = "standard" | "2k" | "4k" | "8k" | number; export interface StackExportOptions { format?: StackExportFormat; quality?: number; resolution?: StackExportResolution; includeBackground?: boolean; includeDividers?: boolean; transparent?: boolean; } /** @internal Exported for unit tests */ export declare function stackResolutionScale(res: StackExportResolution): number; /** * Compose every pane chart into one raster image matching the on-screen stack layout. */ export declare function exportStackImage(container: HTMLDivElement, paneWrappers: HTMLDivElement[], paneCharts: Chart[], dividers: HTMLDivElement[], backgroundColor: string, options?: StackExportOptions): Promise;