import { GridApiPro, GridValidRowModel } from '@mui/x-data-grid-pro';
export interface ColumnOption<T extends GridValidRowModel = GridValidRowModel> {
    field: string;
    width?: number;
    valueTransformer?: (value: unknown, row: T) => string | number | null | undefined;
    alignment?: 'left' | 'center' | 'right';
}
interface ExportDataGridToExcelOptions<T extends GridValidRowModel = GridValidRowModel> {
    sheetName?: string;
    filenamePrefix?: string;
    columnOptions?: ColumnOption<T>[];
    maxColumnWidth?: number;
}
export declare const exportDataGridToExcel: <T extends GridValidRowModel = GridValidRowModel>(gridApiRef: React.MutableRefObject<GridApiPro>, options?: ExportDataGridToExcelOptions<T>) => void;
export {};
