import { Types } from 'mongoose';
import { DetailedTransaction } from '../accounts.service';
import { TallyLedgerMappingService } from './tally-ledger-mapping.service';
export interface TallyVoucher {
    voucherType: 'Receipt' | 'Payment';
    voucherDate: number;
    voucherNumber: string;
    debitLedger: string;
    creditLedger: string;
    amount: number;
    narration: string;
}
export declare class TallyExportService {
    private readonly ledgerMappingService;
    constructor(ledgerMappingService: TallyLedgerMappingService);
    requiredLedgerKeys(transactions: DetailedTransaction[]): string[];
    checkMissingMappings(businessId: Types.ObjectId, transactions: DetailedTransaction[]): Promise<string[]>;
    buildVouchers(businessId: Types.ObjectId, transactions: DetailedTransaction[]): Promise<TallyVoucher[]>;
    buildTallyXml(businessName: string, vouchers: TallyVoucher[]): string;
}
