import type { TextareaHTMLAttributes } from 'react';
import React from 'react';
export type TextareaComposerProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'style' | 'defaultValue' | 'disabled' | 'value'> & {
    closeSuggestionsOnClickOutside?: boolean;
    containerClassName?: string;
    listClassName?: string;
    maxRows?: number;
    minRows?: number;
    shouldSubmit?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => boolean;
};
export declare const TextareaComposer: ({ className, closeSuggestionsOnClickOutside, containerClassName, listClassName, maxRows: maxRowsProp, minRows: minRowsProp, onBlur, onChange, onKeyDown, onScroll, onSelect, placeholder: placeholderProp, shouldSubmit: shouldSubmitProp, ...restTextareaProps }: TextareaComposerProps) => React.JSX.Element;
