export declare const AGENT_RUNTIME_IDS: { readonly pi: "pi"; readonly omp: "omp"; }; export type AgentRuntimeId = (typeof AGENT_RUNTIME_IDS)[keyof typeof AGENT_RUNTIME_IDS]; export type AgentRuntimeDriverKind = "pi-embedded" | "omp-rpc"; export declare const AGENT_RUNTIME_CAPABILITIES: { readonly prompt: "prompt"; readonly promptAttachments: "prompt-attachments"; readonly abort: "abort"; readonly stop: "stop"; readonly resume: "resume"; readonly models: "models"; readonly thinkingLevels: "thinking-levels"; readonly steering: "steering"; readonly followUp: "follow-up"; readonly clearQueue: "clear-queue"; readonly shell: "shell"; readonly commands: "commands"; readonly branching: "branching"; readonly compaction: "compaction"; readonly permissions: "permissions"; readonly subagents: "subagents"; readonly extensionUi: "extension-ui"; readonly archive: "archive"; readonly notifications: "notifications"; readonly unread: "unread"; }; export type AgentRuntimeCapability = (typeof AGENT_RUNTIME_CAPABILITIES)[keyof typeof AGENT_RUNTIME_CAPABILITIES]; export interface AgentRuntimeDescriptor { id: AgentRuntimeId; kind: AgentRuntimeDriverKind; label: string; available: boolean; command: string; profileDir: string; capabilities: AgentRuntimeCapability[]; version?: string; protocolVersion?: number; unavailableReason?: string; } export interface AgentRuntimesResponse { defaultRuntimeId: AgentRuntimeId; runtimes: AgentRuntimeDescriptor[]; } export declare function isAgentRuntimeId(value: unknown): value is AgentRuntimeId; export declare function agentRuntimeDescriptor(catalog: AgentRuntimesResponse | undefined, runtimeId: AgentRuntimeId | undefined): AgentRuntimeDescriptor | undefined; export declare function supportsAgentRuntimeCapability(catalog: AgentRuntimesResponse | undefined, runtimeId: AgentRuntimeId | undefined, capability: AgentRuntimeCapability): boolean; export declare function selectedAvailableAgentRuntimeId(catalog: AgentRuntimesResponse, selected: AgentRuntimeId | undefined): AgentRuntimeId; export declare function requireAgentRuntimeId(value: unknown, label?: string): AgentRuntimeId;