import { ITitleProperties, ITitleVariable } from "@codingame/monaco-vscode-view-title-bar-service-override/vscode/vs/workbench/browser/parts/titlebar/titlebarPart"; import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js"; import { IEditorService } from "../../../services/editor/common/editorService.service.js"; import { Disposable } from "../../../../base/common/lifecycle.js"; import { IBrowserWorkbenchEnvironmentService } from "../../../services/environment/browser/environmentService.service.js"; import { IWorkspaceContextService } from "../../../../platform/workspace/common/workspace.service.js"; import { ILabelService } from "../../../../platform/label/common/label.service.js"; import { IProductService } from "../../../../platform/product/common/productService.service.js"; import { IUserDataProfileService } from "../../../services/userDataProfile/common/userDataProfile.service.js"; import { IViewsService } from "../../../services/views/common/viewsService.service.js"; import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js"; import { CodeWindow } from "../../../../base/browser/window.js"; import { IDecorationsService } from "../../../services/decorations/common/decorations.service.js"; import { IAccessibilityService } from "../../../../platform/accessibility/common/accessibility.service.js"; export declare const defaultWindowTitle: string; export declare const defaultWindowTitleSeparator: string; export declare class WindowTitle extends Disposable { protected readonly configurationService: IConfigurationService; private readonly contextKeyService; private readonly editorService; protected readonly environmentService: IBrowserWorkbenchEnvironmentService; private readonly contextService; private readonly labelService; private readonly userDataProfileService; private readonly productService; private readonly viewsService; private readonly decorationsService; private readonly accessibilityService; private static readonly NLS_USER_IS_ADMIN; private static readonly NLS_EXTENSION_HOST; private static readonly TITLE_DIRTY; private readonly properties; private readonly variables; private readonly activeEditorListeners; private readonly titleUpdater; private readonly onDidChangeEmitter; readonly onDidChange: import("../../../../base/common/event.js").Event; get value(): string; get workspaceName(): string; get fileName(): string | undefined; private title; private titleIncludesFocusedView; private titleIncludesEditorState; private readonly windowId; constructor(targetWindow: CodeWindow, configurationService: IConfigurationService, contextKeyService: IContextKeyService, editorService: IEditorService, environmentService: IBrowserWorkbenchEnvironmentService, contextService: IWorkspaceContextService, labelService: ILabelService, userDataProfileService: IUserDataProfileService, productService: IProductService, viewsService: IViewsService, decorationsService: IDecorationsService, accessibilityService: IAccessibilityService); private registerListeners; private onConfigurationChanged; private checkTitleVariables; private onActiveEditorChange; private doUpdateTitle; private getFullWindowTitle; getTitleDecorations(): { prefix: string | undefined; suffix: string | undefined; }; updateProperties(properties: ITitleProperties): void; registerVariables(variables: ITitleVariable[]): void; /** * Possible template values: * * {activeEditorLong}: e.g. /Users/Development/myFolder/myFileFolder/myFile.txt * {activeEditorMedium}: e.g. myFolder/myFileFolder/myFile.txt * {activeEditorShort}: e.g. myFile.txt * {activeEditorLanguageId}: e.g. typescript * {activeFolderLong}: e.g. /Users/Development/myFolder/myFileFolder * {activeFolderMedium}: e.g. myFolder/myFileFolder * {activeFolderShort}: e.g. myFileFolder * {rootName}: e.g. myFolder1, myFolder2, myFolder3 * {rootPath}: e.g. /Users/Development * {folderName}: e.g. myFolder * {folderPath}: e.g. /Users/Development/myFolder * {appName}: e.g. VS Code * {remoteName}: e.g. SSH * {dirty}: indicator * {focusedView}: e.g. Terminal * {separator}: conditional separator * {activeEditorState}: e.g. Modified */ getWindowTitle(): string; isCustomTitleFormat(): boolean; }