import { type EndpointWorkspaceSummary } from '@xopcai/endpoint-tools-protocol'; export interface SandboxHostOptions { gatewayUrl: string; token?: string; identityPath: string; workspaceRoot: string; endpointId?: string; displayName?: string; allowedEnv?: Readonly>; allowFileArtifactUrls?: boolean; onStateChange?: (state: string) => void; } export interface ConnectedSandboxHost { endpointId: string; principalId: string; publishWorkspaceSummary(): Promise; close(): Promise; } /** * Connects a stateless Cloud Sandbox / container daemon (`kind: 'sandbox'`) to a Gateway * over signed HTTPS/WSS using host-scoped ECDSA P-256 credentials (ADR 0004). */ export declare function connectSandboxHost(options: SandboxHostOptions): Promise;