import { Diagnostic } from '@theia/core/shared/vscode-languageserver-protocol'; import { Event, Emitter } from '@theia/core/lib/common/event'; import { Title, Widget } from '@theia/core/shared/@lumino/widgets'; import { WidgetDecoration } from '@theia/core/lib/browser/widget-decoration'; import { TabBarDecorator } from '@theia/core/lib/browser/shell/tab-bar-decorator'; import { Marker } from '../../common/marker'; import { ProblemManager } from './problem-manager'; import { ProblemPreferences, ProblemConfiguration } from '../../common/problem-preferences'; import { PreferenceChangeEvent } from '@theia/core'; export declare class ProblemTabBarDecorator implements TabBarDecorator { readonly id = "theia-problem-tabbar-decorator"; protected readonly emitter: Emitter; protected readonly preferences: ProblemPreferences; protected readonly problemManager: ProblemManager; protected init(): void; decorate(title: Title): WidgetDecoration.Data[]; get onDidChangeDecorations(): Event; protected fireDidChangeDecorations(): void; /** * Handle changes in preference. * @param {PreferenceChangeEvent} event The event of the changes in preference. */ protected handlePreferenceChange(event: PreferenceChangeEvent): Promise; /** * Convert a diagnostic marker to a decorator. * @param {Marker} marker A diagnostic marker. * @returns {WidgetDecoration.Data} The decoration data. */ protected toDecorator(marker: Marker): WidgetDecoration.Data; /** * Get the appropriate overlay icon for decoration. * @param {Marker} marker A diagnostic marker. * @returns {string} A string representing the overlay icon class. */ protected getOverlayIcon(marker: Marker): string; /** * Get the appropriate overlay icon color for decoration. * @param {Marker} marker A diagnostic marker. * @returns {WidgetDecoration.Color} The decoration color. */ protected getOverlayIconColor(marker: Marker): WidgetDecoration.Color; } //# sourceMappingURL=problem-tabbar-decorator.d.ts.map