/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { ImageExportOptions } from '@progress/kendo-drawing'; import { PDFOptions } from '@progress/kendo-drawing/pdf'; import { Chart } from '@progress/kendo-react-charts'; /** * Sets the export options for the Chart Wizard. */ export interface ExportOptions { /** * Sets the filename for exported files. * * @default 'chart' */ fileName?: string; /** * Configures PDF export options. * * @default { paperSize: 'A4', margin: '1cm' } */ pdf?: PDFOptions; /** * Configures image export options. * * @default { width: 800, height: 600 } */ image?: ImageExportOptions; } /** * @hidden */ export declare abstract class PreventableEvent { private prevented; /** * Prevents the default action for a specific event. * This action stops the source component from executing its built-in behavior that follows the event. */ preventDefault(): void; /** * Returns `true` if any of the event subscribers prevented the event. * * @returns - Returns `true` if you prevented the default action. * Otherwise, returns `false`. */ isDefaultPrevented(): boolean; } /** * Provides arguments for the `export` event on the Chart Wizard. */ export declare class ExportEvent extends PreventableEvent { /** * Gets the export options on the Chart Wizard. */ exportOptions: ExportOptions; /** * Gets the current Chart chart instance you want to export. */ chart: Chart; constructor(chart: Chart, exportOptions: ExportOptions); }