export interface DashboardStats {
    guilds: {
        count: number;
        changeFromLastMonth?: number;
    };
    users: {
        active: number;
        total: number;
        changePercentFromLastMonth?: number;
    };
    commands: {
        total: number;
        changePercentFromLastMonth?: number;
    };
    ping: {
        avg: number;
        changeFromLastHour?: number;
    };
    economy: {
        totalWealth: string; // bigint as string for JSON
        avgLevel: number;
        topStreak: number;
    };
    recentEvents: RecentEvent[];
}

export interface RecentEvent {
    type: 'success' | 'error' | 'info';
    message: string;
    timestamp: Date;
    icon?: string;
}

export interface ClientStats {
    guilds: number;
    ping: number;
    cachedUsers: number;
    commandsRegistered: number;
    uptime: number;
    lastCommandTimestamp: number | null;
}
