import { ReactNode } from 'react';
export type OneTimePasswordLength = 3 | 4 | 5 | 6 | 7 | 8;
export interface OneTimePasswordProps {
    /** Nilai OTP (string dengan panjang sesuai length) */
    value: string;
    /** Callback saat OTP berubah */
    onChange: (value: string) => void;
    /** Jumlah digit (3-8) */
    length?: OneTimePasswordLength;
    /** Title di atas input */
    title?: string | ReactNode;
    /** Description di bawah title */
    description?: string | ReactNode;
    /** Helper text di bawah input */
    helperText?: string | ReactNode;
    /** Apakah OTP dalam state error */
    error?: boolean;
    /** Apakah OTP disabled */
    disabled?: boolean;
    /** Apakah OTP readonly */
    readonly?: boolean;
    /** Class tambahan pada container */
    className?: string;
    /** Callback saat semua digit terisi */
    onComplete?: (value: string) => void;
    /** Auto focus pada mount */
    autoFocus?: boolean;
}
declare function OneTimePassword({ value, onChange, length, title, description, helperText, error, disabled, readonly, className, onComplete, autoFocus, }: OneTimePasswordProps): import("react/jsx-runtime").JSX.Element;
export default OneTimePassword;
//# sourceMappingURL=OneTimePassword.d.ts.map