import { type ComponentPropsWithRef } from 'react'; type AbstractProps = { /** 入力値にエラーがあるかどうか */ error?: boolean; /** コンポーネントの幅 */ width?: number | string; /** 自動でフォーカスされるかどうか */ autoFocus?: boolean; /** 自動で広がるかどうか */ autoResize?: boolean; /** 最大行数。超えるとスクロールする。初期値は無限 */ maxRows?: number; /** 行数の初期値。省略した場合は2 */ rows?: number; /** 入力可能な最大文字数。あと何文字入力できるかの表示が追加される。html的なvalidateは発生しない */ maxLetters?: number; /** * placeholder属性は非推奨です。別途ヒント用要素の設置を検討してください。 */ placeholder?: string; }; type Props = AbstractProps & Omit, keyof AbstractProps>; export declare const Textarea: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export {};