import React from 'react';
import { NormalTypes } from '../utils/prop-types';
declare const resizeTypes: ["none", "both", "horizontal", "vertical", "initial", "inherit"];
export type TextareaResizes = typeof resizeTypes[number];
export type TextareaTypes = NormalTypes;
interface Props {
    value?: string;
    initialValue?: string;
    placeholder?: string;
    type?: TextareaTypes;
    disabled?: boolean;
    readOnly?: boolean;
    onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
    onFocus?: (e: React.FocusEvent<HTMLTextAreaElement>) => void;
    onBlur?: (e: React.FocusEvent<HTMLTextAreaElement>) => void;
    className?: string;
    resize?: TextareaResizes;
}
type NativeAttrs = Omit<React.TextareaHTMLAttributes<any>, keyof Props>;
export type TextareaProps = Props & NativeAttrs;
declare const Textarea: React.ForwardRefExoticComponent<Omit<Props & NativeAttrs & {
    children?: React.ReactNode | undefined;
} & React.RefAttributes<HTMLTextAreaElement> & {
    width?: string | number;
    height?: string | number;
    padding?: string | number;
    margin?: string | number;
    w?: string | number;
    h?: string | number;
    paddingLeft?: string | number;
    paddingRight?: string | number;
    paddingTop?: string | number;
    paddingBottom?: string | number;
    pl?: string | number;
    pr?: string | number;
    pt?: string | number;
    pb?: string | number;
    marginLeft?: string | number;
    marginRight?: string | number;
    marginTop?: string | number;
    marginBottom?: string | number;
    ml?: string | number;
    mr?: string | number;
    mt?: string | number;
    mb?: string | number;
    px?: string | number;
    py?: string | number;
    mx?: string | number;
    my?: string | number;
    font?: string | number;
    unit?: string;
    scale?: number;
    children?: any;
    className?: string;
} & React.InputHTMLAttributes<any>, "ref"> & React.RefAttributes<unknown>>;
export default Textarea;
