import { ValidationDefination } from 'indicative-compiler'; /** * Enforces the field value passes the alpha number regex `/^[a-z0-9]+$/i`. * * ```ts * import { validations } from 'indicative/validator' * * const rules = { * username: 'alpha_numeric' * } * * // or * const rules = { * username: [ * validations.alphaNumeric() * ] * } * ``` */ declare const validation: ValidationDefination; export { validation as default };