import type{LyraEventDetailSnapshot}from'../../../internal/lyra-element.js';import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';import'../../utility/copy-button/copy-button.class.js';import'../message-feedback/message-feedback.class.js';import type{LyraClipboardWriteFailure,LyraClipboardWriteSuccess}from'../../../internal/clipboard.js';import type{MessageFeedbackSubmitDetail,MessageFeedbackValue}from'../message-feedback/message-feedback.class.js';export type MessageActionControl='copy'|'regenerate'|'edit'|'feedback';export interface LyraMessageActionsEventMap{'lr-regenerate':CustomEvent;'lr-edit':CustomEvent;'lr-copy':CustomEvent;'lr-error':CustomEvent;'lr-copy-error':CustomEvent;'lr-feedback-change':CustomEvent<{rating:MessageFeedbackValue;}>;'lr-feedback-submit':CustomEvent>;} /** * `` — the per-message action toolbar for ``'s `actions` * slot: opt-in built-ins (copy / regenerate / edit / feedback) that emit intent events, plus a * default slot for custom controls (e.g. a slotted ``). It performs nothing * itself except the copy. * * `[part="base"]` is `role="toolbar"` with the WAI-ARIA APG roving-tabindex pattern applied to the * plain `