import type { WidgetHeaderConfig } from '../../../../domains/widgets/shared/widget-header/types.js';
import type { ChartWidgetProps } from './types.js';
export type UseChartWidgetExcelDownloadParams = Pick<ChartWidgetProps, 'title' | 'dataOptions' | 'chartType' | 'config' | 'dataSource' | 'id'> & {
    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 **and**
 * the Sisense server feature **`exportingXlsxV2`** is active (`api/globals` → `features`).
 * **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;
