import { TNode } from '../common';
export interface TdTextareaProps {
    allowInputOverMax?: boolean;
    autofocus?: boolean;
    autosize?: boolean | {
        minRows?: number;
        maxRows?: number;
    };
    bordered?: boolean;
    cursorColor?: string;
    disabled?: boolean;
    indicator?: boolean;
    label?: string | TNode;
    layout?: 'vertical' | 'horizontal';
    maxcharacter?: number;
    maxlength?: string | number;
    name?: string;
    placeholder?: string;
    readonly?: boolean;
    value?: TextareaValue;
    defaultValue?: TextareaValue;
    modelValue?: TextareaValue;
    onBlur?: (value: TextareaValue, context: {
        e: FocusEvent;
    }) => void;
    onChange?: (value: TextareaValue, context?: {
        e?: InputEvent;
    }) => void;
    onFocus?: (value: TextareaValue, context: {
        e: FocusEvent;
    }) => void;
}
export type TextareaValue = string | number;
