analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
20 lines • 538 B
TypeScript
/**
* A single Excel cell value
*/
export type ExcelCell = string | number | null;
/**
* Configuration for a single Excel sheet
*/
export interface SheetConfig {
name: string;
headers: string[];
rows: ExcelCell[][];
}
/**
* Generate and download an Excel file with multiple sheets.
*
* @param fileName - Name of the file without extension
* @param sheets - Array of sheet configurations
*/
export declare function downloadExcel(fileName: string, sheets: SheetConfig[]): void;
//# sourceMappingURL=exportExcel.d.ts.map