import type { WidgetHeaderConfig } from '../../../../domains/widgets/shared/widget-header/types.js'; import type { ChartWidgetProps } from './types.js'; export type UseChartWidgetExcelDownloadParams = Pick & { baseHeaderConfig: WidgetHeaderConfig; }; export type UseChartWidgetExcelDownloadResult = { headerConfig: WidgetHeaderConfig; }; /** * Enhances a chart widget header with Excel download menu items (placeholder). * Excel menu is shown only when the widget/dashboard allows download. * **Repeat rows** sets `mergeRows: false`; **Merge rows** sets `mergeRows: true`). * * @param props - Chart data/config plus `baseHeaderConfig`. `id` is optional; when present it is forwarded as `widgetId` without validation. * @returns Header config for {@link WidgetContainer} */ export declare function useChartWidgetExcelDownload(props: UseChartWidgetExcelDownloadParams): UseChartWidgetExcelDownloadResult;