/// <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';
export declare enum EComplianceItemStatus {
    NEW = "NEW",
    ACCEPTED = "ACCEPTED",
    REJECTED = "REJECTED",
    IN_REVIEW = "IN_REVIEW"
}
export interface IEmailRecipient {
    email: string;
    title?: string;
    isActive: boolean;
}
export interface IEmailRecipientLean extends IEmailRecipient {
    _id?: mongoose.Types.ObjectId;
}
export interface IEmailRecipientDocument extends IEmailRecipient, Document {
}
export interface IComplianceItem {
    name: string;
    importanceScore: number;
    notificationDays: number;
    multiplier: number;
}
export interface IBorrowerItem {
    item: IComplianceItemDocument;
    startDate: Date;
    frequency: string;
    instances: IBorrowerItemInstanceDocument[];
    emailAddresses: IEmailRecipientDocument[];
}
export interface IComplianceFile {
    _id?: string;
    fileId: string;
    name: string;
    isFileNew?: boolean;
    uploadedAt?: Date;
    uploadedBy?: string;
}
export interface IBorrowerItemInstance {
    nextDate: Date;
    submittedDate: Date;
    status: EComplianceItemStatus;
    files?: IComplianceFile[];
}
export interface IBorrowerItemInstanceLean extends IBorrowerItemInstance {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
}
export interface IBorrowerItemInstanceDocument extends IBorrowerItemInstance, Document {
}
export interface IComplianceItemDocument extends IComplianceItem, Document {
}
export interface IBorrowerItemDocument extends IBorrowerItem, Document {
}
export interface IBorrowerItemLean extends Omit<IBorrowerItem, 'instances' | 'emailAddresses'> {
    _id: mongoose.Types.ObjectId;
    createdAt: Date;
    updatedAt: Date;
    instances: IBorrowerItemInstanceLean[];
    emailAddresses: IEmailRecipientLean[];
}
export declare const ComplianceItemSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    name: string;
    importanceScore: number;
    notificationDays: number;
    multiplier: number;
    __v?: number;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    name: string;
    importanceScore: number;
    notificationDays: number;
    multiplier: number;
    __v?: number;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    name: string;
    importanceScore: number;
    notificationDays: number;
    multiplier: number;
    __v?: number;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const ComplianceItemModel: mongoose.Model<IComplianceItemDocument>;
