import type { BoxProps as MuiBoxProps } from '@mui/material/Box';
import type { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
type TextFieldProps = Omit<MuiTextFieldProps, 'onChange' | 'select' | 'multiline' | 'defaultValue' | 'value' | 'autoFocus' | 'placeholder'>;
type BoxProps = Omit<MuiBoxProps, 'onChange' | 'onBlur'>;
export interface BaseMuiOtpInputProps {
    value?: string;
    length?: number;
    autoFocus?: boolean;
    TextFieldsProps?: TextFieldProps & {
        placeholder?: MuiTextFieldProps['placeholder'] | ((index: number) => MuiTextFieldProps['placeholder']);
    };
    onComplete?: (value: string) => void;
    validateChar?: (character: string, index: number) => boolean;
    onChange?: (value: string) => void;
    onBlur?: (value: string, isCompleted: boolean) => void;
}
export type MuiOtpInputProps = BoxProps & BaseMuiOtpInputProps;
export {};
