import React from 'react';
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
export interface TextareaAutosizeProps extends Omit<TextareaProps, 'style'> {
    ref?: React.Ref<HTMLTextAreaElement>;
    maxRows?: number;
    minRows?: number;
    style?: Omit<NonNullable<TextareaProps['style']>, 'maxHeight' | 'minHeight'> & {
        height?: number;
    };
}
export declare function TextareaAutosize({ maxRows, minRows, onChange, ref: userRef, ...props }: TextareaAutosizeProps): import("react/jsx-runtime").JSX.Element;
export {};
