import { Panel } from '@/components/ui/Panel'; import { cn } from '@/utils/classNames'; import { formatNumber } from '@/utils/format'; export interface CatalogueStatsProps { readonly totalCount: number; readonly filteredCount: number; readonly favouriteCount: number; readonly coreCount: number; readonly stretchCount: number; } function StatCard({ label, tone = 'accent', value }: { readonly label: string; readonly value: number | string; readonly tone?: 'accent' | 'warm' | 'success'; }) { return (