import { FieldPath, FieldValues, UseControllerProps } from 'react-hook-form'; import { CodeFieldProps } from '../code-field'; export type RHFCodeFieldProps = FieldPath, Nullable extends boolean = true> = Omit & UseControllerProps & { /** * When enabled, an empty string input ("") will be treated as a null value for the field * @default true */ nullable?: Nullable; onChange?: (value: Nullable extends true ? string | null : string) => void; }; declare function RHFCodeField>(inProps: RHFCodeFieldProps): import("react/jsx-runtime").JSX.Element; declare module '@mui/material' { interface Components { RemateRHFCodeField?: { defaultProps?: Partial; }; } } export default RHFCodeField; //# sourceMappingURL=RHFCodeField.d.ts.map