export interface ExportExcelCol<T> {
    name: string;
    selector: keyof T | ((v: T) => ExcelColValue);
}
export interface ExportExcelSheet<T> {
    name: string;
    data: T[];
    columns: ExportExcelCol<T>[] | (keyof T)[];
}
type ExcelColValue = string | number | Date | null;
export declare function exportExcel<T>(sheets: ExportExcelSheet<T>[], fileName: string): Promise<void>;
export {};
