import type { RemoteComputerCapabilities, RemoteExecutionCapabilities } from "../integrations/remote-types.js"; export interface RemoteCodeAgentDeviceConfig { token: string; relayUrl?: string; deviceId?: string; deviceName?: string; workspacePath?: string; pollIntervalMs?: number; } export interface RunCodeAgentConnectorOptions { relayUrl?: string; output?: NodeJS.WritableStream; signal?: AbortSignal; once?: boolean; } export interface LocalComputerBridgeConfig { url: string; token: string; capabilities: RemoteComputerCapabilities; } export declare const DEFAULT_REMOTE_EXECUTION_CAPABILITIES: RemoteExecutionCapabilities; export declare function remoteDeviceConfigPath(): string; export declare function loadRemoteCodeAgentDeviceConfig(configPath?: string): RemoteCodeAgentDeviceConfig | null; export declare function runCodeAgentConnector(options?: RunCodeAgentConnectorOptions): Promise; export declare function loadLocalComputerBridgeConfig(env?: NodeJS.ProcessEnv): LocalComputerBridgeConfig | null; export declare function callLocalComputerBridgeTool(config: LocalComputerBridgeConfig, toolName: "computer_operation" | "computer_revoke_control", args: Record, fetchImpl?: typeof fetch): Promise; export declare function dispatchComputerOperationToLocalBridge(config: LocalComputerBridgeConfig | null, rawEnvelope: unknown, fetchImpl?: typeof fetch): Promise>;