import { CSSProperties, ReactNode, Ref, TextareaHTMLAttributes } from 'react'; import { SlotClassNames, SlotStyles, DataProps } from '../types/slots.types.js'; export type ChatComposerSlots = 'input' | 'button'; /** Text ChatComposer renders of its own, for translating it. */ export interface ChatComposerLabels { /** Shown in the empty field, and its accessible name. */ placeholder?: string; /** Send button, read out by screen readers. */ send?: string; /** Stop button shown while `onStop` is set, read out by screen readers. */ stop?: string; } /** Native attributes go to the `