import type { AgentExactRunControlRef, AgentRunControlRef } from "@tangle-network/agent-interface"; import type { AgentSessionRef } from "@tangle-network/agent-interface/environment-provider"; export declare function sessionRefFromSandboxDispatch(dispatched: unknown, providerName: string, environmentId: string, expectedExecutionId: string | undefined, requestDigest?: `sha256:${string}` | undefined, expectedSessionId?: string | undefined, callerControlRef?: AgentExactRunControlRef | undefined): AgentSessionRef; export declare function retainedSessionControlRef(sessionId: string, executionId: string, provider: string, environmentId: string, requestDigest?: `sha256:${string}`, runId?: string): AgentExactRunControlRef; export declare function sessionPromptExecutionId(requestDigest: `sha256:${string}`): string; export declare function sessionPromptSessionId(provider: string, environmentId: string, turnId: string | undefined): string | undefined; export declare function sameRunControlRef(left: AgentRunControlRef, right: AgentRunControlRef): boolean; export declare function resolveRetainedSessionControlRef(candidate: AgentRunControlRef | undefined, sessionId: string, provider: string, environmentId: string): AgentExactRunControlRef | undefined;