import { ExcelService } from "src/utils/xlsx";
import { ClientCompanyRepository } from "../../clients-companies/repositories/clients-companies.repository";
import { InvoiceRepository } from "../../invoices/repositories/invoice.repository";
import { CreatePaymentDto } from "../dto/create-payment.dto";
import { UpdatePaymentDto } from "../dto/update-payment.dto";
import { PaymentRepository } from "../repositories/payment.repository";
import { ConfigService } from "@nestjs/config";
export declare class PaymentService {
    private readonly paymentRepository;
    private readonly invoiceRepository;
    private readonly clientCompanyRepository;
    private readonly configService;
    private readonly excelService;
    constructor(paymentRepository: PaymentRepository, invoiceRepository: InvoiceRepository, clientCompanyRepository: ClientCompanyRepository, configService: ConfigService, excelService: ExcelService);
    create(createPaymentDto: CreatePaymentDto): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
    findAll(filters: any): Promise<{
        success: boolean;
        code: number;
        message: string;
        data: any;
    }>;
    findOne(id: number): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
    update(id: number, updatePaymentDto: UpdatePaymentDto): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
    remove(id: number): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
    private updateInvoiceStatus;
    excelExport(filters: any): Promise<Buffer<ArrayBufferLike>>;
    private formatPaymentDataForExcel;
}
