import { BaseEntity } from '../database/base.entity';
import { BankAccountEntity } from './bank-account.entity';
import { CurrencyEntity } from './currency.entity';
import { SupplierEntity } from './supplier.entity';
import { SettlementPaymentEntity, SettlementPaymentMode } from './settlement-payment.entity';
import { SettlementPaymentType } from '../common/constants/settlement-payment-type';
export declare enum PayoutExcessTreatment {
    PREPAYMENT = "PREPAYMENT",
    ADVANCE = "ADVANCE"
}
export declare class SupplierPayoutEntity extends BaseEntity {
    voucher_no: string;
    voucher_year: number;
    supplier: SupplierEntity;
    supplier_id: string;
    supplier_name: string | null;
    payment_date: string;
    mode: SettlementPaymentMode;
    ref_no: string | null;
    debit_bank_account: BankAccountEntity | null;
    debit_bank_account_id: string | null;
    credit_bank_account: BankAccountEntity | null;
    credit_bank_account_id: string | null;
    currency: CurrencyEntity;
    currency_id: string;
    payment_type: SettlementPaymentType;
    paid_amount: number;
    allocated_amount: number;
    credit_applied: number;
    excess_amount: number;
    excess_treatment: PayoutExcessTreatment | null;
    notes: string | null;
    is_void: boolean;
    voided_at: Date | null;
    voided_by: string | null;
    void_reason: string | null;
    payments: SettlementPaymentEntity[];
}
