import * as react_jsx_runtime from 'react/jsx-runtime';
import { InputHTMLAttributes, Dispatch, SetStateAction } from 'react';
import { VariantProps as VariantPropsInternal } from './variants.js';

declare const pinCode: (props?: ({
    variant?: "flat" | "outline" | undefined;
    size?: "sm" | "md" | "lg" | undefined;
    disabled?: boolean | undefined;
    error?: boolean | undefined;
} & {
    className?: string;
}) | undefined) => string;
type PinCodeVariant = VariantPropsInternal<typeof pinCode>;
interface PinCodeProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value'> {
    setValue?: Dispatch<SetStateAction<string | number | undefined>>;
    type?: 'text' | 'number';
    mask?: boolean;
    length?: number;
    center?: boolean;
    placeholder?: string;
    size?: PinCodeVariant['size'];
    variant?: PinCodeVariant['variant'];
    error?: string;
    inputClassName?: string;
    errorClassName?: string;
    label?: string;
}
declare function PinCode({ type, defaultValue, mask, length, setValue, center, size, variant, placeholder, error, className, inputClassName, errorClassName, disabled, onChange, label, ...props }: PinCodeProps): react_jsx_runtime.JSX.Element;
declare namespace PinCode {
    var displayName: string;
}

export { PinCode, type PinCodeProps };
