import { IParserLine } from "../models/IParserLine"; export interface IParserResultBase { initializeImport(): IParserResultBase; parse(line: IParserLine): void; dispose(): void; } export interface IParserResult extends IParserResultBase { result: T; onImportComplete(): Promise | null>; onImportFailed(error: any): Promise; }