import type { CodeModeToolDefinition, ToolExecutionContext } from "../types.ts"; export declare class DelegateCellScheduling { private readonly cellContexts; private readonly contextChanges; private readonly cellTools; private readonly blockers; private readonly blockerChanges; private readonly sequentialTails; context(cellId: string): ToolExecutionContext | undefined; tools(cellId: string): Map | undefined; bindTools(cellId: string, tools: Map): void; updateCellContext(cellId: string, context: ToolExecutionContext): void; closeCell(cellId: string): void; clear(): void; isBlocked(cellId: string): boolean; waitUntilUnblocked(cellId: string, signal?: AbortSignal): Promise; executePiTool(cellId: string, ...[name, args, options]: Parameters>): ReturnType>; invokeSequential(cellId: string, signal: AbortSignal, run: () => Promise): Promise; setBlocked(cellId: string, blockerId: string, active: boolean): void; }