import { FormatterOptions } from '../FormatterOptions'; import { Row, RowArray, RowTransformFunction } from '../types'; type RowFormatterCallback = (error: Error | null, data?: RowArray) => void; export declare class RowFormatter { private static isRowHashArray; private static isRowArray; private static gatherHeaders; private static createTransform; private readonly formatterOptions; private readonly fieldFormatter; private readonly shouldWriteHeaders; private _rowTransform?; private headers; private hasWrittenHeaders; private rowCount; constructor(formatterOptions: FormatterOptions); set rowTransform(transformFunction: RowTransformFunction); format(row: I, cb: RowFormatterCallback): void; finish(cb: RowFormatterCallback): void; private checkHeaders; private gatherColumns; private callTransformer; private formatColumns; } export {};