import { Readable } from 'stream';
export interface CsvReadOptions {
    pageSize?: number;
    hasHeaderRow?: boolean;
    providedHeaders?: string[];
}
export interface CsvReadResult {
    headers: string[];
    data: Record<string, any>[];
}
export declare class CsvService {
    private logger;
    createCsvStream(getDataRecords?: (chunkIndex: number, chunkSize: number) => Promise<any[]>, chunkSize?: number, headers?: string[]): Promise<Readable>;
    readCsvInPagesFromStream(stream: Readable, options?: CsvReadOptions): AsyncGenerator<CsvReadResult>;
}
//# sourceMappingURL=csv.service.d.ts.map