import { Validation } from './validation';
export type Validator<T> = (value: T) => boolean | Promise<boolean>;
export declare function validate<T>(subject: T, ...validators: Validator<T>[]): Validation<T>;
export declare function validateAny(subject: any, ...validators: any[]): Validation<any>;
export declare function allValid<T>(subject: T, ...validators: Validator<T>[]): Promise<boolean>;
export declare function anyValid<T>(subject: T, ...validators: Validator<T>[]): Promise<boolean>;
//# sourceMappingURL=validator.d.ts.map