import { ChatStatus, TSubmitData } from "../../../types/index.js"; import { PromptInputBodyConfig, PromptInputFooterConfig, PromptInputHeaderConfig, PromptInputPanelConfig, PromptInputSuggestionsConfig } from "./types.js"; import "./PromptInput.css"; /** * Props for the PromptInput component */ export type PromptInputProps = { /** View variant: 'full' with all features, 'simple' with minimal UI */ view?: 'full' | 'simple'; /** Callback when message is sent */ onSend: (data: TSubmitData) => Promise; /** Callback when sending is cancelled */ onCancel?: () => Promise; /** Initial value */ initialValue?: string; /** Disabled state */ disabled?: boolean; /** Chat status to determine input behavior */ status?: ChatStatus; /** Maximum length of input */ maxLength?: number; /** Called whenever PromptInput changes its internal value. */ onValueChange?: (value: string) => void; /** Header-related props */ headerProps?: PromptInputHeaderConfig; /** Body/textarea-related props */ bodyProps?: PromptInputBodyConfig; /** Footer-related props */ footerProps?: PromptInputFooterConfig; /** Suggestions-related props */ suggestionsProps?: PromptInputSuggestionsConfig; /** Top panel configuration */ topPanel?: PromptInputPanelConfig; /** Bottom panel configuration */ bottomPanel?: PromptInputPanelConfig; /** Additional CSS class */ className?: string; /** QA/test identifier */ qa?: string; }; /** * PromptInput component - a flexible input component for chat interfaces * with support for simple and full views, attachments, suggestions, and expandable panels * * @param props - Component props * @returns React component */ export declare function PromptInput(props: PromptInputProps): import("react/jsx-runtime").JSX.Element;