import { VariantProps } from "class-variance-authority"; import { buttonVariants } from "../../action/Button/utils"; export type PromptInputProps = { /** Current input value (controlled) */ value: string; /** Called when value changes */ onChange: (value: string) => void; /** Called when the user submits the prompt (button click or Enter key) */ onSubmit: () => void; /** Called when user clicks Cancel during pending state */ onCancel?: () => void; /** Called when user clicks the X (clear/dismiss) button. If omitted, X button is hidden */ onClear?: () => void; /** Accessible label for the clear button */ clearLabel?: string; /** Placeholder text for the textarea */ placeholder?: string; /** Label for the submit button */ submitLabel?: string; /** Label for the cancel button */ cancelLabel?: string; /** Whether the prompt is being processed */ pending?: boolean; /** Suggestion elements to display in the footer; hidden only while pending */ suggestions?: React.ReactNode; /** Action rendered at the start of the footer row, e.g. an attach button. */ leadingAction?: React.ReactNode; /** Whether the textarea should be focused on mount */ autoFocus?: boolean; /** Variant for the submit button */ submitVariant?: VariantProps["variant"]; /** Additional className for the root container */ className?: string; } & React.RefAttributes; export declare function PromptInput({ value, onChange, onSubmit, onCancel, onClear, clearLabel, placeholder, submitLabel, cancelLabel, pending, suggestions, leadingAction, autoFocus, submitVariant, className, ref, }: PromptInputProps): import("react").JSX.Element; export declare namespace PromptInput { var displayName: string; } //# sourceMappingURL=PromptInput.d.ts.map