export interface Validator<A> {
  validate: (x: A) => boolean;
  errorMessage?: string;
}
export declare function FileValidator(files: any): Validator<any>;
export declare function getLengthValidator(min: number, max: number): Validator<string>;
export declare function getCommitmentValidator(min: number): Validator<string>;
