import { type HostMessage } from "./host-protocol.js"; import type { CodeModeToolDefinition, RuntimeResponse, ToolExecutionContext } from "./types.js"; export declare class CodeModeHostDelegation { private readonly runtime; constructor(send: (message: unknown) => void); bindResponse(value: unknown, context?: ToolExecutionContext, tools?: Map): void; updateCellContext(cellId: string, context: ToolExecutionContext): void; attach(response: RuntimeResponse): RuntimeResponse; clear(): void; handleMessage(message: HostMessage): void; }