import type { SimpleObject } from '../types'; declare class Validator { errors: SimpleObject; processing: boolean; successful: boolean; constructor(errors?: SimpleObject, processing?: boolean, successful?: boolean); add(field: string, message: string, forceUpdate?: boolean): void; has(field: string | string[]): boolean; first(field: string | string[]): string; firstBy(obj: SimpleObject, field?: string): string; missed(field: string | string[]): boolean; nullState(field: string | string[]): boolean | null; any(field?: string[], returnObject?: boolean): boolean | SimpleObject; get(field: string): string | string[]; all(): SimpleObject; count(): number; fill(errors: SimpleObject): void; flush(): void; clear(field?: string | string[]): void; isValid(): boolean; onKeydown(event: any, prefix?: string): void; fields(field: string | string[]): string[]; } export type { Validator as ValidatorType }; declare const _default: Validator; export default _default;