import type { ProxyCallRecord } from '../types.js';
import type { PolicyRule } from '../policy/policy-types.js';
export type CircuitStateLabel = 'closed' | 'open' | 'half_open';
export declare function resolvePolicyPath(): string | null;
export declare function computeCostTrend(records: ProxyCallRecord[]): 'increasing' | 'decreasing' | 'flat';
export declare function parseCircuitBreakerMetrics(body: string): Map<string, CircuitStateLabel>;
export declare function fetchCircuitBreakerStates(): Promise<Map<string, CircuitStateLabel>>;
export interface PolicySnapshot {
    mode: string;
    activeRules: number;
    rules: PolicyRule[];
    autoGeneratedRules: string[];
    policyPath: string | null;
}
export declare function loadPolicySnapshot(): PolicySnapshot;
export interface DashboardMetrics {
    totalRequests?: number;
    blockedRequests?: number;
    totalCost?: number;
    avgLatencyMs?: number;
    passRate?: number;
}
export declare function fetchDashboardMetrics(baseUrl: string): Promise<DashboardMetrics | null>;
//# sourceMappingURL=tui-sources.d.ts.map