import type * as Excel from '@mui/x-internal-exceljs-fork'; import type { GridColumnGroupLookup } from '@mui/x-data-grid/internals'; import type { GridExcelExportOptions } from "../gridExcelExportInterface.js"; export declare const getExcelJs: () => Promise; export interface SerializedRow { row: Record; dataValidation: Record; outlineLevel: number; mergedCells: { leftIndex: number; rightIndex: number; }[]; } export declare const addColumnGroupingHeaders: (worksheet: Excel.Worksheet, columns: SerializedColumns, columnGroupPaths: Record, columnGroupDetails: GridColumnGroupLookup) => void; export type SerializedColumns = Array<{ key: string; width: number; style: Partial; headerText: string; }>; export type ValueOptionsData = Record; export declare function addSerializedRowToWorksheet(serializedRow: SerializedRow, worksheet: Excel.Worksheet): void; export declare function createValueOptionsSheetIfNeeded(valueOptionsData: ValueOptionsData, sheetName: string, workbook: Excel.Workbook): Promise; export interface ExcelExportInitEvent { namespace?: string; serializedColumns: SerializedColumns; serializedRows: SerializedRow[]; valueOptionsSheetName: string; columnGroupPaths: Record; columnGroupDetails: GridColumnGroupLookup; valueOptionsData: ValueOptionsData; options: Omit; }