import { Disposable } from "../../../../../base/common/lifecycle.js"; import { IAction } from "../../../../../base/common/actions.js"; import { IActionViewItemService } from "../../../../../platform/actions/browser/actionViewItemService.service.js"; import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js"; import { IWorkbenchContribution } from "../../../../common/contributions.js"; export declare const ChatModelFeedbackSurveyActionId = "workbench.action.chat.openModelFeedbackSurvey"; export declare class ChatModelFeedbackSurveyActionRendering extends Disposable implements IWorkbenchContribution { static readonly ID = "chat.modelFeedbackSurveyActionRendering"; constructor(actionViewItemService: IActionViewItemService, instantiationService: IInstantiationService); } /** The part of a toolbar needed to find and focus one of its actions. */ export interface IFeedbackSurveyToolBar { getItemsLength(): number; getItemAction(index: number): IAction | undefined; focus(index?: number): void; } /** * Puts focus on the feedback control in `toolbar`, used when the survey panel it opened is torn * down. Falls back to the toolbar itself when the control is not currently shown. */ export declare function focusChatModelFeedbackSurveyAction(toolbar: IFeedbackSurveyToolBar): void; export declare function registerChatModelFeedbackSurveyActions(): void;