import type { ExportCellValue, ExportOptions } from 'apex-grid/internal'; /** Excel column letter for zero-based column index (0 → A, 26 → AA). */ export declare function columnLetter(index: number): string; /** * Converts a `Date` to the Excel serial date number (days since the 1899-12-30 * epoch, with the day rolling over at the user's local midnight). Time of day * is preserved as the fractional part. */ export declare function toExcelSerial(date: Date): number; /** A worksheet representation passed to {@link buildXLSX}. */ export interface XLSXSheetData { /** Worksheet tab name. */ name?: string; /** Header row labels (rendered with bold styling). */ headers: string[]; /** Data rows. Each row is an array of cell values, aligned to `headers`. */ rows: ExportCellValue[][]; } /** * Options for {@link ApexGridEnterprise.exportToXLSX}. Mirrors the community * grid's CSV options, plus an optional worksheet name. */ export interface XLSXExportOptions extends ExportOptions { /** Worksheet tab name. Defaults to `'Sheet1'`. Trimmed to 31 chars. */ sheetName?: string; } /** * Builds the complete `.xlsx` bytes for a single-sheet workbook. */ export declare function buildXLSX(sheet: XLSXSheetData): Uint8Array;