import React from 'react';
import { ViewProps, StyleProp, TextStyle } from 'react-native';
export interface TextAreaProps extends ViewProps {
    /** 文本位置 */
    textAlignVertical?: 'top' | 'center' | 'auto' | 'bottom' | undefined;
    /** 默认提示语 */
    placeholder?: string;
    /** 提示语颜色 */
    placeholderTextColor?: string;
    /** 最大字符数 */
    maxLength?: number;
    /** 输入框的行数
     * Android平台
     */
    numberOfLines?: number;
    /** 是否禁用 */
    editable?: boolean;
    /** 文本域内容变化时触发 */
    onChange?: (val: string) => void;
    /** 文本框中的文字内容 */
    value?: string;
    /** 是否展示字数 */
    showWords?: boolean;
    /** 输入框文字样式 */
    fontStyle?: StyleProp<TextStyle>;
    /** 自适应内容高度 */
    autoSize?: boolean;
    /** 初始高度 */
    height?: number;
    /** 是否允许拖拽 */
    draggable?: boolean;
}
declare function TextArea(props: TextAreaProps): React.JSX.Element;
export default TextArea;
