import { Dictionary } from 'ts-essentials'; import { Logger } from './types'; export declare class WriteStats { messagesRead: number; recordsRead: number; recordsProcessed: number; recordsWritten: number; recordsErrored: number; recordsSkipped: number; processedByStream: Dictionary; writtenByModel: Dictionary; constructor(messagesRead?: number, recordsRead?: number, recordsProcessed?: number, recordsWritten?: number, recordsErrored?: number, recordsSkipped?: number, processedByStream?: Dictionary, writtenByModel?: Dictionary); incrementProcessedByStream(stream: string): void; incrementWrittenByModel(model: string): void; log(logger: Logger, writeMsg: 'Wrote' | 'Would write'): void; asObject(): Dictionary; }