import { Emitter } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service"; import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service"; import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service"; import { IUserDataProfilesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service"; import { IUserDataSyncEnablementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataSync/common/userDataSync.service"; import { IWorkbenchConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/configuration/common/configuration.service"; import { SettingsTreeSettingElement } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/preferences/browser/settingsTreeModels"; type ScopeString = "workspace" | "user" | "remote" | "default"; export interface ISettingOverrideClickEvent { scope: ScopeString; language: string; settingKey: string; } /** * Renders the indicators next to a setting, such as "Also Modified In". */ export declare class SettingsTreeIndicatorsLabel implements IDisposable { private readonly configurationService; private readonly hoverService; private readonly userDataSyncEnablementService; private readonly languageService; private readonly commandService; private readonly indicatorsContainerElement; private readonly previewIndicator; private readonly advancedIndicator; private readonly workspaceTrustIndicator; private readonly scopeOverridesIndicator; private readonly syncIgnoredIndicator; private readonly defaultOverrideIndicator; /** Indicators that each have their own square container at the top-right of the setting */ private readonly isolatedIndicators; /** Indicators that end up wrapped in a parenthesis at the top-right of the setting */ private readonly parenthesizedIndicators; private readonly keybindingListeners; private readonly previewHover; private focusedIndex; constructor(container: HTMLElement, configurationService: IWorkbenchConfigurationService, hoverService: IHoverService, userDataSyncEnablementService: IUserDataSyncEnablementService, languageService: ILanguageService, commandService: ICommandService); private defaultHoverOptions; private createWorkspaceTrustIndicator; private createScopeOverridesIndicator; private createSyncIgnoredIndicator; private createDefaultOverrideIndicator; private createPreviewIndicator; private createAdvancedIndicator; private render; private resetIndicatorNavigationKeyBindings; private focusIndicatorAt; updateWorkspaceTrust(element: SettingsTreeSettingElement): void; updateSyncIgnored(element: SettingsTreeSettingElement, ignoredSettings: string[]): void; updatePreviewIndicator(element: SettingsTreeSettingElement): void; updateAdvancedIndicator(element: SettingsTreeSettingElement): void; private getInlineScopeDisplayText; dispose(): void; updateScopeOverrides(element: SettingsTreeSettingElement, onDidClickOverrideElement: Emitter, onApplyFilter: Emitter): void; updateDefaultOverrideIndicator(element: SettingsTreeSettingElement): void; } export declare function getIndicatorsLabelAriaLabel(element: SettingsTreeSettingElement, configurationService: IWorkbenchConfigurationService, userDataProfilesService: IUserDataProfilesService, languageService: ILanguageService): string; export {};