import * as React from 'react'; export interface FieldProps extends React.HTMLProps { vtype?: string; vtypeMsg?: string; onEnterKey?: Function; } export interface FieldRef extends HTMLInputElement { isValid: () => Boolean; } export declare class Field extends React.Component { id: string; el: FieldRef | null | undefined; label: HTMLLabelElement | null | undefined; state: { labelClassName: string; focusCount: number; errmsg: string; }; constructor(props: FieldProps); getDefaults(): { placeholder: string; id: number; className: string; label: string; type: string; icon: string; }; getValue(): string | null | undefined; setValue(val: string): void; isValid(): Boolean; onBlur(e: React.FocusEvent): void; onFocus(e: React.FocusEvent): void; validate(blure?: boolean): Boolean; makeInValid(): void; makeValid(): void; componentDidMount(): void; onKeyUp(e?: React.KeyboardEvent): void; uuidv4(): any; getErrorView(): JSX.Element | undefined; render(): JSX.Element; }