/// <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, { Document, Model } from 'mongoose';
export interface IBank {
    isDeleted?: boolean;
    active: boolean;
    order: number;
    bankAccountNumber: string;
    name: string;
    ledgerAccountCodes: {
        [companyId: string]: mongoose.Types.ObjectId;
    };
    reportSettings?: {
        consolidatedAllAccounts?: boolean;
    };
}
export interface IBankWithId extends IBank {
    _id: mongoose.Types.ObjectId;
}
export interface IBankDoc extends IBank, Document {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface IBankLean extends IBank {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface IBankPlain extends Omit<IBank, 'ledgerAccountCodes'> {
    _id: string;
    createdAt: Date;
    updatedAt: Date;
    ledgerAccountCodes: {
        [companyId: string]: string;
    };
}
export type IBankView = Omit<IBankWithId, 'order'>;
export type IBankModel = Model<IBank>;
export declare const BankSchema: mongoose.Schema<IBank, IBankModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IBank, mongoose.Document<unknown, {}, mongoose.FlatRecord<IBank>> & mongoose.FlatRecord<IBank> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const Bank: IBankModel;
