/// <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';
import { ITermLoanSettingsOnly } from './TermLoanSettings.model';
export declare enum ETermLoanStatus {
    NEW = "NEW",
    CALCULATED = "CALCULATED",
    CALCULATING = "CALCULATING",
    ERROR = "ERROR",
    EXPECTED = "EXPECTED"
}
export declare const TERM_LOAN_FIELDS: string[];
export interface ITermLoan {
    productId: mongoose.Types.ObjectId;
    loanStartDate: Date;
    initialBalance: number;
    interestRate: number;
    adminRate: number;
    primeRate: number;
    actual: boolean;
    isMismatched: boolean;
    lastCalculated: Date;
    calculationStatus: ETermLoanStatus;
}
export interface ITermLoanDoc extends ITermLoan, mongoose.Document {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface ITermLoanLean extends ITermLoan {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface ITermLoanPlain extends Omit<ITermLoan, 'productId'> {
    _id: string;
    productId: string;
}
export interface ITermLoanView extends ITermLoan {
    _id: mongoose.Types.ObjectId;
    settings: ITermLoanSettingsOnly;
}
export interface ITermLoanDoc extends ITermLoan, mongoose.Document {
}
export type TTermLoanModel = mongoose.Model<ITermLoan>;
export declare const TermLoanSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    productId: mongoose.Types.ObjectId;
    actual: boolean;
    lastCalculated: Date;
    loanStartDate: Date;
    initialBalance: number;
    interestRate: number;
    adminRate: number;
    primeRate: number;
    isMismatched: boolean;
    calculationStatus: string;
    __v?: number;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    productId: mongoose.Types.ObjectId;
    actual: boolean;
    lastCalculated: Date;
    loanStartDate: Date;
    initialBalance: number;
    interestRate: number;
    adminRate: number;
    primeRate: number;
    isMismatched: boolean;
    calculationStatus: string;
    __v?: number;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    productId: mongoose.Types.ObjectId;
    actual: boolean;
    lastCalculated: Date;
    loanStartDate: Date;
    initialBalance: number;
    interestRate: number;
    adminRate: number;
    primeRate: number;
    isMismatched: boolean;
    calculationStatus: string;
    __v?: number;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const TermLoanModel: mongoose.Model<ITermLoanDoc>;
