import { InputProps } from "./types";
export declare const REQUIRED_ERROR = "This field is required";
/**
 * runValidate runs all the validation functions and returns an array of errors.
 */
export declare const runValidate: <TValue>(value: TValue | null | undefined, { validate, required }: InputProps<TValue, unknown>) => string[];
