import type { WidgetHeaderConfig } from '../../../../domains/widgets/shared/widget-header/types.js';
import type { PivotTableWidgetProps } from './types.js';
export type UsePivotWidgetCsvDownloadParams = Pick<PivotTableWidgetProps, 'title' | 'dataOptions' | 'filters' | 'highlights' | 'config' | 'dataSource'> & {
    /** Header config from {@link useWidgetHeaderManagement} (rename menu, etc.). */
    baseHeaderConfig: WidgetHeaderConfig;
};
export type UsePivotWidgetCsvDownloadResult = {
    headerConfig: WidgetHeaderConfig;
};
/**
 * Enhances a pivot table widget's header with CSV download capabilities:
 * - Adds the "Download > CSV File" header menu item.
 * - Executes the CSV query and downloads the result as a CSV file.
 *
 * @param props - Pivot widget props and base header config
 * @returns Header config for {@link WidgetContainer}
 */
export declare function usePivotWidgetCsvDownload(props: UsePivotWidgetCsvDownloadParams): UsePivotWidgetCsvDownloadResult;
