import { ValidationDefination } from 'indicative-compiler'; /** * Enforces the field value to be a valid Javascript object. * * The validation will fail for `Arrays`, though they are objects too in Javascript. * * ```ts * import { validations } from 'indicative/validator' * * const rules = { * user: 'object' * } * * // or * const rules = { * user: [ * validations.object() * ] * } * ``` */ declare const validation: ValidationDefination; export { validation as default };