import React from 'react'; import { FieldError } from 'react-hook-form'; import { TextFieldProps } from '@mui/material'; export declare type TTextFieldProps = TextFieldProps & { name: string; className?: string; type?: string; customErrorText?: string | ((name: string, error?: FieldError) => React.ReactNode); transform?: (value: string | number) => string | number; }; export declare const TextField: React.FC;