import * as theia from '@theia/plugin'; import { ThemeColor, StatusBarAlignment } from '../types-impl'; import { StatusBarMessageRegistryMain } from '../../common/plugin-api-rpc'; import { CommandRegistryImpl } from '../command-registry'; export declare class StatusBarItemImpl implements theia.StatusBarItem { private readonly commandRegistry; private onDispose?; /** Map from allowed background colors to corresponding foreground colors. */ private static BACKGROUND_COLORS; private _id; private _alignment; private _priority; private _name; private _text; private _tooltip; private _tooltip2; private _color; private _backgroundColor; private _command; private _accessibilityInformation; private _isVisible; private _timeoutHandle; _proxy: StatusBarMessageRegistryMain; constructor(proxy: StatusBarMessageRegistryMain, commandRegistry: CommandRegistryImpl, alignment?: StatusBarAlignment, priority?: number, id?: string, onDispose?: (() => void) | undefined); get id(): string; get alignment(): theia.StatusBarAlignment; get priority(): number; get name(): string | undefined; get text(): string; get tooltip(): string | theia.MarkdownString | undefined; get tooltip2(): string | theia.MarkdownString | undefined | ((token: theia.CancellationToken) => theia.ProviderResult); get color(): string | ThemeColor | undefined; get backgroundColor(): ThemeColor | undefined; get command(): string | theia.Command; get accessibilityInformation(): theia.AccessibilityInformation; set name(name: string | undefined); set text(text: string); set tooltip2(tooltip: string | theia.MarkdownString | ((token: theia.CancellationToken) => theia.ProviderResult) | undefined); set tooltip(tooltip: string | theia.MarkdownString | undefined); set color(color: string | ThemeColor | undefined); set backgroundColor(backgroundColor: ThemeColor | undefined); set command(command: string | theia.Command); set accessibilityInformation(information: theia.AccessibilityInformation); show(): void; hide(): void; private processTooltip; private update; dispose(): void; static nextId(): string; static ID_PREFIX: string; } //# sourceMappingURL=status-bar-item.d.ts.map