import { RNMaskedTextTypes } from '@codeleap/types'; import { TextInputProps } from 'react-native'; import { TextInputMaskProps as RNTextInputMaskProps } from 'react-native-masked-text'; /** `saveFormatted: true` makes the form store the display string (e.g. `"(11) 99999-9999"`) instead of the raw digits — only set this if the backend expects the formatted value, otherwise leave it unset and call `.getRawValue()` via ref before submission. */ type Mask = Partial & { saveFormatted?: boolean; }; export type TextInputMaskProps = Omit & { masking: Mask; onChangeText: RNTextInputMaskProps['onChangeText']; }; export {}; //# sourceMappingURL=textInputMask.d.ts.map