import { FrontendApplicationContribution, StatusBar } from '@theia/core/lib/browser'; import { MarkdownStringImpl } from '@theia/core/lib/common/markdown-rendering/markdown-string'; import { PreferenceProviderProvider, PreferenceService } from '@theia/core/lib/common/preferences'; import { DisposableCollection } from '@theia/core'; export declare const SESSION_PREFERENCE_STATUS_BAR_ID = "session-preference-status"; /** * Status bar item that reports preferences whose effective value comes from the * in-memory session scope (typically set via `--session-preference`). Each active * override is listed in the tooltip with a link that opens the Settings UI filtered * to that preference, so the user can read its description there. */ export declare class SessionPreferenceStatusBarContribution implements FrontendApplicationContribution { protected readonly statusBar: StatusBar; protected readonly preferenceService: PreferenceService; protected readonly providerProvider: PreferenceProviderProvider; protected readonly toDispose: DisposableCollection; protected init(): void; onStart(): void; protected refresh(): void; protected collectActive(): ReadonlyArray<[string, unknown]>; protected buildTooltip(entries: ReadonlyArray<[string, unknown]>): MarkdownStringImpl; protected buildOpenSettingsUri(preferenceKey: string): string; /** * Produces a readable, no-code-formatting representation of a preference value: * strings without surrounding JSON quotes, booleans as on/off, primitives as-is, * objects/arrays as compact JSON. The result is shown as plain text in the tooltip. */ protected formatDisplayValue(value: unknown): string; /** Escape `]` so it can't terminate the markdown link early. */ protected escapeLinkText(text: string): string; onStop(): void; } //# sourceMappingURL=session-preference-status-bar-contribution.d.ts.map