import ImportRecord from '../ImportRecord'; export interface FileEngine { geSupportedMimeTypes(): string[]; isSupported(file: File): boolean; parse(file: File, options: { hasHeaders: boolean; preview: boolean; [key: string]: any; }): Promise; generate(records: ImportRecord[], options: { withErrors?: boolean; withRejectionReason?: boolean; }): Blob; link(Blob: Blob, filename: string): HTMLElement; download(file: Blob, filename: string): void; } export type FileEngineOutput = { headers: string[]; records: ImportRecord[]; }; export declare abstract class BaseFileEngine implements FileEngine { isSupported(file: File): boolean; link(blob: Blob, filename: string): HTMLElement; download(file: Blob, filename: string): void; abstract geSupportedMimeTypes(): string[]; abstract parse(file: File, options: { hasHeaders: boolean; preview: boolean; [key: string]: any; }): Promise; abstract generate(records: ImportRecord[], options: { withErrors?: boolean; withRejectionReason?: boolean; }): Blob; }