import { ConfigService } from '@nestjs/config';
export interface ParsedBankRow {
    transaction_date: number;
    amount: number;
    reference: string | null;
    narration: string;
    direction?: 'CREDIT' | 'DEBIT';
}
export declare class BankStatementParserService {
    private readonly configService;
    private readonly genAI;
    constructor(configService: ConfigService);
    parseCsv(buffer: Buffer): Promise<{
        rows: ParsedBankRow[];
        failedRows: any[];
    }>;
    parsePdf(buffer: Buffer): Promise<{
        rows: ParsedBankRow[];
        failedRows: any[];
    }>;
}
