import { default as React } from 'react'; import { SuggestionConfig } from './types'; export interface RichTextInputRef { focus: () => void; getValue: () => string; setValue: (value: string) => void; insertText: (text: string) => void; } export interface RichTextInputProps { /** * Current value of the input * @default '' */ value?: string; /** * Placeholder text when empty * @default 'Type a message...' */ placeholder?: string; /** * Whether the input is disabled * @default false */ disabled?: boolean; /** * Whether to auto-focus on mount. * @default true */ autoFocus?: boolean; /** * Additional CSS classes */ className?: string; /** * Minimum height in pixels. * @default 24 */ minHeight?: number; /** * Maximum height in pixels. * @default 200 */ maxHeight?: number; /** * Configuration for @ mentions */ mentions?: SuggestionConfig; /** * Configuration for / slash commands */ commands?: SuggestionConfig; /** * Callback when user submits (presses Enter) */ onSubmit?: (value: string) => void; /** * Callback when input value changes */ onChange?: (value: string) => void; } export declare const RichTextInput: React.ForwardRefExoticComponent>;