import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { ActiveTunnelMode, TunnelMode, TunnelStatus } from "../common/remoteTunnel.js"; import { IRemoteTunnelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/remoteTunnel/common/remoteTunnel.service"; /** * Browser-safe Remote Tunnel service. Tunnel hosting requires the local CLI, * but discovery consumers still need the authoritative inactive state. */ export declare class BrowserRemoteTunnelService implements IRemoteTunnelService { readonly _serviceBrand: undefined; readonly onDidChangeTunnelStatus: Event; readonly onDidChangeMode: Event; readonly onDidTokenFailed: Event; getTunnelStatus(): Promise; getMode(): Promise; initialize(_mode: TunnelMode): Promise; startTunnel(_mode: ActiveTunnelMode): Promise; stopTunnel(): Promise; getTunnelName(): Promise; }