import * as React from 'react'; interface UseTextAreaProps { textAreaRef: React.RefObject; minHeight?: number; maxHeight?: number; triggerAutoSize: string; autoResize: boolean; } declare const useTextArea: ({ textAreaRef, triggerAutoSize, maxHeight, minHeight, autoResize, }: UseTextAreaProps) => void; type TextAreaRef = { textArea: HTMLTextAreaElement; focus: () => void; maxHeight: number; minHeight: number; }; interface TextareaProps extends React.TextareaHTMLAttributes { hasError?: boolean; maxHeight?: number; minHeight?: number; autoResize?: boolean; } declare const Textarea: React.ForwardRefExoticComponent>; export { Textarea, useTextArea }; export type { TextareaProps, TextAreaRef }; //# sourceMappingURL=textarea.d.ts.map