import * as i0 from '@angular/core'; interface SdExcelTemplate { fileName?: string; columns: SdExcelTemplateColumn[]; sheets?: SdExcelSheet[]; } interface SdExcelColumn { field: string; title: string; description?: string; width?: string; } interface SdExcelTemplateColumn extends SdExcelColumn { required?: boolean; color?: string; fontColor?: string; fill?: string; } interface SdExcelSheet { name: string; items: T[]; headers: { value: Extract; display: string; }[]; } interface SdExcelExportOption { columns: SdExcelTemplateColumn[]; items: T[]; fileName?: string; sheets?: SdExcelSheet[]; } declare class SdExcelService { #private; constructor(); generateTemplate: (template: SdExcelTemplate) => Promise; exportCSV: (option: SdExcelExportOption) => Promise; export: (option: SdExcelExportOption) => Promise; upload: () => Promise<{ items: Record[]; file: File | null; }>; parse: (file: File) => Promise<{ items: Record[]; file: File | null; }>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { SdExcelService }; export type { SdExcelColumn, SdExcelExportOption, SdExcelSheet, SdExcelTemplate, SdExcelTemplateColumn };