import { URI } from "../../base/common/uri.js"; import { IContextKey, RawContextKey } from "../../platform/contextkey/common/contextkey.js"; import { IContextKeyService } from "../../platform/contextkey/common/contextkey.service.js"; import { ILanguageService } from "../../editor/common/languages/language.service.js"; import { IFileService } from "../../platform/files/common/files.service.js"; import { IModelService } from "../../editor/common/services/model.service.js"; import { EditorInput } from "./editor/editorInput.js"; import { IEditorResolverService } from "../services/editor/common/editorResolverService.service.js"; export declare const WorkbenchStateContext: RawContextKey; export declare const WorkspaceFolderCountContext: RawContextKey; export declare const OpenFolderWorkspaceSupportContext: RawContextKey; export declare const EnterMultiRootWorkspaceSupportContext: RawContextKey; export declare const EmptyWorkspaceSupportContext: RawContextKey; export declare const DirtyWorkingCopiesContext: RawContextKey; export declare const RemoteNameContext: RawContextKey; export declare const VirtualWorkspaceContext: RawContextKey; export declare const TemporaryWorkspaceContext: RawContextKey; export declare const IsSessionsWindowContext: RawContextKey; export declare const HasWebFileSystemAccess: RawContextKey; export declare const EmbedderIdentifierContext: RawContextKey; export declare const InAutomationContext: RawContextKey; export declare const IsSandboxWorkspaceContext: RawContextKey; export declare const IsMainWindowFullscreenContext: RawContextKey; export declare const IsAuxiliaryWindowFocusedContext: RawContextKey; export declare const IsWindowAlwaysOnTopContext: RawContextKey; export declare const IsAuxiliaryWindowContext: RawContextKey; export declare const ActiveEditorDirtyContext: RawContextKey; export declare const ActiveEditorPinnedContext: RawContextKey; export declare const ActiveEditorFirstInGroupContext: RawContextKey; export declare const ActiveEditorLastInGroupContext: RawContextKey; export declare const ActiveEditorStickyContext: RawContextKey; export declare const ActiveEditorReadonlyContext: RawContextKey; export declare const ActiveCompareEditorCanSwapContext: RawContextKey; export declare const ActiveEditorCanToggleReadonlyContext: RawContextKey; export declare const ActiveEditorCanRevertContext: RawContextKey; export declare const ActiveEditorCanSplitInGroupContext: RawContextKey; export declare const ActiveEditorContext: RawContextKey; export declare const ActiveEditorAvailableEditorIdsContext: RawContextKey; export declare const TextCompareEditorVisibleContext: RawContextKey; export declare const TextCompareEditorActiveContext: RawContextKey; export declare const SideBySideEditorActiveContext: RawContextKey; export declare const EditorGroupEditorsCountContext: RawContextKey; export declare const ActiveEditorGroupEmptyContext: RawContextKey; export declare const ActiveEditorGroupIndexContext: RawContextKey; export declare const ActiveEditorGroupLastContext: RawContextKey; export declare const ActiveEditorGroupLockedContext: RawContextKey; export declare const MultipleEditorGroupsContext: RawContextKey; export declare const SingleEditorGroupsContext: import("../../platform/contextkey/common/contextkey.js").ContextKeyExpression; export declare const MultipleEditorsSelectedInGroupContext: RawContextKey; export declare const TwoEditorsSelectedInGroupContext: RawContextKey; export declare const SelectedEditorsInGroupFileOrUntitledResourceContextKey: RawContextKey; export declare const EditorPartMultipleEditorGroupsContext: RawContextKey; export declare const EditorPartSingleEditorGroupsContext: import("../../platform/contextkey/common/contextkey.js").ContextKeyExpression; export declare const EditorPartMaximizedEditorGroupContext: RawContextKey; export declare const EditorPartModalContext: RawContextKey; export declare const EditorPartModalMaximizedContext: RawContextKey; export declare const EditorPartModalNavigationContext: RawContextKey; export declare const EditorsVisibleContext: RawContextKey; export declare const InEditorZenModeContext: RawContextKey; export declare const IsMainEditorCenteredLayoutContext: RawContextKey; export declare const SplitEditorsVertically: RawContextKey; export declare const MainEditorAreaVisibleContext: RawContextKey; export declare const EditorTabsVisibleContext: RawContextKey; export declare const SideBarVisibleContext: RawContextKey; export declare const SidebarFocusContext: RawContextKey; export declare const ActiveViewletContext: RawContextKey; export declare const StatusBarFocused: RawContextKey; export declare const TitleBarStyleContext: RawContextKey; export declare const TitleBarVisibleContext: RawContextKey; export declare const IsCompactTitleBarContext: RawContextKey; export declare const BannerFocused: RawContextKey; export declare const NotificationFocusedContext: RawContextKey; export declare const NotificationsCenterVisibleContext: RawContextKey; export declare const NotificationsToastsVisibleContext: RawContextKey; export declare const ActiveAuxiliaryContext: RawContextKey; export declare const AuxiliaryBarFocusContext: RawContextKey; export declare const AuxiliaryBarVisibleContext: RawContextKey; export declare const AuxiliaryBarMaximizedContext: RawContextKey; export declare const ActivePanelContext: RawContextKey; export declare const PanelFocusContext: RawContextKey; export declare const PanelPositionContext: RawContextKey; export declare const PanelAlignmentContext: RawContextKey; export declare const PanelVisibleContext: RawContextKey; export declare const PanelMaximizedContext: RawContextKey; export declare const FocusedViewContext: RawContextKey; export declare function getVisbileViewContextKey(viewId: string): string; declare abstract class AbstractResourceContextKey { protected readonly _contextKeyService: IContextKeyService; protected readonly _fileService: IFileService; protected readonly _languageService: ILanguageService; protected readonly _modelService: IModelService; static readonly Scheme: RawContextKey; static readonly Filename: RawContextKey; static readonly Dirname: RawContextKey; static readonly Path: RawContextKey; static readonly LangId: RawContextKey; static readonly Resource: RawContextKey; static readonly Extension: RawContextKey; static readonly HasResource: RawContextKey; static readonly IsFileSystemResource: RawContextKey; protected _value: URI | undefined; protected readonly _resourceKey: IContextKey; protected readonly _schemeKey: IContextKey; protected readonly _filenameKey: IContextKey; protected readonly _dirnameKey: IContextKey; protected readonly _pathKey: IContextKey; protected readonly _langIdKey: IContextKey; protected readonly _extensionKey: IContextKey; protected readonly _hasResource: IContextKey; protected readonly _isFileSystemResource: IContextKey; constructor(_contextKeyService: IContextKeyService, _fileService: IFileService, _languageService: ILanguageService, _modelService: IModelService); protected _setLangId(): void; set(value: URI | null | undefined): void; protected uriToPath(uri: URI): string; reset(): void; get(): URI | undefined; } export declare class ResourceContextKey extends AbstractResourceContextKey { private readonly _disposables; constructor(contextKeyService: IContextKeyService, fileService: IFileService, languageService: ILanguageService, modelService: IModelService); dispose(): void; } /** * This is a version of ResourceContextKey that is not disposable and has no listeners for model change events. * It will configure itself for the state/presence of a model only when created and not update. */ export declare class StaticResourceContextKey extends AbstractResourceContextKey { } export declare function applyAvailableEditorIds(contextKey: IContextKey, editor: EditorInput | undefined | null, editorResolverService: IEditorResolverService): void; export {};