/**
 * StatsView Component
 *
 * Dashboard view for plugin statistics and health metrics.
 *
 * @since v1.23.0
 */
import type React from 'react';
import type { HealthFactors, RecentError, ServerStats, SourceStats, UpdateEvent } from '../../core/stats/index.js';
import type { Tier } from '../../core/types/auth.js';
export interface StatsViewProps {
    /** Server-wide statistics */
    serverStats: ServerStats;
    /** Per-source statistics */
    sourceStats: SourceStats[];
    /** Recent update events */
    recentUpdates: Array<UpdateEvent & {
        pluginName: string;
    }>;
    /** Recent errors */
    recentErrors: RecentError[];
    /** Health score factors */
    healthFactors: HealthFactors;
    /** Maximum height for the view */
    maxHeight?: number;
    /** Whether input is enabled */
    inputEnabled?: boolean;
    /** User's subscription tier (for premium features) */
    tier?: Tier;
    /** Called when user presses 'r' to refresh stats (v2.2.7) */
    onRefresh?: () => void;
}
/**
 * StatsView - Plugin Statistics Dashboard
 */
export declare function StatsView({ serverStats, sourceStats, recentUpdates, recentErrors, healthFactors, maxHeight, tier }: StatsViewProps): React.ReactElement;
export default StatsView;
//# sourceMappingURL=StatsView.d.ts.map