import { AriaLabelingProps, DOMProps } from '@react-types/shared'; import { SlotProps } from 'react-aria-components/slots'; import { StylesPropWithHeight } from '@react-spectrum/s2'; import { ToggleButtonGroupProps } from '@react-spectrum/s2/ToggleButtonGroup'; export type MessageFeedbackValue = 'up' | 'down' | null; export interface MessageFeedbackProps extends DOMProps, AriaLabelingProps, SlotProps, Pick { /** The selected feedback value (controlled). */ value?: MessageFeedbackValue; /** The default feedback value (uncontrolled). */ defaultValue?: MessageFeedbackValue; /** Called when the selection changes, including when toggled off (value=null). */ onChange?: (value: MessageFeedbackValue) => void; /** Whether the feedback controls are disabled. */ isDisabled?: boolean; /** Accessible label for the thumbs up button. */ thumbUpLabel?: string; /** Accessible label for the thumbs down button. */ thumbDownLabel?: string; /** Spectrum-defined styles, returned by the `style()` macro. */ styles?: StylesPropWithHeight; } /** * MessageFeedback collects thumbs up / thumbs down feedback on an AI response. */ export declare const MessageFeedback: import("react").ForwardRefExoticComponent>>;