import type React from 'react'; import type { TextFieldProps as MuiTextFieldProps } from '@mui/material'; export type TextFieldProps = Omit & { /** * Automatically sets the text direction based on the user's input language * @default true */ autoDirection?: boolean; /** * When enabled, an empty string input ("") will be treated as a null value for the field * @default true */ nullable?: Nullable; /** * Enables automatic trimming of the input value when the field loses focus (on blur). * This means leading and trailing whitespace will be removed. * * @default true */ trim?: boolean; onChange?: (value: Nullable extends true ? string | null : string, event: React.ChangeEvent) => void; }; declare function TextField(inProps: TextFieldProps): import("react/jsx-runtime").JSX.Element; declare module '@mui/material' { interface Components { ReevolveTextField?: { defaultProps?: Partial; }; } } export default TextField; //# sourceMappingURL=TextField.d.ts.map