import { NativeSyntheticEvent, TextInputFocusEventData } from 'react-native/types'; import { NumberIncrementProps } from './types'; /** Beyond this value JS floating-point arithmetic loses integer precision, so increment/decrement results become unreliable. */ export declare const MAX_VALID_DIGITS = 1000000000000000; export declare function useNumberIncrement(props: Partial): { isFocused: boolean; handleBlur: (e: NativeSyntheticEvent) => void; handleFocus: (e: NativeSyntheticEvent) => void; handleMaskChange: (masked: any, unmasked: any) => void; handleChange: (action: "increment" | "decrement") => void; handleChangeInput: (text: string) => number | undefined; fieldHandle: Partial<{ validation: { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: unknown; }; value: unknown; setValue: (to: unknown) => void; changed: boolean; representation: any; options: import("@codeleap/form").FieldOptions; }> | { validation: { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: number; }; value: number; setValue: (to: number) => void; changed: boolean; representation: any; options: import("@codeleap/form").FieldOptions; }; validation: { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: unknown; } | { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: number; } | undefined; innerInputRef: import("react").RefObject; wrapperRef: import("react").RefObject; hasValue: boolean; hasError: string | true | undefined; incrementDisabled: boolean; decrementDisabled: boolean; min: number | undefined; max: number | undefined; inputValue: number; onInputValueChange: ((value: number) => void) | undefined; }; //# sourceMappingURL=useNumberIncrement.d.ts.map