/**
 * Dashboard Statistics Service (FU-305)
 *
 * Provides aggregate statistics for main objects (not deprecated records)
 */
export interface DashboardStats {
    sources_count: number;
    entities_by_type: Record<string, number>;
    total_entities: number;
    total_relationships: number;
    total_events: number;
    total_observations: number;
    total_interpretations: number;
    /**
     * Count of observations per structured identity basis (R4 telemetry).
     * Keys are values of {@link IdentityBasis} — `schema_rule`,
     * `heuristic_name`, `heuristic_fallback`, `target_id`. Observations
     * written before the identity_basis column existed appear under
     * `unclassified`.
     */
    observations_by_identity_basis: Record<string, number>;
    /**
     * Count of observations per structured identity basis for each entity_type
     * (R4 telemetry). Outer key is entity_type; inner key is basis.
     */
    observations_by_identity_basis_by_type: Record<string, Record<string, number>>;
    last_updated: string;
}
/**
 * Get dashboard statistics for main objects
 */
export declare function getDashboardStats(userId?: string): Promise<DashboardStats>;
//# sourceMappingURL=dashboard_stats.d.ts.map