import { ValidationDefination } from 'indicative-compiler'; /** * Enforces the field value to be not empty. Empty string, `null` and `undefined` * are considered empty. * * ```ts * import { validations } from 'indicative/validator' * * const rules = { * username: 'required' * } * * // or * const rules = { * username: [ * validations.required() * ] * } * ``` */ declare const validation: ValidationDefination; export { validation as default };