import { type DelegateRequestMessage } from "./host-protocol.js"; import type { CodeModeToolDefinition, RuntimeResponse, ToolExecutionContext } from "./types.js"; type SendMessage = (message: unknown) => void; export declare class CodeModeDelegateRuntime { private readonly cellContexts; private readonly cellTools; private readonly controllers; private readonly notifications; private readonly traces; private readonly cleanupTimers; private readonly send; constructor(send: SendMessage); bindCell(cellId: string, context: ToolExecutionContext, tools?: Map): void; updateCellContext(cellId: string, context: ToolExecutionContext): void; closeCell(cellId: string): void; clear(): void; cancel(id: number): void; handleRequest(message: DelegateRequestMessage): void; attach(response: RuntimeResponse): RuntimeResponse; private invoke; private handleNotification; private respond; } export {};