///
import { TextInput } from "react-native";
import { OtpInputProps } from "./OtpInput.types";
export declare const useOtpInput: ({ onTextChange, onFilled, numberOfDigits, disabled, autoFocus, blurOnFilled, type, onFocus, onBlur, placeholder: _placeholder, }: OtpInputProps) => {
models: {
text: string;
inputRef: import("react").RefObject;
focusedInputIndex: number;
isFocused: boolean;
placeholder: string | undefined;
};
actions: {
handlePress: () => void;
handleTextChange: (value: string) => void;
clear: () => void;
focus: () => void;
blur: () => void;
handleFocus: () => void;
handleBlur: () => void;
};
forms: {
setText: import("react").Dispatch>;
setTextWithRef: (value: string) => void;
};
};