/// <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 dayjs from 'dayjs';
import { ILoanChargeDoc } from './LoanCharges.model';
export interface IStatementPeriod {
    start: dayjs.Dayjs;
    end: dayjs.Dayjs;
}
export declare const LOAN_STATEMENT_TRANSACTION_FIELDS: string[];
export interface ILoanStatementTransaction {
    order: number;
    date: Date;
    chargeId: mongoose.Types.ObjectId;
    amount: number;
    amountPaid?: number;
    balance?: number;
    isSystem: boolean;
    memo: string;
    settlementCode?: string;
    userId?: string;
    isEditable?: boolean;
}
export interface ILoanStatementTransactionDoc extends ILoanStatementTransaction, mongoose.Document {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface ILoanStatementTransactionLean extends ILoanStatementTransaction {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface ILoanStatementTransactionPlain extends Omit<ILoanStatementTransaction, 'chargeId'> {
    _id: string;
    chargeId: string;
}
export interface ILoanStatementTransactionWithId extends ILoanStatementTransaction {
    _id: mongoose.Types.ObjectId;
}
export interface ILoanStatementTransactionDocWithCharge extends ILoanStatementTransactionDoc {
    charge: ILoanChargeDoc;
}
export type ILoanStatementTransactionView = Omit<ILoanStatementTransactionWithId, 'order'>;
export type TLoanStatementTransactionModel = mongoose.Model<ILoanStatementTransaction>;
export declare const LoanStatementSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    date: Date;
    order: number;
    amount: number;
    chargeId: mongoose.Types.ObjectId;
    isSystem: boolean;
    __v?: number;
    amountPaid?: number;
    settlementCode?: string;
    balance?: number;
    userId?: string;
    memo?: string;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    date: Date;
    order: number;
    amount: number;
    chargeId: mongoose.Types.ObjectId;
    isSystem: boolean;
    __v?: number;
    amountPaid?: number;
    settlementCode?: string;
    balance?: number;
    userId?: string;
    memo?: string;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    date: Date;
    order: number;
    amount: number;
    chargeId: mongoose.Types.ObjectId;
    isSystem: boolean;
    __v?: number;
    amountPaid?: number;
    settlementCode?: string;
    balance?: number;
    userId?: string;
    memo?: string;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const LoanStatementTransactionModel: mongoose.Model<ILoanStatementTransactionDoc>;
