import type { Validator } from "../types"; /** * Given a number checks it against an expected maximum. * * @example * * ```ts * import { max } from 'compose-validators'; * * const validate = max(10); * * validate(15) // => { max: 10 } * validate(10) // => {} * ``` * * @param num expected maximum number */ export declare const max: (num: number) => Validator;