import * as React from 'react';
import { HTMLProps } from 'react';
import { BoxProps } from '../Flex';
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, 'ref'> & {
placeholder?: string;
type?: string;
disabled?: boolean;
value?: string;
autoResizeOnFocus?: boolean;
className?: string;
style?: React.CSSProperties;
} & Omit;
declare const Textarea: React.ForwardRefExoticComponent, "ref"> & {
placeholder?: string;
type?: string;
disabled?: boolean;
value?: string;
autoResizeOnFocus?: boolean;
className?: string;
style?: React.CSSProperties;
} & Omit & React.RefAttributes>;
export default Textarea;