import { IValidations } from './interface'; export declare type MapKeyOrMessage = String | { [key: string]: string; }; /** * * * @export * @abstract * @class ValidationModel */ export declare abstract class ValidationModel { private static _validations; private _errors; /** * * * @static */ protected static MAP: { accepted: string; blank: string; present: string; confirmation: string; empty: string; equal_to: string; even: string; exclusion: string; greaterThan: string; greaterThanOrEqualTo: string; inclusion: string; invalid: string; less_than: string; less_than_or_equal_to: string; model_invalid: string; not_a_number: string; not_an_integer: string; notEqualTo: string; odd: string; required: string; taken: string; }; static validates(property: string, validations: IValidations): void; addError(property: string, keyOrMessage?: MapKeyOrMessage, params?: any): void; readonly errors: any; readonly isValid: boolean; }