import type { DirectServiceDependencies } from "./direct-service.ts"; import { DirectSessionExecutor } from "./session-executor.ts"; import { type DirectMethod, type JsonObject, type JsonValue } from "./tools.ts"; export interface ComputerUseCodeResult { content: JsonObject[]; calls: DirectMethod[]; error?: string; } type CodeSessionExecutor = Pick; export declare class ComputerUseCodeExecutor { private queue; private readonly sessionExecutor; private readonly codeSliceTimeoutMs; private readonly screenshots; private nextScreenshotId; readonly store: Record; constructor(sessionExecutor?: CodeSessionExecutor, codeSliceTimeoutMs?: number); private runExclusive; private registerScreenshot; execute(code: string, dependencies: DirectServiceDependencies): Promise; close(): Promise; } export {};