import { ContextKeyService as TheiaContextKeyService, ContextKey, ContextKeyChangeEvent, ScopedValueStore, ContextMatcher, ContextKeyValue, Context } from '@theia/core/lib/browser/context-key-service'; import { Emitter, Event } from '@theia/core'; import { AbstractContextKeyService } from '@theia/monaco-editor-core/esm/vs/platform/contextkey/browser/contextKeyService'; import { ContextKeyExpression, IContext, IContextKeyService } from '@theia/monaco-editor-core/esm/vs/platform/contextkey/common/contextkey'; export declare class MonacoContextKeyService implements TheiaContextKeyService { protected readonly onDidChangeEmitter: Emitter; get onDidChange(): Event; get contextKeyService(): AbstractContextKeyService; protected init(): void; createKey(key: string, defaultValue: T | undefined): ContextKey; activeContext?: HTMLElement | IContext | Context; match(expression: string, context?: HTMLElement): boolean; protected identifyContext(callersContext?: HTMLElement | IContext, service?: IContextKeyService): IContext | undefined; protected readonly expressions: Map; parse(when: string): ContextKeyExpression | undefined; parseKeys(expression: string): Set | undefined; with(values: Record, callback: () => T): T; withContext(context: Context, callback: () => T): T; createScoped(target: HTMLElement): ScopedValueStore; createOverlay(overlay: Iterable<[string, unknown]>): ContextMatcher; setContext(key: string, value: unknown): void; getLocalContextKeys(element: HTMLElement): Set; dispose(): void; } //# sourceMappingURL=monaco-context-key-service.d.ts.map