import React from 'react';
import { UncontrolledFieldProps } from './TextField';
export declare type CodeFieldProps = Pick<UncontrolledFieldProps, 'name' | 'theme'> & {
    className?: string;
    length?: number;
    onComplete: (value: string) => void;
};
export declare type CodeFieldUncontrolledProps = UncontrolledFieldProps & CodeFieldProps;
export declare const CodeField: React.FC<CodeFieldUncontrolledProps>;
