import { buildIndicatorKpiPayload } from "./indicatorKpis.js";
import { fetchAttendanceDailySeries } from "./attendanceDailySeries.js";
import { type RosterInsightsItem } from "./rosterInsights.js";
import type { ProjectScope } from "./scopePolicy.js";
export type DashboardProviderItem = {
    id: string;
    tpCode: string;
    name: string;
};
export type DashboardSubmissionItem = {
    id: string;
    activityCode: string;
    activityName: string;
    trainingProviderId: string;
    tpCode: string;
    tpName: string;
    status: string;
    submittedAt: string | null;
};
export type DashboardPayload = {
    cached: boolean;
    providers: {
        items: DashboardProviderItem[];
    };
    indicatorKpis: Awaited<ReturnType<typeof buildIndicatorKpiPayload>>;
    attendance: {
        project: {
            present: number;
            possible: number;
            ratePct: number;
        };
        items: Array<{
            tpId: string;
            present: number;
            possible: number;
            ratePct: number;
        }>;
    };
    attendanceDaily: {
        items: Awaited<ReturnType<typeof fetchAttendanceDailySeries>>;
    };
    submissions: {
        items: DashboardSubmissionItem[];
    };
    rosterInsights: {
        item: RosterInsightsItem;
    };
};
export declare function buildDashboardPayload(opts: {
    projectId: bigint;
    userId: bigint;
    scope: ProjectScope;
    trainingProviderId?: bigint;
    dailyLimit?: number;
}): Promise<DashboardPayload>;
//# sourceMappingURL=dashboardPayload.d.ts.map