/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/schemaoptions" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/document" />
/// <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 ISplitTransaction {
    _id?: mongoose.Types.ObjectId;
    reference: string;
    referenceId: mongoose.Types.ObjectId;
    memo: string;
    amount: number;
}
export interface IUploadedBankTransaction {
    _id?: mongoose.Types.ObjectId;
    order: number;
    date: Date;
    accountNumber?: string;
    amount: number;
    transactionType?: string;
    reference: string;
    detail1?: string;
    detail2?: string;
    detail3?: string;
    credit?: number;
    debit?: number;
    isConverted: boolean;
    loanTransactionIds?: mongoose.Types.ObjectId[];
    splitTransactions: ISplitTransaction[];
    bankIntegrationTransactionId?: mongoose.Types.ObjectId;
}
export type IUploadedBankTransactionDoc = mongoose.HydratedDocument<IUploadedBankTransaction>;
export interface IUploadedBankTransactionWithMemo extends IUploadedBankTransaction {
    splitMemo: string;
}
export interface IUploadedBankTransactionWithInfo extends IUploadedBankTransaction {
    hasMatch: boolean;
    canSplit: boolean;
}
export interface IUploadedBankTransactionLean extends IUploadedBankTransaction {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface IUploadedBankTransactionPlain extends Omit<IUploadedBankTransaction, '_id' | 'loanTransactionIds' | 'bankIntegrationTransactionId'> {
    _id: string;
    loanTransactionIds: string[];
    bankIntegrationTransactionId: string;
}
type UploadedBankTransactionModel = mongoose.Model<IUploadedBankTransaction>;
export declare const UploadedBankTransactionSchema: mongoose.Schema<IUploadedBankTransaction, UploadedBankTransactionModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IUploadedBankTransaction, mongoose.Document<unknown, {}, mongoose.FlatRecord<IUploadedBankTransaction>> & mongoose.FlatRecord<IUploadedBankTransaction> & Required<{
    _id: mongoose.Types.ObjectId;
}>>;
export declare const UploadedBankTransaction: UploadedBankTransactionModel;
export {};
