import type { RuntimeResponse, OpaqueToolOutput, RuntimeContentItem, ToolExecutionContext } from "../types.ts"; import type { CodeModeTraceStore } from "../trace-store.ts"; export declare class DelegateCellResults { private readonly notifications; private readonly opaqueResults; private readonly originalExecCalls; private readonly execSessions; private readonly terminatingCells; bindCell(cellId: string, context: ToolExecutionContext): void; originalExecCallId(cellId: string): string | undefined; opaqueCellIds(): IterableIterator; hasOpaqueResults(cellId: string): boolean; clearOpaqueResults(): void; markTerminating(cellId: string): void; delete(cellId: string): void; clear(): void; captureOpaqueResult(cellId: string, output: OpaqueToolOutput, images: RuntimeContentItem[]): void; notifyDirect(cellId: string, value: string, context: ToolExecutionContext | undefined): void; attach(response: RuntimeResponse, traces: CodeModeTraceStore): RuntimeResponse; recordExecSession(cellId: string, toolName: string, input: unknown, resultSessionId: number | undefined): void; reserveOpaqueCall(cellId: string): void; } export declare function numericSessionId(value: unknown): number | undefined;