import * as React from 'react';
import { BoxProps } from 'rebass';
import { HTMLProps } from 'react';
export declare const baseClassName = "ab-Textarea";
/**
 * Autoheight strategy:
 * - save initial height
 * - when focused, expand to fit content - max x px
 * - when blurred, shrink to initial height
 * - when typing, expand to fit content - max x px
 */
export type TextareaProps = Omit<HTMLProps<HTMLTextAreaElement>, 'ref'> & {
    placeholder?: string;
    type?: string;
    disabled?: boolean;
    value?: string;
    autoResizeOnFocus?: boolean;
} & Omit<BoxProps, 'ref'>;
declare const Textarea: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLTextAreaElement>, "ref"> & {
    placeholder?: string;
    type?: string;
    disabled?: boolean;
    value?: string;
    autoResizeOnFocus?: boolean;
} & Omit<BoxProps, "ref"> & React.RefAttributes<HTMLDivElement | HTMLTextAreaElement | HTMLInputElement>>;
export default Textarea;
