/// <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, { Model } from 'mongoose';
import { IUploadedBankTransactionWithInfo } from './UploadedBankTransaction.model';
export interface IAllocatedBankTransaction {
    _id?: mongoose.Types.ObjectId;
    order: number;
    uploadedBankTransactionId: mongoose.Types.ObjectId;
    date: Date;
    accountNumber: string;
    amount: number;
    reference: string;
    cashAllocationProductId: mongoose.Types.ObjectId;
    accounts: {
        [companyId: string]: {
            accountId1: mongoose.Types.ObjectId | 'BANK';
            accountId2: mongoose.Types.ObjectId | 'BANK';
        };
    };
    class: string;
    location: string;
    cashAllocationReferenceId: mongoose.Types.ObjectId;
    splitTransactionId: mongoose.Types.ObjectId;
    memo: string;
}
type AllocatedBankTransactionModel = Model<IAllocatedBankTransaction>;
export type PreSplitUploadedBankTransactionWithInfo = IUploadedBankTransactionWithInfo & {
    splitTransactionId: mongoose.Types.ObjectId;
    splitMemo: string;
};
export declare const AllocatedBankTransactionSchema: mongoose.Schema<IAllocatedBankTransaction, AllocatedBankTransactionModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAllocatedBankTransaction, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAllocatedBankTransaction>> & mongoose.FlatRecord<IAllocatedBankTransaction> & Required<{
    _id: mongoose.Types.ObjectId;
}>>;
export declare const AllocatedBankTransaction: AllocatedBankTransactionModel;
export {};
