import { ChangeEvent } from 'react'; import { TextInputBaseProps } from '../TextInputBase'; import { InfoIcon, Label, MessageWithIcon, RequiredIndicator } from '../TextInputBase/components'; type AreaAdditionalProps = { resizeable: boolean; showCounter: boolean; maxLength?: number; }; type BaseProps = TextInputBaseProps; export type TextAreaProps = Omit & { onChange?: (value: string, changeReason: 'change', event?: ChangeEvent) => void; elementsClassNames?: Omit['elementsClassNames'], 'suffix' | 'prefix'>; resizeable?: boolean; maxLength?: number; showLetterCounter?: boolean; }; declare const TextAreaBase: import("react").ForwardRefExoticComponent & { onChange?: (value: string, changeReason: 'change', event?: ChangeEvent) => void; elementsClassNames?: Omit['elementsClassNames'], 'suffix' | 'prefix'>; resizeable?: boolean; maxLength?: number; showLetterCounter?: boolean; } & import("react").RefAttributes>; type TextAreaType = typeof TextAreaBase & { InfoIcon: typeof InfoIcon; MessageWithIcon: typeof MessageWithIcon; RequiredIndicator: typeof RequiredIndicator; Label: typeof Label; }; export declare const TextArea: TextAreaType; export {}; //# sourceMappingURL=TextArea.d.ts.map