import { TextFieldProps } from "../../components"; import { CSSProperties, ChangeEvent, ReactNode, RefAttributes } from 'react'; import { Control, FieldError, FieldPath, FieldValues, PathValue, UseControllerProps } from 'react-hook-form'; export type TextareaAutosizeElementProps = FieldPath, TValue = unknown> = Omit & { rules?: UseControllerProps['rules']; name: TName; parseError?: (error: FieldError) => ReactNode; control?: Control; resizeStyle?: CSSProperties['resize']; transform?: { input?: (value: PathValue) => TValue; output?: (event: ChangeEvent) => PathValue; }; }; type TextareaAutosizeElementComponent = = FieldPath, TValue = unknown>(props: TextareaAutosizeElementProps & RefAttributes) => JSX.Element; declare const _default: TextareaAutosizeElementComponent; export default _default;