import * as React from 'react';
import type { TextareaProps } from './types';
import type { FocusEvent } from 'react';
declare class Textarea extends React.Component<TextareaProps, {
    isFocused: boolean;
}> {
    static defaultProps: {
        autoFocus: boolean;
        disabled: boolean;
        readOnly: boolean;
        error: boolean;
        name: string;
        onBlur: () => void;
        onChange: () => void;
        onKeyDown: () => void;
        onKeyPress: () => void;
        onKeyUp: () => void;
        onFocus: () => void;
        overrides: {};
        placeholder: string;
        required: boolean;
        rows: number;
        size: "default";
    };
    state: {
        isFocused: boolean;
    };
    onFocus: (e: FocusEvent<HTMLTextAreaElement>) => void;
    onBlur: (e: FocusEvent<HTMLTextAreaElement>) => void;
    render(): React.JSX.Element;
}
export default Textarea;
