import { RefAttributes } from 'react'; import { BoxProps, BoxTagProps } from '../box'; import { ComponentsAndVariants } from '../types'; declare const tagProps: readonly ["name", "onInput", "onChange", "placeholder", "value", "defaultValue", "rows", "cols", "autoFocus", "maxLength", "minLength", "readOnly"]; type TagPropsType = (typeof tagProps)[number]; type TextareaProps = Omit, 'tag' | 'props'>; type TextareaTagProps = Omit, TagPropsType | 'type'>; interface Props extends TextareaProps { name?: string; props?: TextareaTagProps; onInput?: (e: React.ChangeEvent) => void; onChange?: (e: React.ChangeEvent) => void; placeholder?: string; value?: string; defaultValue?: string; rows?: number; cols?: number; autoFocus?: boolean; maxLength?: number; minLength?: number; readOnly?: boolean; required?: boolean; } declare const _default: (props: Props & RefAttributes) => React.ReactNode; export default _default;