import type { ForwardRefComponent } from '@fluentui/react-utilities'; import type * as React_2 from 'react'; import { renderTextarea_unstable as renderTextarea } from '@fluentui/react-textarea'; import type { TextareaBaseProps } from '@fluentui/react-textarea'; import type { TextareaBaseState } from '@fluentui/react-textarea'; import type { TextareaSlots as TextareaSlots_2 } from '@fluentui/react-textarea'; export { renderTextarea } /** * A textarea component for multi-line text input. */ export declare const Textarea: ForwardRefComponent; /** * Textarea component props */ export declare type TextareaProps = TextareaBaseProps; /** * Textarea component slots */ export declare type TextareaSlots = TextareaSlots_2; /** * Textarea component state */ export declare type TextareaState = TextareaBaseState & { root: { 'data-disabled'?: string; 'data-invalid'?: string; 'data-resize'?: TextareaBaseState['resize']; }; }; /** * Returns the state for a Textarea component, given its props and ref. * The returned state can be modified with hooks before being passed to `renderTextarea`. */ export declare const useTextarea: (props: TextareaProps, ref: React_2.Ref) => TextareaState; export { }