import { LitElement, TemplateResult, PropertyValues, CSSResult } from 'lit'; import { FeedbackType } from '../ai-chatbot/types.js'; declare global { interface HTMLElementTagNameMap { 'forge-ai-response-message-toolbar': AiResponseMessageToolbarComponent; } interface HTMLElementEventMap { 'forge-ai-response-message-toolbar-action': CustomEvent; 'forge-ai-response-message-toolbar-feedback': CustomEvent; } } export interface ForgeAiResponseMessageToolbarActionEventData { action: AiResponseMessageToolbarAction; } export interface ForgeAiResponseMessageToolbarFeedbackEventData { action: 'positive' | 'negative'; feedback?: string; } export type AiResponseMessageToolbarAction = 'resend' | 'copy' | 'thumbs-up' | 'thumbs-down'; export declare const AiResponseMessageToolbarComponentTagName: keyof HTMLElementTagNameMap; /** * @tag forge-ai-response-message-toolbar * * @event {CustomEvent} forge-ai-response-message-toolbar-action - Fired when an action button is clicked. The detail contains the action type. * @event {CustomEvent} forge-ai-response-message-toolbar-feedback - Fired when feedback is submitted. The detail contains the action and optional feedback text. */ export declare class AiResponseMessageToolbarComponent extends LitElement { #private; static styles: CSSResult; enableReactions: boolean; feedbackType?: FeedbackType; feedbackReason?: string; private _thumbsUpActive; private _thumbsDownActive; private _popoverOpen; private _thumbsDownButton; private _thumbsDownPopover; private _thumbsDownFeedbackTextarea?; willUpdate(changedProperties: PropertyValues): void; render(): TemplateResult; }