import type { Event } from "@opencode-ai/sdk"; type SessionKind = "main" | "subagent" | "unknown"; export type RuntimeInjectionSurface = "idle-continuation" | "intent-workflow" | "java-role-discovery" | "model-input" | "ralph-loop" | "system-constitution" | "target-file" | "text-continuation"; type SessionClassification = { readonly kind: SessionKind; readonly parentID: string | null; readonly state: "classified" | "unclassified"; }; type RuntimeSessionRegistryOptions = { readonly multiAgentEnabled: boolean; readonly projectDir: string; readonly runtimeInjectionEnabled: boolean; }; export declare class RuntimeSessionRegistry { private readonly options; private readonly sessions; constructor(options: RuntimeSessionRegistryOptions); observeEvent(event: Event): void; classification(sessionID: string): SessionClassification; allowsRuntimeInjection(sessionID: string | undefined, surface: RuntimeInjectionSurface): boolean; allowsMainSession(sessionID: string | undefined, surface: RuntimeInjectionSurface): boolean; allowsUtterance(sessionID: string | undefined, surface: RuntimeInjectionSurface): boolean; private recordSkip; } export {};