import React from 'react'; import { NormalTypes } from "../utils/prop-types"; declare const resizeTypes: ["none", "both", "horizontal", "vertical", "initial", "inherit"]; export type TextareaResizes = typeof resizeTypes[number]; export type TextareaTypes = NormalTypes; interface Props { value?: string; initialValue?: string; placeholder?: string; type?: TextareaTypes; disabled?: boolean; readOnly?: boolean; onChange?: (e: React.ChangeEvent) => void; onFocus?: (e: React.FocusEvent) => void; onBlur?: (e: React.FocusEvent) => void; className?: string; resize?: TextareaResizes; } type NativeAttrs = Omit, keyof Props>; export type TextareaProps = Props & NativeAttrs; declare const Textarea: React.ForwardRefExoticComponent & import("../use-scale").ScaleProps, "ref"> & React.RefAttributes>; export default Textarea;