import { Request } from "../http"; export declare class RulesList { protected readonly input: string; protected readonly value: any; protected readonly rules: any; /** * Errors list */ protected errorsList: any; /** * Request instance */ protected request: Request; /** * Constructor */ constructor(input: string, value: any, rules: any); /** * Set request */ setRequest(request: Request): this; /** * Validate the rules */ validate(): Promise; /** * Check if validator fails */ fails(): boolean; /** * Check if validator passes */ passes(): boolean; /** * Get errors list */ errors(): { [x: number]: any; }; } //# sourceMappingURL=rules-list.d.ts.map