import { Ref } from 'react'; import { TextareaProps as BaseTextareaProps, StatefulTextareaProps as BaseStatefulTextareaProps } from '../baseui/textarea'; import { InputSize, InputVariant, FocusPosition } from '../input'; import { Intent, SpacewebComponentProps } from '../types'; import { Override } from '../overrides'; export declare type TextareaProps = SpacewebComponentProps> & { size?: InputSize; variant?: InputVariant; overrides?: { [key in keyof Required['overrides']]?: Override; }; intent?: Intent; debouncedOnChange?: BaseTextareaProps['onChange']; debounceInterval?: number; autoFocus?: FocusPosition; autoSize?: boolean; inputRef?: Ref; }; export declare type StatefulTextareaProps = SpacewebComponentProps> & { size?: InputSize; variant?: InputVariant; overrides?: { [key in keyof Required['overrides']]?: Override; }; debouncedOnChange?: BaseStatefulTextareaProps['onChange']; debounceInterval?: number; autoFocus?: FocusPosition; inputRef?: Ref; };