import { IAction } from "@codingame/monaco-vscode-api/vscode/vs/base/common/actions"; import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { IActionWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actionWidget/browser/actionWidget.service"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service"; import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service"; import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service"; import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service"; import { ActionWidgetDropdownActionViewItem } from "../../../../../platform/actions/browser/actionWidgetDropdownActionViewItem.js"; import { IChatSessionProviderOptionGroup, IChatSessionProviderOptionItem } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService"; import { IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; export interface IChatSessionPickerDelegate { readonly onDidChangeOption: Event; getCurrentOption(): IChatSessionProviderOptionItem | undefined; setOption(option: IChatSessionProviderOptionItem): void; getAllOptions(): IChatSessionProviderOptionItem[]; } /** * Action view item for making an option selection for a contributed chat session * These options are provided by the relevant ChatSession Provider */ export declare class ChatSessionPickerActionItem extends ActionWidgetDropdownActionViewItem { currentOption: IChatSessionProviderOptionItem | undefined; constructor(action: IAction, initialState: { group: IChatSessionProviderOptionGroup; item: IChatSessionProviderOptionItem | undefined; }, delegate: IChatSessionPickerDelegate, actionWidgetService: IActionWidgetService, contextKeyService: IContextKeyService, commandService: ICommandService, chatEntitlementService: IChatEntitlementService, keybindingService: IKeybindingService, telemetryService: ITelemetryService); protected renderLabel(element: HTMLElement): IDisposable | null; render(container: HTMLElement): void; }