import { Agent, Agent as Agent$1, AgentBinding, AgentFs, AgentFsOptions, AgentName, AgentOptions, AgentRunBindingsOptions, AgentRunResult, BASE_IMAGE, BuildDockerRunArgsOptions, BuildImagesOptions, CONTAINER_HOME, CONTAINER_INPUT, CONTAINER_OUTPUT, CONTAINER_TRAJECTORY_PATH, CONTAINER_WORKSPACE, CreateAgentBindings, DockerRunOptions, DockerRunResult, DockerRunner, DockerVolumeMount, PACKAGE_ROOT, RegistryOptions, RunAgentOptions, StockAgentName, TRAJECTORY_FILE, TokenUsage, Trajectory, TrajectoryAdapter, TrajectoryEvent, TrajectoryKind, TrajectoryToolCall, asRecord, bindingRegistry, buildDockerRunArgs, buildImages, createAgent, ensureDockerImage, extractTextContent, invokeDocker, parseAgentJsonOutput, parseTrajectory, readRegistry, readString, readTrajectory, registerBinding, resetBindings, resetBuildMemo, resetRegistry, resolveBinding, resolveImage, runBoundAgent, runDocker, unregisterBinding, upsertRegistryEntry } from "clanker-cleanroom"; //#region src/given/agent.d.ts type ConfigureAgentOptions = { /** Registered stock short name or a registry tag (`cursor:node`). */ name: string; model?: string; /** Override the resolved Docker image tag. */ image?: string; } & RegistryOptions; declare function agent(options: ConfigureAgentOptions): (this: AgentContext) => Promise; //#endregion //#region src/types.d.ts type AgentContext = { workspace: string; prompt: string; agentResult: AgentRunResult; agent: Agent$1; image: string; model?: string; }; //#endregion //#region src/given/a_workspace.d.ts declare const AGENTS_GWT_TMP_ROOT: string; declare function a_workspace(this: AgentContext): Promise; declare function cleanup_workspace(this: AgentContext): Promise; //#endregion //#region src/given/copy_to_workspace.d.ts type CopyToWorkspaceOptions = { readonly from?: string; readonly base?: string; }; declare function copy_to_workspace(workspace: string, globs: readonly string[], options?: CopyToWorkspaceOptions): Promise; //#endregion //#region src/given/the_prompt.d.ts declare function the_prompt(prompt: string): (this: AgentContext) => void; //#endregion //#region src/when/executing_the_agent.d.ts declare function executing_the_agent(this: AgentContext): Promise; //#endregion export { AGENTS_GWT_TMP_ROOT, Agent, type AgentBinding, type AgentContext, AgentFs, type AgentFsOptions, type AgentName, type AgentOptions, type AgentRunBindingsOptions, type AgentRunResult, BASE_IMAGE, type BuildDockerRunArgsOptions, type BuildImagesOptions, CONTAINER_HOME, CONTAINER_INPUT, CONTAINER_OUTPUT, CONTAINER_TRAJECTORY_PATH, CONTAINER_WORKSPACE, type ConfigureAgentOptions, type CopyToWorkspaceOptions, type CreateAgentBindings, type DockerRunOptions, type DockerRunResult, type DockerRunner, type DockerVolumeMount, PACKAGE_ROOT, type RunAgentOptions, type StockAgentName, TRAJECTORY_FILE, type TokenUsage, type Trajectory, type TrajectoryAdapter, type TrajectoryEvent, type TrajectoryKind, type TrajectoryToolCall, a_workspace, agent, asRecord, bindingRegistry, buildDockerRunArgs, buildImages, cleanup_workspace, copy_to_workspace, createAgent, ensureDockerImage, executing_the_agent, extractTextContent, invokeDocker, parseAgentJsonOutput, parseTrajectory, readRegistry, readString, readTrajectory, registerBinding, resetBindings, resetBuildMemo, resetRegistry, resolveBinding, resolveImage, runBoundAgent, runDocker, the_prompt, unregisterBinding, upsertRegistryEntry }; //# sourceMappingURL=index.d.cts.map