import { GroupProps, ValidationResult } from 'react-aria-components';
/** @todo extend certain textfield props like name, validationBehavior and isRequired */
interface PinInputProps extends GroupProps {
    description?: string;
    errorMessage?: string | ((validation: ValidationResult) => string);
    label?: string;
    length?: number;
    name?: string;
    onChange?: (...event: any[]) => void;
    value?: string;
    isMasked?: boolean;
    isRequired?: boolean;
    type?: 'alpha' | 'alphanumeric' | 'numeric';
    validationBehavior?: 'native' | 'aria';
}
/** based on https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/src/pin-input/use-pin-input.ts */
export declare function PinInput({ description, errorMessage, isDisabled, isInvalid, isMasked, isRequired, label, length, name, onChange: controlledOnChange, value, type, validationBehavior, ...props }: PinInputProps): import("react/jsx-runtime").JSX.Element;
export declare namespace PinInput {
    var defaultProps: {
        description: undefined;
        errorMessage: undefined;
        isMasked: boolean;
        isRequired: boolean;
        label: undefined;
        length: number;
        name: string;
        onChange: () => void;
        value: string;
        type: string;
        validationBehavior: string;
    };
}
export default PinInput;
