/// <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, { Model, Document } from 'mongoose';
import Joi from 'joi';
export interface ICRMProspectLink {
    prospectId: mongoose.Types.ObjectId;
    auditorLinks: Map<string, mongoose.Types.ObjectId>;
    clientLinkId: string;
}
export interface ICRMProspectLinkDoc extends Document {
    prospectId: mongoose.Types.ObjectId;
    auditorLinks: Map<string, mongoose.Types.ObjectId>;
    clientLinkId: string;
}
export interface ICRMProspectLinkWithId extends ICRMProspectLink {
    _id: string;
}
export interface ICRMProspectLinkWithPureLinks extends ICRMProspectLinkWithId {
    pureLinks: {
        auditorLinks: {
            [auditorTitle: string]: string;
        };
        clientLink: string;
    };
}
export declare const ICRMProspectLinkValidationSchema: Joi.ObjectSchema<any>;
export type CRMProspectLinkModel = Model<ICRMProspectLink, object, object>;
export declare const ProspectLinkSchema: mongoose.Schema<ICRMProspectLink, CRMProspectLinkModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ICRMProspectLink, mongoose.Document<unknown, {}, mongoose.FlatRecord<ICRMProspectLink>> & mongoose.FlatRecord<ICRMProspectLink> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const CRMProspectLink: CRMProspectLinkModel;
