/** * Property decorator factory that requires a numeric field to be less than or * equal to `maximum`. Non-numeric values fail. Reuses the existing * {@link maxValue} validator. * * @param maximum - The largest accepted value. * @returns A property decorator. * * @example * ```typescript * class Rating { * @Max(5) stars = 0; * } * ``` */ export declare const Max: (maximum: number) => (target: object, propertyKey: string | symbol) => void;