/// <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 from 'mongoose';
export interface ITermCalculatedDaily {
    day: string;
    interestRate: number;
    interest: number;
    paymentDate: boolean;
}
export interface ITermLoanCalculated {
    termLoanId: mongoose.Types.ObjectId;
    relevantStatement: string;
    openingBalance: number;
    monthlyInterest: number;
    monthlyPrincipal: number;
    closingBalance: number;
    adminFee: number;
    interestRate: number;
    interestDaily: number;
    gracePeriod: boolean;
    amortization: boolean;
    paymentDueDate: Date;
    payments: {
        amount: number;
        paymentId: mongoose.Types.ObjectId;
    }[];
    disbursements: number;
    dailyResults: ITermCalculatedDaily[];
}
export interface ITermLoanCalculatedDoc extends ITermLoanCalculated, mongoose.Document {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface ITermLoanCalculatedLean extends ITermLoanCalculated {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface ITermLoanCalculatedPlain extends Omit<ITermLoanCalculated, 'termLoanId' | 'payments'> {
    _id: string;
    termLoanId: string;
    payments: {
        amount: number;
        paymentId: string;
    }[];
}
export type TTermLoanCalculatedModel = mongoose.Model<ITermLoanCalculated>;
export declare const TermLoanCalculatedSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    interestRate: number;
    termLoanId: mongoose.Types.ObjectId;
    relevantStatement: string;
    openingBalance: number;
    monthlyInterest: number;
    monthlyPrincipal: number;
    closingBalance: number;
    adminFee: number;
    interestDaily: number;
    gracePeriod: boolean;
    amortization: boolean;
    payments: mongoose.Types.DocumentArray<{
        amount: number;
        paymentId: mongoose.Types.ObjectId;
    }>;
    disbursements: number;
    dailyResults: mongoose.Types.DocumentArray<{
        day: string;
        interestRate: number;
        interest: number;
        paymentDate: boolean;
    }>;
    __v?: number;
    paymentDueDate?: Date;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    interestRate: number;
    termLoanId: mongoose.Types.ObjectId;
    relevantStatement: string;
    openingBalance: number;
    monthlyInterest: number;
    monthlyPrincipal: number;
    closingBalance: number;
    adminFee: number;
    interestDaily: number;
    gracePeriod: boolean;
    amortization: boolean;
    payments: mongoose.Types.DocumentArray<{
        amount: number;
        paymentId: mongoose.Types.ObjectId;
    }>;
    disbursements: number;
    dailyResults: mongoose.Types.DocumentArray<{
        day: string;
        interestRate: number;
        interest: number;
        paymentDate: boolean;
    }>;
    __v?: number;
    paymentDueDate?: Date;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    interestRate: number;
    termLoanId: mongoose.Types.ObjectId;
    relevantStatement: string;
    openingBalance: number;
    monthlyInterest: number;
    monthlyPrincipal: number;
    closingBalance: number;
    adminFee: number;
    interestDaily: number;
    gracePeriod: boolean;
    amortization: boolean;
    payments: mongoose.Types.DocumentArray<{
        amount: number;
        paymentId: mongoose.Types.ObjectId;
    }>;
    disbursements: number;
    dailyResults: mongoose.Types.DocumentArray<{
        day: string;
        interestRate: number;
        interest: number;
        paymentDate: boolean;
    }>;
    __v?: number;
    paymentDueDate?: Date;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const TermLoanCalculatedModel: mongoose.Model<ITermLoanCalculatedDoc>;
