/// <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';
import { ECollaterals } from '../enums/collaterals.enum';
export interface ICollateralAdjustmentSummaryItem {
    amount: number;
}
export interface ICollateralAdjustmentSummary {
    [summaryField: string]: ICollateralAdjustmentSummaryItem;
}
export interface ICollateralAdjustmentItem {
    active: boolean;
    name: string;
    type: allowedCollateralTypes;
    amount: number;
}
export interface ICollateralAdjustment {
    bbcDateId: mongoose.Types.ObjectId;
    summary: ICollateralAdjustmentSummary;
    items: ICollateralAdjustmentItem[];
    notes: string;
}
export interface ICollateralAdjustmentDoc extends ICollateralAdjustment, Document {
}
type allowedCollateralTypes = ECollaterals.RECEIVABLE | ECollaterals.INVENTORY | ECollaterals.OTHER;
export declare const allowedCollateralTypeValues: Array<keyof typeof ECollaterals>;
type CollateralAdjustmentModel = Model<ICollateralAdjustment, {}, {}>;
export declare const CollateralAdjustmentSchema: mongoose.Schema<ICollateralAdjustment, CollateralAdjustmentModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ICollateralAdjustment, mongoose.Document<unknown, {}, mongoose.FlatRecord<ICollateralAdjustment>> & mongoose.FlatRecord<ICollateralAdjustment> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const CollateralAdjustment: CollateralAdjustmentModel;
export {};
