import { View } from "react-native";
type Props = {
    value: string;
    onValueChange: (value: string) => void;
    length: number;
    secret?: boolean;
    autocomplete?: boolean;
    onValidate?: (value: string) => boolean;
    errorMessage?: string;
    accessibilityLabel?: string;
    deleteButtonAccessibilityLabel?: string;
    accessibilityHint?: string;
    accessibilityValueText?: (params: {
        valueLength: number;
        length: number;
    }) => string;
    inputAccessoryViewID?: string;
    autoFocus?: boolean;
};
/**
 * `OTPInput` is a component that allows the user to enter a one-time password.
 * It has an hidden `TextInput` that is used to handle the keyboard and the focus.
 * The input handles the autocompletion of the OTP code.
 * @param value - The value of the OTP code
 * @param onValueChange - The function to call when the value changes
 * @param length - The length of the OTP code
 * @param secret - If the OTP code should be hidden
 * @param autocomplete - If the OTP code should be autocompleted
 * @param onValidate - The function to call when the OTP code is validated
 * @param errorMessage - The error message to display
 * @returns
 */
export declare const OTPInput: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<View>>;
export {};
//# sourceMappingURL=OTPInput.d.ts.map