import { IInlineCompletionsService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/inlineCompletionsService.service"; import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service"; import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service"; import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service"; import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service"; import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service"; import { IMarkdownRendererService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer.service"; import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service"; import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service"; import { DomWidget } from "../../../../../platform/domWidget/browser/domWidget.js"; import { ChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService"; import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service"; import { IContextViewService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service"; import { IChatStatusItemService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.service"; import { IDefaultAccountService } from "@codingame/monaco-vscode-api/vscode/vs/platform/defaultAccount/common/defaultAccount.service"; export interface IChatStatusDashboardOptions { /** When true, disables the Inline Suggestions settings section (toggles for all files, language, next edit). */ disableInlineSuggestionsSettings?: boolean; /** When true, disables the inline completions model selection section. */ disableModelSelection?: boolean; /** When true, disables the inline completions provider options section. */ disableProviderOptions?: boolean; /** When true, disables the completions snooze button. */ disableCompletionsSnooze?: boolean; /** When true, the Quick Settings region is rendered always-expanded without a collapsible header. */ disableQuickSettingsCollapsible?: boolean; /** * When provided, the title header (plan name + manage / CTA actions) is * rendered into this caller-owned container instead of inline at the top * of the dashboard. Use this to embed the title header in a host layout * without reaching into the dashboard's private DOM. */ titleHeaderContainer?: HTMLElement; /** * When true, uses a compact 2x2 grid layout for quota indicators: * plan name + percentage on the top row, reset date + label on the bottom. * The separate header (plan name + manage action) is not rendered. */ compactQuotaLayout?: boolean; /** * When provided, CTA buttons (Manage Budget, Upgrade) are rendered into * this caller-owned container instead of the dashboard header. Use this * in compact mode to place action buttons in the host header. */ ctaButtonsContainer?: HTMLElement; } export declare class ChatStatusDashboard extends DomWidget { private readonly options; private readonly chatEntitlementService; private readonly chatStatusItemService; private readonly commandService; private readonly configurationService; private readonly editorService; private readonly hoverService; private readonly languageService; private readonly openerService; private readonly telemetryService; private readonly textResourceConfigurationService; private readonly inlineCompletionsService; private readonly markdownRendererService; private readonly languageFeaturesService; private readonly contextViewService; private readonly storageService; private readonly defaultAccountService; private static readonly QUICK_SETTINGS_COLLAPSED_KEY; readonly element: HTMLElement; private readonly dateFormatter; private readonly timeFormatter; private readonly quotaPercentageFormatter; private readonly quotaCreditsFormatter; constructor(options: IChatStatusDashboardOptions | undefined, chatEntitlementService: ChatEntitlementService, chatStatusItemService: IChatStatusItemService, commandService: ICommandService, configurationService: IConfigurationService, editorService: IEditorService, hoverService: IHoverService, languageService: ILanguageService, openerService: IOpenerService, telemetryService: ITelemetryService, textResourceConfigurationService: ITextResourceConfigurationService, inlineCompletionsService: IInlineCompletionsService, markdownRendererService: IMarkdownRendererService, languageFeaturesService: ILanguageFeaturesService, contextViewService: IContextViewService, storageService: IStorageService, defaultAccountService: IDefaultAccountService); private render; private renderUsageContent; private renderInlineSuggestionsSection; private renderContributedSections; private renderSetupSection; private renderInlineSuggestionsContent; private canUseChat; private renderHeader; private renderTextPlus; private runCommandAndClose; private formatResetAtLabel; private createQuotaIndicator; private createGlobalQuotaCallout; private createSettings; private createSetting; private createInlineSuggestionsSetting; private createTriStateLanguageSetting; private getCompletionsSettingAccessor; private createNextEditSuggestionsSetting; private createCompletionsSnooze; }