import { IInlineCompletionsService } from "../../../../../editor/browser/services/inlineCompletionsService.service.js"; import { ILanguageService } from "../../../../../editor/common/languages/language.service.js"; import { ITextResourceConfigurationService } from "../../../../../editor/common/services/textResourceConfiguration.service.js"; import { ILanguageFeaturesService } from "../../../../../editor/common/services/languageFeatures.service.js"; import { IStorageService } from "../../../../../platform/storage/common/storage.service.js"; import { ICommandService } from "../../../../../platform/commands/common/commands.service.js"; import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js"; import { IHoverService } from "../../../../../platform/hover/browser/hover.service.js"; import { IMarkdownRendererService } from "../../../../../platform/markdown/browser/markdownRenderer.service.js"; import { INotificationService } from "../../../../../platform/notification/common/notification.service.js"; import { IOpenerService } from "../../../../../platform/opener/common/opener.service.js"; import { ITelemetryService } from "../../../../../platform/telemetry/common/telemetry.service.js"; import { DomWidget } from "../../../../../platform/domWidget/browser/domWidget.js"; import { ChatEntitlementService } from "../../../../services/chat/common/chatEntitlementService.js"; import { IEditorService } from "../../../../services/editor/common/editorService.service.js"; import { IContextViewService } from "../../../../../platform/contextview/browser/contextView.service.js"; import { IChatStatusItemService } from "./chatStatusItemService.service.js"; import { IDefaultAccountService } from "../../../../../platform/defaultAccount/common/defaultAccount.service.js"; 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 readonly notificationService; 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, notificationService: INotificationService); private render; private renderUsageContent; private renderInlineSuggestionsSection; private renderContributedSections; private renderSetupSection; private renderInlineSuggestionsContent; private canUseChat; private renderHeader; private renderTextPlus; private openGitHubUrl; private runCommandAndClose; private formatQuotaResetLabel; private createCreditsUsedIndicator; private createQuotaIndicator; private createGlobalQuotaCallout; private createSettings; private createSetting; private createInlineSuggestionsSetting; private createTriStateLanguageSetting; private findConfiguredCompletionsValue; private findConfiguredCompletionsValues; private getCompletionsSettingAccessor; private createNextEditSuggestionsSetting; private createCompletionsSnooze; }