/**
 * System State Intelligence Model
 * Phase 5: UI-Driven Architecture Lock-In
 *
 * This is the authoritative system intelligence model.
 * The UI reads from this, never computes values itself.
 *
 * Architecture:
 * Runtime State (AppState) → System Intelligence (SystemState) → UI Rendering
 *
 * The 5 mandatory intelligence surfaces are:
 * 1. system_posture
 * 2. network_context
 * 3. asset_registry_summary
 * 4. operation_feed
 * 5. capability_flags
 */
import type { AppState } from './store.js';
import type { SystemPosture, NetworkAwareness, AssetOverview, OperationEvent, CapabilityReadiness } from './models.js';
/**
 * SystemState: The complete intelligence model
 * Queryable, composable, versionable
 */
export interface SystemState {
    systemPosture: SystemPosture;
    networkContext: NetworkAwareness;
    assetRegistrySummary: AssetOverview;
    operationFeed: OperationEvent[];
    capabilityFlags: CapabilityReadiness;
    computedAt: number;
    version: number;
}
/**
 * System State Provider
 * Computes SystemState from AppState
 * This is the single source of truth for intelligence data
 */
export declare class SystemStateProvider {
    private cachedState;
    private lastAppStateVersion;
    private appStateVersion;
    /**
     * Compute system posture from app state
     * Phase 5: Centralized, deterministic computation
     */
    private computeSystemPosture;
    /**
     * Compute network context from app state
     * Phase 5: Spatial and infrastructural awareness
     */
    private computeNetworkContext;
    /**
     * Extract region from URL (simplified)
     */
    private extractRegionFromUrl;
    /**
     * Compute asset registry summary
     * Phase 5: Deployed intelligence surface
     */
    private computeAssetRegistrySummary;
    /**
     * Get operation feed
     * Phase 5: Living operational pulse
     */
    private getOperationFeed;
    /**
     * Compute capability flags
     * Phase 5: What the system is capable of right now
     */
    private computeCapabilityFlags;
    /**
     * Compute complete SystemState from AppState
     * This is the single computation point
     */
    compute(state: AppState): SystemState;
    /**
     * Get cached state if available and valid
     * Otherwise compute fresh
     */
    get(state: AppState, forceRefresh?: boolean): SystemState;
    /**
     * Invalidate cache (call when state changes)
     */
    invalidate(): void;
}
/**
 * Global system state provider instance
 * Single source of truth for intelligence data
 */
export declare const systemStateProvider: SystemStateProvider;
/**
 * Get current system state
 * This is what the UI reads from
 */
export declare function getSystemState(state: AppState, forceRefresh?: boolean): SystemState;
//# sourceMappingURL=system-state.d.ts.map