/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/aggregate" />
/// <reference types="mongoose/types/callback" />
/// <reference types="mongoose/types/collection" />
/// <reference types="mongoose/types/connection" />
/// <reference types="mongoose/types/cursor" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/error" />
/// <reference types="mongoose/types/expressions" />
/// <reference types="mongoose/types/helpers" />
/// <reference types="mongoose/types/middlewares" />
/// <reference types="mongoose/types/indexes" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/mongooseoptions" />
/// <reference types="mongoose/types/pipelinestage" />
/// <reference types="mongoose/types/populate" />
/// <reference types="mongoose/types/query" />
/// <reference types="mongoose/types/schemaoptions" />
/// <reference types="mongoose/types/schematypes" />
/// <reference types="mongoose/types/session" />
/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/validation" />
/// <reference types="mongoose/types/virtuals" />
/// <reference types="mongoose/types/inferschematype" />
import mongoose, { Document } from 'mongoose';
export declare const LOAN_PAYMENT_FIELDS: string[];
export interface ICombinedPayment {
    borrowerId: string;
    date: Date;
    payment: number;
    addToRevolver: boolean;
    products: {
        productId: string;
        payableSum: number;
        settlementCode: string;
        paymentOrder: string[];
    }[];
    linkedProducts: {
        productId: string;
        payableSum: number;
        settlementCode: string;
    }[];
}
export interface ILoanPayment {
    date: Date;
    productId: mongoose.Types.ObjectId;
    amount: number;
    paid: {
        _id?: mongoose.Types.ObjectId;
        statementId: mongoose.Types.ObjectId;
        amount: number;
    }[];
    loanTransactions: {
        _id?: mongoose.Types.ObjectId;
        transactionId: mongoose.Types.ObjectId;
        amount: number;
    }[];
    settlementCode?: string;
    paymentOrder?: string[];
}
export interface ILoanPaymentWithId extends ILoanPayment {
    _id: mongoose.Types.ObjectId;
}
export interface ILoanPaymentDoc extends ILoanPayment, Document {
}
export declare const LoanPaymentSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    date: Date;
    productId: mongoose.Types.ObjectId;
    amount: number;
    paymentOrder: string[];
    paid: mongoose.Types.DocumentArray<{
        amount?: number;
        statementId?: mongoose.Types.ObjectId;
    }>;
    loanTransactions: mongoose.Types.DocumentArray<{
        amount?: number;
        transactionId?: mongoose.Types.ObjectId;
    }>;
    __v?: number;
    settlementCode?: string;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    date: Date;
    productId: mongoose.Types.ObjectId;
    amount: number;
    paymentOrder: string[];
    paid: mongoose.Types.DocumentArray<{
        amount?: number;
        statementId?: mongoose.Types.ObjectId;
    }>;
    loanTransactions: mongoose.Types.DocumentArray<{
        amount?: number;
        transactionId?: mongoose.Types.ObjectId;
    }>;
    __v?: number;
    settlementCode?: string;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    date: Date;
    productId: mongoose.Types.ObjectId;
    amount: number;
    paymentOrder: string[];
    paid: mongoose.Types.DocumentArray<{
        amount?: number;
        statementId?: mongoose.Types.ObjectId;
    }>;
    loanTransactions: mongoose.Types.DocumentArray<{
        amount?: number;
        transactionId?: mongoose.Types.ObjectId;
    }>;
    __v?: number;
    settlementCode?: string;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const LoanPaymentModel: mongoose.Model<ILoanPaymentDoc>;
