import { Colors } from '@parlor/ui';
import { ReportDataType } from '@parlor/ui/charts/engagement-report-chart.tsx';
type baseGraphsType<T> = {
    color?: Colors;
    label: T;
    report: any[];
    total?: number;
}[];
type baseBarGraphsType<T> = {
    color?: Colors;
    data: any[];
    label: T;
    total?: number;
}[];
type lineGraphsGroups<T> = {
    graphData: baseGraphsType<T>;
};
type barGraphsGroup<T> = {
    graphData: baseBarGraphsType<T>;
};
export type ICSMReportData = {
    atRiskOpenRenewal: {
        [x: string]: number;
    };
    churnScore: {
        percentages: baseGraphsType<'Current'>;
        values: baseGraphsType<'Current'>;
    };
    coreAdoption: lineGraphsGroups<'Database' | 'Coverage' | 'Analytics' | 'Newsletter & Alerts' | 'C3 Impact' | 'Admin & Settings' | 'Social Listening'>;
    counts: {
        activeAccounts: number;
        atRisk: number;
        churnScore: {
            high: number;
            low: number;
            medium: number;
        };
        churned: number;
        closedLoopInReview: number;
        closedLoopSent: number;
        leadPasses: {
            closed: number;
            opened: number;
        };
        npsCategories: {
            detractor: number;
            passive: number;
            promoter: number;
        };
        npsScore: number;
        openTickets: number;
        platformBreakdown: {
            c3: {
                revenue: number;
                volume: number;
            };
            cpre: {
                revenue: number;
                volume: number;
            };
            ngc3: {
                revenue: number;
                volume: number;
            };
        };
        renewable: number;
        renewed: number;
        successPlanCompleted: number;
        successPlansFailed: number;
        successPlansInProgress: number;
        totalNPSResponses: number;
        totalRevenue: number;
    };
    engagementOverTime: {
        graphData: ReportDataType;
    };
    nextGenAdoption: lineGraphsGroups<'Connect' | 'Coverage' | 'Dashboards' | 'Reports' | 'Social Listening' | 'Newsletters & Alerts' | 'Impact' | 'Admins & Settings'>;
    renewalByMonth: barGraphsGroup<'Renewed' | 'Renewables' | 'Churned'>;
    renewalByWeek: barGraphsGroup<'Renewed' | 'Renewables' | 'Churned'>;
};
export {};
