import type { AgentInteractiveSession, AgentInteractiveSessionRef, AgentInteractiveSessionStart } from "@tangle-network/agent-interface"; import type { SandboxInstanceLike } from "./tangle-types.js"; /** Exact coding-agent TUI operations for one sandbox environment. */ export interface TangleInteractiveAgentRegistry { start(request: AgentInteractiveSessionStart, options?: { signal?: AbortSignal; }): Promise; get(ref: AgentInteractiveSessionRef): AgentInteractiveSession; } /** * Test the linked SDK surface without accepting any older interactive shape. * * Sandbox owns the exact reference, control claim, terminal binding, and * mutation acknowledgements. An older handle shape fails this test closed. */ export declare function sandboxBacksInteractiveAgent(box: SandboxInstanceLike): boolean; /** * Adapt the canonical Sandbox exact interactive API. * * The Sandbox owns process identity, admission receipts, operation replay, * and control generations. This adapter validates each returned value and * never creates a second record for any of those facts. */ export declare function createTangleInteractiveAgentRegistry(box: SandboxInstanceLike, providerName: string, environmentId: string): TangleInteractiveAgentRegistry;