/// <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 { IReceivableItemDoc } from './ReceivableItem.model';
export interface IReceivableAvailabilityItem {
    actualDays: number;
    balanceAfterContra: number;
    balanceAfterCrossAge: number;
    balanceAfterDeduction: number;
    balanceAfterExclusion: number;
    balanceAfterPartially: number;
    bucket30: number;
    bucket60: number;
    bucketCurrent: number;
    contra: number;
    contraDeduction: number;
    creditNotes: number;
    crossAge: number;
    crossAgeDeduction: number;
    customer: string;
    customerConcentration: number;
    customerGroup: string;
    customerGroupId: mongoose.Types.ObjectId;
    customerTitle: string;
    deduction: number;
    deductionPercent: number;
    excludedCustomer: boolean;
    excludedCustomerDeduction: number;
    finalResult: number;
    grossAR: number;
    insuredComponent: number;
    invoiceAmount: number;
    invoiceDate: Date;
    invoiceId: string;
    invoiceNumber: string;
    order?: number;
    partiallyPaidDeduction: number;
    partiallyPaidDifference: boolean;
    permitted60: number;
    permittedCustomerConcentration: number;
    permittedDays: number;
    permittedOver: number;
    preliminaryEligibleBalance: number;
    uninsuredComponent: number;
    waivedDeduction: number;
}
export interface IReceivableAvailabilityItemDoc extends IReceivableAvailabilityItem, Document {
}
export interface IReceivableAvailabilityItemView extends IReceivableAvailabilityItem {
    invoice: IReceivableItemDoc;
}
export declare const ReceivableAvailabilityItemSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    order: number;
    invoiceId: mongoose.Types.ObjectId;
    availabilityId: mongoose.Types.ObjectId;
    __v?: number;
    grossAR?: number;
    crossAge?: number;
    balanceAfterCrossAge?: number;
    balanceAfterPartially?: number;
    permittedOver?: number;
    balanceAfterExclusion?: number;
    customerConcentration?: number;
    permittedCustomerConcentration?: number;
    creditNotes?: number;
    excludedCustomerDeduction?: number;
    deduction?: number;
    partiallyPaidDeduction?: number;
    contraDeduction?: number;
    crossAgeDeduction?: number;
    waivedDeduction?: number;
    actualDays?: number;
    balanceAfterContra?: number;
    balanceAfterDeduction?: number;
    bucket30?: number;
    bucket60?: number;
    bucketCurrent?: number;
    contra?: number;
    customerGroupId?: mongoose.Types.ObjectId;
    deductionPercent?: number;
    excludedCustomer?: boolean;
    finalResult?: number;
    insuredComponent?: number;
    partiallyPaidDifference?: boolean;
    permitted60?: number;
    permittedDays?: number;
    preliminaryEligibleBalance?: number;
    uninsuredComponent?: number;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    order: number;
    invoiceId: mongoose.Types.ObjectId;
    availabilityId: mongoose.Types.ObjectId;
    __v?: number;
    grossAR?: number;
    crossAge?: number;
    balanceAfterCrossAge?: number;
    balanceAfterPartially?: number;
    permittedOver?: number;
    balanceAfterExclusion?: number;
    customerConcentration?: number;
    permittedCustomerConcentration?: number;
    creditNotes?: number;
    excludedCustomerDeduction?: number;
    deduction?: number;
    partiallyPaidDeduction?: number;
    contraDeduction?: number;
    crossAgeDeduction?: number;
    waivedDeduction?: number;
    actualDays?: number;
    balanceAfterContra?: number;
    balanceAfterDeduction?: number;
    bucket30?: number;
    bucket60?: number;
    bucketCurrent?: number;
    contra?: number;
    customerGroupId?: mongoose.Types.ObjectId;
    deductionPercent?: number;
    excludedCustomer?: boolean;
    finalResult?: number;
    insuredComponent?: number;
    partiallyPaidDifference?: boolean;
    permitted60?: number;
    permittedDays?: number;
    preliminaryEligibleBalance?: number;
    uninsuredComponent?: number;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    order: number;
    invoiceId: mongoose.Types.ObjectId;
    availabilityId: mongoose.Types.ObjectId;
    __v?: number;
    grossAR?: number;
    crossAge?: number;
    balanceAfterCrossAge?: number;
    balanceAfterPartially?: number;
    permittedOver?: number;
    balanceAfterExclusion?: number;
    customerConcentration?: number;
    permittedCustomerConcentration?: number;
    creditNotes?: number;
    excludedCustomerDeduction?: number;
    deduction?: number;
    partiallyPaidDeduction?: number;
    contraDeduction?: number;
    crossAgeDeduction?: number;
    waivedDeduction?: number;
    actualDays?: number;
    balanceAfterContra?: number;
    balanceAfterDeduction?: number;
    bucket30?: number;
    bucket60?: number;
    bucketCurrent?: number;
    contra?: number;
    customerGroupId?: mongoose.Types.ObjectId;
    deductionPercent?: number;
    excludedCustomer?: boolean;
    finalResult?: number;
    insuredComponent?: number;
    partiallyPaidDifference?: boolean;
    permitted60?: number;
    permittedDays?: number;
    preliminaryEligibleBalance?: number;
    uninsuredComponent?: number;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const ReceivableAvailabilityItemModel: mongoose.Model<IReceivableAvailabilityItemDoc, {}, {}, {}, mongoose.Document<unknown, {}, IReceivableAvailabilityItemDoc> & IReceivableAvailabilityItemDoc & {
    _id: mongoose.Types.ObjectId;
}, any>;
