/**
 * OMK Chat Cockpit — telemetry/state aggregation.
 */
import type { CockpitRailModel } from "../../cockpit/types.js";
import { type RunViewModel } from "../../util/run-view-model.js";
import type { RunState } from "../../contracts/orchestration.js";
import { type UsageStats } from "../../kimi/usage.js";
import { type TodoItem } from "../../util/todo-sync.js";
import { type SessionMeta } from "../../util/session.js";
import { type TelemetryEvent } from "../../util/events-logger.js";
import { getSystemUsage } from "../../util/theme.js";
import { type CockpitDashboardSnapshot, type CockpitDeepSeekRunUsage, type CockpitDeepSeekRequest, type CockpitResourceSnapshot, type CockpitDeepSeekSnapshot } from "./utils.js";
export declare function parseHarnessRuntimeContract(value: unknown): CockpitDashboardSnapshot["runtimeContract"];
export declare function buildCockpitSnapshot(vm: RunViewModel, todos: TodoItem[] | null, primaryUsage: UsageStats | null, resources: CockpitResourceSnapshot | null, deepSeek: CockpitDeepSeekSnapshot | null, deepSeekUsage: CockpitDeepSeekRunUsage, deepSeekRequests: CockpitDeepSeekRequest[], sysUsage: ReturnType<typeof getSystemUsage> | null, gitChanges: {
    status: string;
    path: string;
}[], sessionMeta: SessionMeta | null, stateError: RunViewModel["stateError"], latestRunName: string | null): Promise<CockpitDashboardSnapshot>;
export declare function buildRailModel(snapshot: CockpitDashboardSnapshot, numstat: Map<string, {
    added: number | null;
    deleted: number | null;
}>, lspEntries: Array<{
    name: string;
    status: "connected" | "disabled" | "failed" | "unknown";
}>, branch: string | undefined, root: string, _primaryUsage: UsageStats | null, tokenBurn?: {
    inputTokens: number;
    outputTokens: number;
    totalTokens: number;
}): CockpitRailModel;
export declare function computeDeepSeekRunUsage(state: RunState | null): CockpitDeepSeekRunUsage;
export declare function computeDeepSeekRequests(events: TelemetryEvent[]): CockpitDeepSeekRequest[];
