import React, { type TextareaHTMLAttributes } from 'react';
export declare const shouldBackspaceExitCommandMode: (text: string) => boolean;
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) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TextareaComposer.d.ts.map