import { Event } from "../../../base/common/event.js"; import { Disposable } from "../../../base/common/lifecycle.js"; import { type IAgentHostExtensionCommandMap } from "./agentHostExtensionProtocol.js"; import type { IDevContainerAgentHostConfig, IDevContainerAgentHostConnectResult, IDevContainerAgentHostOutput, IDevContainerAgentHostSandboxSupport } from "./devContainerAgentHost.js"; import { IDevContainerAgentHostMainService } from "./devContainerAgentHost.service.js"; import type { IRelayMessage } from "./relayTransport.js"; import type { IDevContainerSampleSource } from "./devContainerSamples.js"; /** Adapts the VS Code extension RPCs to the shared-process Dev Container service contract. */ export declare class DevContainerAgentHostProtocolClient extends Disposable implements IDevContainerAgentHostMainService { private readonly _request; readonly _serviceBrand: undefined; private readonly _onDidRelayMessage; readonly onDidRelayMessage: Event; /** Messages arrive whole inside parent notifications, so partial progress can't be attributed to a container. */ readonly onDidRelayActivity: Event; private readonly _onDidRelayClose; readonly onDidRelayClose: Event; private readonly _onDidCloseConnection; readonly onDidCloseConnection: Event; private readonly _onDidOutput; readonly onDidOutput: Event; private readonly _onDidChangeSandboxSupport; readonly onDidChangeSandboxSupport: Event; private readonly _connections; constructor(_request: (method: M, params: IAgentHostExtensionCommandMap[M]["params"]) => Promise); isDockerAvailable(): Promise; connect(config: IDevContainerAgentHostConfig): Promise; disconnect(connectionId: string): Promise; stopContainer(workspaceFolder: string | IDevContainerSampleSource): Promise; removeContainer(workspaceFolder: string | IDevContainerSampleSource): Promise; relaySend(connectionId: string, data: string): Promise; handleNotification(method: string, params: unknown): boolean; connectionClosed(): void; dispose(): void; }