import React, { type TextareaHTMLAttributes } from 'react';
export declare const shouldBackspaceExitCommandMode: (text: string) => boolean;
export type TextareaComposerProps = Omit, 'style' | 'defaultValue' | 'disabled' | 'value'> & {
closeSuggestionsOnClickOutside?: boolean;
containerClassName?: string;
listClassName?: string;
maxRows?: number;
minRows?: number;
shouldSubmit?: (event: React.KeyboardEvent) => boolean;
};
/**
* Textarea of the message composer, with autocomplete suggestions and screen reader announcements.
* Announcements go to the nearest `AriaLiveOutlet`: the root outlet in `Chat`, or a modal outlet
* inside an `aria-modal` dialog, because assistive technologies ignore live regions outside the
* active modal.
*/
export declare const TextareaComposer: (props: TextareaComposerProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TextareaComposer.d.ts.map