/// <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';
export declare enum ETableNames {
    HIGH_LEVEL = "HIGH_LEVEL",
    HIGH_LEVEL_APPROVED = "HIGH_LEVEL_APPROVED",
    COMPLIANCE_ITEMS = "COMPLIANCE_ITEMS",
    TOP_5_SKUS = "TOP_5_SKUS",
    LAST_5_DAYS_TRANSACTIONS = "LAST_5_DAYS_TRANSACTIONS",
    INVENTORY_TURN = "INVENTORY_TURN",
    TOP_5_CUSTOMERS_CONCENTRATION = "TOP_5_CUSTOMERS_CONCENTRATION",
    AGED_OUT_CUSTOMERS = "AGED_OUT_CUSTOMERS"
}
export type IBorrowerSummaryTableData = {
    [key in ETableNames]: {
        title: string;
        data: string[][];
    };
};
export declare enum EChartNames {
    LAST_6_MONTH = "LAST_6_MONTH"
}
export type IBorrowerSummaryChartData = {
    [key in EChartNames]: {
        series: {
            type: string;
            xKey: string;
            yKey: string;
            yName: string;
        }[];
        data: {
            bbc: string;
            revolverCollateralTotal: number;
            revolverLoanBalance: number;
        }[];
    };
};
export interface IBorrowerSummary {
    borrowerId: mongoose.Types.ObjectId;
    lastCalculatedAt: Date;
    tableData: IBorrowerSummaryTableData;
    chartData: IBorrowerSummaryChartData;
}
export interface IBorrowerSummaryDoc extends IBorrowerSummary, Document {
}
type BorrowerSummaryModel = Model<IBorrowerSummary, {}, {}>;
export declare const BorrowerSummarySchema: mongoose.Schema<IBorrowerSummary, BorrowerSummaryModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IBorrowerSummary, mongoose.Document<unknown, {}, mongoose.FlatRecord<IBorrowerSummary>> & mongoose.FlatRecord<IBorrowerSummary> & {
    _id: mongoose.Types.ObjectId;
}>;
export declare const BorrowerSummary: BorrowerSummaryModel;
export {};
