import { BaseFileEngine, FileEngine, FileEngineOutput } from './FileEngine'; import ImportRecord from '../ImportRecord'; export default class ExcelFileEngine extends BaseFileEngine implements FileEngine { geSupportedMimeTypes(): string[]; link(blob: Blob, filename: string): HTMLElement; parse(file: File, options: { hasHeaders: boolean; preview: boolean; sheet?: string; headerRows?: number; }): Promise; /** * Parse two-row headers from an Excel sheet. * Handles merged cells by remembering the last non-empty value from the first row. * Combines first and second row values with '-' separator. */ private parseTwoRowHeaders; generate(records: ImportRecord[], options: { withErrors?: boolean; withRejectionReason?: boolean; }): Blob; }