import type { StringMapper } from './types';
interface Matcher {
(input: Input, fields: Fields): boolean;
}
type ErrorContent = string | StringMapper;
export declare function validateNested(validatorDictionary: any): (input: Input, fields: Fields) => any;
export declare function validateList(validatorDictionary: any): (input: Input[], fields: Fields) => any[] | undefined;
export declare function validateWithFields(matcher: Matcher, errorContent: ErrorContent): (input: Input, fields: Fields) => ErrorContent | undefined | void;
export declare function validate(matcher: Matcher, errorContent: ErrorContent): (input: Input) => ErrorContent | undefined | void;
export declare function validateRequired(matcher: Matcher, errorContent: ErrorContent): (input: Input) => ErrorContent | undefined | void;
declare const validators: {
lengthMoreThan(length: number, errorContent: ErrorContent): (input: {
length: number;
}) => ErrorContent | undefined | void;
lengthLessThan(length: number, errorContent: ErrorContent): (input: {
length: number;
}) => ErrorContent | undefined | void;
numericString(errorContent: ErrorContent): (input: string) => ErrorContent | undefined | void;
positiveNumericString(errorContent: ErrorContent): (input: string) => ErrorContent | undefined | void;
nonNumericString(errorContent: ErrorContent): (input: string) => ErrorContent | undefined | void;
requiredString(errorContent: ErrorContent): (input: string) => ErrorContent | undefined | void;
required(errorContent: ErrorContent): (input: any) => ErrorContent | undefined | void;
};
export default validators;
//# sourceMappingURL=validators.d.ts.map