import { ReactNode } from 'react'; import type { TextAreaProps } from '@gravity-ui/uikit'; import "./PromptInputBody.css"; /** * Props for the PromptInputBody component */ export type PromptInputBodyProps = { /** Value of the textarea */ value?: string; /** Placeholder text */ placeholder?: string; /** Maximum length of input */ maxLength?: number; /** Size of the textarea. Defaults to `l`, or `xl` in mobile mode */ size?: TextAreaProps['size']; /** Minimum number of rows */ minRows?: number; /** Maximum number of rows */ maxRows?: number; /** Auto focus on mount */ autoFocus?: boolean; /** Disabled state for input */ disabledInput?: boolean; /** Change handler */ onChange?: (value: string) => void; /** Key down handler */ onKeyDown?: (event: React.KeyboardEvent) => void; /** Custom content to replace the default textarea */ children?: ReactNode; /** Additional CSS class */ className?: string; /** Additional CSS class for input element */ inputClassName?: string; /** QA/test identifier */ qa?: string; }; /** * PromptInputBody component displays the main input area * with textarea or custom content * * @param props - Component props * @returns React component */ export declare const PromptInputBody: import("react").ForwardRefExoticComponent>;