import { default as React } from 'react';

export interface Props extends React.HTMLAttributes<HTMLDivElement> {
    label?: any;
    maxLength: number;
    disabled?: boolean;
    readOnly?: boolean;
    errorSpan?: boolean;
    loading?: boolean;
    required?: boolean;
    externalError?: any;
    id?: string;
    name?: string;
    placeholder?: string;
    externalIcon?: any;
    errorIcon?: any;
    value?: string;
    backgroundColor?: string;
    requiredOnLoad?: boolean;
    type?: 'text' | 'password';
    onTimeout?: (event: any) => any;
    onChange?: (event: any) => any;
    onValidate?: (event: any) => any;
}
export interface State {
    error: string;
    value: string;
    validatedDocument: boolean;
}
declare const _default: ({ label, maxLength: maxLength, disabled, readOnly, errorSpan, loading, requiredOnLoad, required, externalError, id, name, errorIcon, externalIcon, value, backgroundColor, className, type, placeholder, onTimeout, onChange, onValidate, }: Props) => import("react/jsx-runtime").JSX.Element;
export default _default;
