/// <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 interface IEquipmentSummaryItem {
    amount: number;
    advanceRate: number;
    availability: number;
}
export interface IEquipmentSummary {
    [summaryField: string]: IEquipmentSummaryItem;
}
export interface IEquipmentItem {
    active: boolean;
    inventoryName: string;
    type: string;
    amount: number;
    advanceRate: number;
    productId: mongoose.Types.ObjectId;
}
export interface IEquipment {
    borrowerId: mongoose.Types.ObjectId;
    date: Date;
    items: IEquipmentItem[];
    summary: IEquipmentSummary;
}
export interface IEquipmentDoc extends IEquipment, Document {
}
export declare const EquipmentSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    borrowerId: mongoose.Types.ObjectId;
    items: mongoose.Types.DocumentArray<{
        type: string;
        amount: number;
        active: boolean;
        inventoryName: string;
        productId?: {
            prototype?: mongoose.Types.ObjectId;
            cacheHexString?: unknown;
            generate?: {};
            createFromTime?: {};
            createFromHexString?: {};
            createFromBase64?: {};
            isValid?: {};
        };
        advanceRate?: number;
    }>;
    date: Date;
    __v?: number;
    summary?: {
        EQUIPMENT?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        INTELLECTUAL_PROPERTY?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        REAL_ESTATE?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        BOOT_COLLATERAL?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        netTotal?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        grossTotal?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
    };
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    borrowerId: mongoose.Types.ObjectId;
    items: mongoose.Types.DocumentArray<{
        type: string;
        amount: number;
        active: boolean;
        inventoryName: string;
        productId?: {
            prototype?: mongoose.Types.ObjectId;
            cacheHexString?: unknown;
            generate?: {};
            createFromTime?: {};
            createFromHexString?: {};
            createFromBase64?: {};
            isValid?: {};
        };
        advanceRate?: number;
    }>;
    date: Date;
    __v?: number;
    summary?: {
        EQUIPMENT?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        INTELLECTUAL_PROPERTY?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        REAL_ESTATE?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        BOOT_COLLATERAL?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        netTotal?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        grossTotal?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
    };
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    borrowerId: mongoose.Types.ObjectId;
    items: mongoose.Types.DocumentArray<{
        type: string;
        amount: number;
        active: boolean;
        inventoryName: string;
        productId?: {
            prototype?: mongoose.Types.ObjectId;
            cacheHexString?: unknown;
            generate?: {};
            createFromTime?: {};
            createFromHexString?: {};
            createFromBase64?: {};
            isValid?: {};
        };
        advanceRate?: number;
    }>;
    date: Date;
    __v?: number;
    summary?: {
        EQUIPMENT?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        INTELLECTUAL_PROPERTY?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        REAL_ESTATE?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        BOOT_COLLATERAL?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        netTotal?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
        grossTotal?: {
            amount: number;
            advanceRate: number;
            availability: number;
        };
    };
}> & {
    _id: mongoose.Types.ObjectId;
}>;
declare const _default: mongoose.Model<IEquipmentDoc, {}, {}, {}, mongoose.Document<unknown, {}, IEquipmentDoc> & IEquipmentDoc & {
    _id: mongoose.Types.ObjectId;
}, any>;
export default _default;
