import { Validator } from './validator';
export declare enum ValidatorsName {
  file = "file",
  length = "length",
  commitment = "commitment"
}
export interface ValidatorEntry {
  name: string;
  options?: any;
}
export declare const defaultValidator: Validator<any>;
export declare function getValidator<A>(v: string | ValidatorEntry): Validator<A>;
export declare function validatorFactory(name: string, options: any): Validator<any>;
