import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service"; import { IConfigurationResolverService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/configurationResolver/common/configurationResolver.service"; import { IHistoryService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/history/common/history.service"; import { IProcessEnvironment, OperatingSystem } from "@codingame/monaco-vscode-api/vscode/vs/base/common/platform"; import { IShellLaunchConfig, ITerminalProfile, TerminalIcon } from "@codingame/monaco-vscode-api/vscode/vs/platform/terminal/common/terminal"; import { ITerminalLogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/terminal/common/terminal.service"; import { IShellLaunchConfigResolveOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/common/terminal"; import { ITerminalProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/common/terminal.service"; import { ITerminalProfileResolverService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/common/terminal.service"; import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service"; import { ThemeIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/common/themables"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { ITerminalInstanceService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/terminal.service"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { type SingleOrMany } from "@codingame/monaco-vscode-api/vscode/vs/base/common/types"; export interface IProfileContextProvider { getDefaultSystemShell(remoteAuthority: string | undefined, os: OperatingSystem): Promise; getEnvironment(remoteAuthority: string | undefined): Promise; } export declare abstract class BaseTerminalProfileResolverService extends Disposable implements ITerminalProfileResolverService { private readonly _context; private readonly _configurationService; private readonly _configurationResolverService; private readonly _historyService; private readonly _logService; private readonly _terminalProfileService; private readonly _workspaceContextService; private readonly _remoteAgentService; _serviceBrand: undefined; private _primaryBackendOs; private readonly _iconRegistry; private _defaultProfileName; get defaultProfileName(): string | undefined; constructor(_context: IProfileContextProvider, _configurationService: IConfigurationService, _configurationResolverService: IConfigurationResolverService, _historyService: IHistoryService, _logService: ITerminalLogService, _terminalProfileService: ITerminalProfileService, _workspaceContextService: IWorkspaceContextService, _remoteAgentService: IRemoteAgentService); private _refreshDefaultProfileName; resolveIcon(shellLaunchConfig: IShellLaunchConfig, os: OperatingSystem): void; getDefaultIcon(resource?: URI): TerminalIcon & ThemeIcon; resolveShellLaunchConfig(shellLaunchConfig: IShellLaunchConfig, options: IShellLaunchConfigResolveOptions): Promise; getDefaultShell(options: IShellLaunchConfigResolveOptions): Promise; getDefaultShellArgs(options: IShellLaunchConfigResolveOptions): Promise>; getDefaultProfile(options: IShellLaunchConfigResolveOptions): Promise; getEnvironment(remoteAuthority: string | undefined): Promise; private _getCustomIcon; private _getUnresolvedDefaultProfile; private _setIconForAutomation; private _getUnresolvedRealDefaultProfile; private _getUnresolvedFallbackDefaultProfile; private _getUnresolvedAutomationShellProfile; private _getUnresolvedAgentHostShellProfile; private _resolveProfile; private _resolveVariables; private _getOsKey; private _guessProfileIcon; private _isValidAutomationProfile; } export declare class BrowserTerminalProfileResolverService extends BaseTerminalProfileResolverService { constructor(configurationResolverService: IConfigurationResolverService, configurationService: IConfigurationService, historyService: IHistoryService, logService: ITerminalLogService, terminalInstanceService: ITerminalInstanceService, terminalProfileService: ITerminalProfileService, workspaceContextService: IWorkspaceContextService, remoteAgentService: IRemoteAgentService); }