import { type GridState } from '../../core/grid/index.js'; import { type ColumnState, type RowNode } from '../../core/types/index.js'; import { type XlsxFormatColors } from './conditional-format.js'; import { type CellValue } from './sheet.js'; import type { XlsxStyle } from './styles.types.js'; export interface ExportXlsxOptions { filename?: string; sheetName?: string; columnIds?: string[]; rows?: RowNode[]; selectedOnly?: boolean; freezeHeader?: boolean; autoFilter?: boolean; value?: (row: TRow, column: ColumnState) => CellValue | undefined; headerStyle?: XlsxStyle; columnStyle?: (column: ColumnState) => XlsxStyle | undefined; cellStyle?: (value: CellValue, row: TRow, column: ColumnState) => XlsxStyle | undefined; conditionalFormatting?: boolean | XlsxFormatColors; loadedOnly?: boolean; onProgress?: (loaded: number, total: number | null) => void; batchSize?: number; } export declare function buildGridXlsx(grid: GridState, options?: ExportXlsxOptions): Uint8Array; export declare function buildGridXlsxAsync(grid: GridState, options?: ExportXlsxOptions): Promise; export declare function downloadGridXlsx(grid: GridState, options?: ExportXlsxOptions): Promise;