import { OfxResponse, OfxStructure } from '../@types/ofx/index'; import { ExtractorConfig, MetaData, NormalizeOptions, NormalizedOfxData, TransactionsSummary, Types, ValidationReport, OfxDiagnostic } from '../@types/common'; import type { StatementTransaction } from '../@types/ofx/common'; export interface IExtractor { getType(): Types; config(config: ExtractorConfig): this; getHeaders(): MetaData; getBankTransferList(): StatementTransaction[]; getCreditCardTransferList(): StatementTransaction[]; getTransactionsSummary(): TransactionsSummary; getContent(): OfxStructure; toJson(): OfxResponse; toNormalized(options?: NormalizeOptions): NormalizedOfxData; validate(): ValidationReport; getWarnings(): OfxDiagnostic[]; }