/// <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, { Document } from 'mongoose';
import Joi from 'joi';
export declare const LoanBrokerValidationSchema: Joi.ObjectSchema<any>;
export interface ILoanBrokerEmail {
    _id?: mongoose.Types.ObjectId | string;
    email: string;
    title: string;
    isActive: boolean;
}
export interface ILoanBroker {
    order: number;
    active: boolean;
    name: string;
    emails: ILoanBrokerEmail[];
}
export interface ILoanBrokerWithId extends ILoanBroker {
    _id: mongoose.Types.ObjectId;
}
export type ILoanBrokerView = Omit<ILoanBrokerWithId, 'order'>;
export interface ILoanBrokerDoc extends ILoanBroker, Document {
}
export declare const LoanBrokerSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    name: string;
    order: number;
    active: boolean;
    emails: mongoose.Types.DocumentArray<{
        email: string;
        title: string;
        isActive: boolean;
    }>;
    __v?: number;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    name: string;
    order: number;
    active: boolean;
    emails: mongoose.Types.DocumentArray<{
        email: string;
        title: string;
        isActive: boolean;
    }>;
    __v?: number;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    name: string;
    order: number;
    active: boolean;
    emails: mongoose.Types.DocumentArray<{
        email: string;
        title: string;
        isActive: boolean;
    }>;
    __v?: number;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const LoanBrokerModel: mongoose.Model<ILoanBrokerDoc>;
