import { FrontendApplicationContribution } from '@theia/core/lib/browser'; import { DisposableCollection, Emitter, MaybePromise, Event, PreferenceService } from '@theia/core'; import { ContextKeyService, ContextKey } from '@theia/core/lib/browser/context-key-service'; import { AIActivationService } from '@theia/ai-core/lib/browser/ai-activation-service'; import { WorkspaceTrustService } from '@theia/workspace/lib/browser/workspace-trust-service'; /** * Implements AI Activation Service based on preferences. */ export declare class AIIdeActivationServiceImpl implements AIActivationService, FrontendApplicationContribution { protected readonly contextKeyService: ContextKeyService; protected preferenceService: PreferenceService; protected workspaceTrustService: WorkspaceTrustService; protected isAiEnabledKey: ContextKey; protected workspaceTrusted: boolean; protected onDidChangeAIEnabled: Emitter; get onDidChangeActiveStatus(): Event; protected onDidChangeCanRunEmitter: Emitter; get onDidChangeCanRun(): Event; protected readonly toDispose: DisposableCollection; protected dispose(): void; get isActive(): boolean; get canRun(): boolean; protected updateEnableValue(value: boolean): void; protected updateTrustValue(trusted: boolean): void; initialize(): MaybePromise; } //# sourceMappingURL=ai-ide-activation-service.d.ts.map