/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/schemaoptions" />
/// <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 IBankIntegrationAccount {
    integrationId: mongoose.Types.ObjectId;
    externalAccountId: string;
    name: string;
    accountNumber: string;
    accountType: string;
    currency: string;
    rawPayload: string;
    lastSyncAt: Date;
    currentBalance: number;
}
export type TBankIntegrationAccountCreate = Omit<IBankIntegrationAccount, 'integrationId'> & {
    integrationId: string;
};
export interface IBankIntegrationAccountDoc extends IBankIntegrationAccount, mongoose.Document {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface IBankIntegrationAccountLean extends IBankIntegrationAccount {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface IBankIntegrationAccountPlain extends Omit<IBankIntegrationAccount, 'integrationId'> {
    _id: string;
    integrationId: string;
    createdAt: Date;
    updatedAt: Date;
}
export type TBankIntegrationAccountModel = mongoose.Model<IBankIntegrationAccount>;
export declare const BankIntegrationAccountSchema: mongoose.Schema<IBankIntegrationAccount, TBankIntegrationAccountModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IBankIntegrationAccount, mongoose.Document<unknown, {}, mongoose.FlatRecord<IBankIntegrationAccount>> & mongoose.FlatRecord<IBankIntegrationAccount> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const BankIntegrationAccount: TBankIntegrationAccountModel;
