import { ValidationDefination } from 'indicative-compiler'; /** * Enforces the value to have minimum length as per defined by the rule. The * value type has to be a `string` or `array`, otherwise validation will * fail. * * ```ts * import { validations } from 'indicative/validator' * * const rules = { * password: 'min:6' * } * * // or * const rules = { * password: [ * validations.min([6]) * ] * } * ``` */ declare const validation: ValidationDefination; export { validation as default };