import { TextareaAutosizeProps } from 'react-textarea-autosize'; import { ComponentWithAs as _, TextareaProps as ChakraTextareaProps } from '@chakra-ui/react'; export interface TextareaProps extends ChakraTextareaProps { /** * The minimum rows the textarea displays on render. * Defaults to `3`. */ minAutosizeRows?: TextareaAutosizeProps['minRows']; /** * The maximum rows the textarea will automatically resize to. * Defaults to `6`. */ maxAutosizeRows?: TextareaAutosizeProps['maxRows']; /** * Whether the input is in a prefilled state. */ isPrefilled?: boolean; /** * Whether the input is in a success state. */ isSuccess?: boolean; } export declare const Textarea: _<"textarea", TextareaProps>;