export type DashboardStats = {
    overdue: number;
    dueThisWeek: number;
    enAttenteClient: number;
    enCours: number;
};

export type DashboardDeclaration = {
    id: number;
    title: string;
    type: string;
    typeLabel: string;
    clientName: string;
    assigneeName: string | null;
    status: string;
    statusLabel: string;
    dueDate: string | null;
    showUrl: string;
};

export type StatCardLink = {
    label: string;
    count: number;
    status: 'danger' | 'warning' | 'info' | 'success';
    href: string;
};

export type DashboardProps = {
    stats: DashboardStats | null;
    statCards: StatCardLink[];
    declarations: DashboardDeclaration[];
    workspaceName: string | null;
    roleLabel: string | null;
    declarationsUrl: string | null;
    clientsUrl: string | null;
};
