/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/types" />
/// <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 IReceivablesItem {
    bbcDate: Date;
    invoiceDate: Date;
    invoiceNumber: string;
    customerTitle: string;
    dueDate: number;
    invoiceAmount: number;
    originalAmount: number;
    invoiceDetail1: string;
    invoiceDetail2: string;
    invoiceDetail3: string;
}
export interface IReceivable {
    borrowerId: string;
    bbcDate: Date;
    uploadUser: string;
    fileHash: string;
    fileName: string;
    sheetName: string;
    invoices: IReceivablesItem[];
}
export interface IReceivableDocument extends IReceivable, Document {
}
export declare const ReceivableSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
    timestamps: true;
}, {
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    borrowerId: string;
    bbcDate: Date;
    invoices: mongoose.Types.DocumentArray<{
        bbcDate: Date;
        invoiceDate: Date;
        invoiceNumber: string;
        customerTitle: string;
        invoiceAmount: number;
        dueDate?: Date;
        originalAmount?: number;
        invoiceDetail1?: string;
        invoiceDetail2?: string;
        invoiceDetail3?: string;
    }>;
    __v?: number;
    uploadUser?: string;
    fileHash?: string;
    fileName?: string;
    sheetName?: string;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    borrowerId: string;
    bbcDate: Date;
    invoices: mongoose.Types.DocumentArray<{
        bbcDate: Date;
        invoiceDate: Date;
        invoiceNumber: string;
        customerTitle: string;
        invoiceAmount: number;
        dueDate?: Date;
        originalAmount?: number;
        invoiceDetail1?: string;
        invoiceDetail2?: string;
        invoiceDetail3?: string;
    }>;
    __v?: number;
    uploadUser?: string;
    fileHash?: string;
    fileName?: string;
    sheetName?: string;
}>> & mongoose.FlatRecord<{
    createdAt: NativeDate;
    updatedAt: NativeDate;
} & {
    borrowerId: string;
    bbcDate: Date;
    invoices: mongoose.Types.DocumentArray<{
        bbcDate: Date;
        invoiceDate: Date;
        invoiceNumber: string;
        customerTitle: string;
        invoiceAmount: number;
        dueDate?: Date;
        originalAmount?: number;
        invoiceDetail1?: string;
        invoiceDetail2?: string;
        invoiceDetail3?: string;
    }>;
    __v?: number;
    uploadUser?: string;
    fileHash?: string;
    fileName?: string;
    sheetName?: string;
}> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const ReceivableModel: mongoose.Model<IReceivableDocument>;
