import type { CreatedHooks } from "../../hooks/create-hooks"; import type { PluginContext } from "../../plugin/types"; import type { SessionTracker } from "../../features/analytics"; import type { RuntimeEffect } from "./effects"; import type { RuntimeLifecyclePolicySurface } from "../../application/orchestration/session-runtime"; import type { TrustedInjectedPromptKind } from "./trusted-message-state"; export interface EventRouterState { lastAssistantMessageText: Map; lastUserMessageText: Map; lastUserMessageTrustedInjectedKind: Map; } export declare function routeRuntimeEvent(input: { event: { type: string; properties?: unknown; }; directory: string; hooks: CreatedHooks; enabledAgents?: ReadonlySet; client?: PluginContext["client"]; tracker?: SessionTracker; state: EventRouterState; lifecyclePolicy: RuntimeLifecyclePolicySurface; }): Promise; export declare function handlePauseExecutionEffect(input: { effectReason: string; directory: string; sessionId?: string; target?: "plan" | "workflow" | "both" | "none"; }): void;