import type { AdminMemberRow } from '$lib/types/langganan';

export interface BackofficeDashboardStats {
	totalMember: number;
	memberBaruBulan: number;
	totalWarung: number;
	warungPublik: number;
	langgananAktif: number;
	transaksiBulanIni: number;
	estimasiMrr: number;
}

export interface PaketDistribusi {
	kode: string;
	nama: string;
	jumlah: number;
	persen: number;
}

export interface BackofficeDashboard {
	stats: BackofficeDashboardStats;
	paketDistribusi: PaketDistribusi[];
	members: AdminMemberRow[];
}
