import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service"; import { IExtensionHostExitInfo, IRemoteAgentConnection } from "./remoteAgentService.js"; import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service"; import { IRemoteAuthorityResolverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/remote/common/remoteAuthorityResolver.service"; import { IRemoteAgentEnvironment } from "@codingame/monaco-vscode-api/vscode/vs/platform/remote/common/remoteAgentEnvironment"; import { IDiagnosticInfoOptions, IDiagnosticInfo } from "@codingame/monaco-vscode-api/vscode/vs/platform/diagnostics/common/diagnostics"; import { ISignService } from "@codingame/monaco-vscode-api/vscode/vs/platform/sign/common/sign.service"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { ITelemetryData, TelemetryLevel } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry"; import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service"; import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service"; import { IRemoteSocketFactoryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/remote/common/remoteSocketFactoryService.service"; export declare abstract class AbstractRemoteAgentService extends Disposable implements IRemoteAgentService { private readonly remoteSocketFactoryService; private readonly userDataProfileService; protected readonly _environmentService: IWorkbenchEnvironmentService; private readonly _remoteAuthorityResolverService; private readonly _logService; readonly _serviceBrand: undefined; private readonly _connection; private _environment; constructor(remoteSocketFactoryService: IRemoteSocketFactoryService, userDataProfileService: IUserDataProfileService, _environmentService: IWorkbenchEnvironmentService, productService: IProductService, _remoteAuthorityResolverService: IRemoteAuthorityResolverService, signService: ISignService, _logService: ILogService); getConnection(): IRemoteAgentConnection | null; getEnvironment(): Promise; getRawEnvironment(): Promise; getExtensionHostExitInfo(reconnectionToken: string): Promise; getDiagnosticInfo(options: IDiagnosticInfoOptions): Promise; updateTelemetryLevel(telemetryLevel: TelemetryLevel): Promise; logTelemetry(eventName: string, data: ITelemetryData): Promise; flushTelemetry(): Promise; getRoundTripTime(): Promise; endConnection(): Promise; private _withChannel; private _withTelemetryChannel; }