import { Validation } from 'formsy-react/dist/interfaces'; declare type FixedValidationsStructure = { [key: string]: number | Validation; }; export declare type Rule = { required?: boolean; message?: string; } & FixedValidationsStructure; interface ValidationErrorType { [x: string]: string; } export declare const convertRules: (rules?: Rule[] | undefined) => { required: boolean | undefined; validations: FixedValidationsStructure; validationErrors: ValidationErrorType; } | undefined; export {};