import type { BoxProps as BoxProps_2 } from '@mui/material/Box';
import { default as React_2 } from 'react';
import type { TextFieldProps as TextFieldProps_2 } from '@mui/material/TextField';

declare interface BaseMuiOtpInputProps {
    value?: string;
    length?: number;
    autoFocus?: boolean;
    TextFieldsProps?: TextFieldProps & {
        placeholder?: TextFieldProps_2['placeholder'] | ((index: number) => TextFieldProps_2['placeholder']);
    };
    onComplete?: (value: string) => void;
    validateChar?: (character: string, index: number) => boolean;
    onChange?: (value: string) => void;
    onBlur?: (value: string, isCompleted: boolean) => void;
}

declare type BoxProps = Omit<BoxProps_2, 'onChange' | 'onBlur'>;

export declare const MuiOtpInput: React_2.ForwardRefExoticComponent<Omit<MuiOtpInputProps, "ref"> & React_2.RefAttributes<unknown>>;

export declare type MuiOtpInputProps = BoxProps & BaseMuiOtpInputProps;

declare type TextFieldProps = Omit<TextFieldProps_2, 'onChange' | 'select' | 'multiline' | 'defaultValue' | 'value' | 'autoFocus' | 'placeholder'>;

export { }
