import { createRule, type ValidationContext } from '../core'; type BaseMinValidationTypes = number | string | unknown[]; type CommonThreshold = number | Date; type MinParams = { /** * Сообщение ошибки */ getMessage?: (threshold: CommonThreshold, value: TValidationType, ctx: ValidationContext) => string; }; /** * Проверяет значение на соответствие минимуму. Работает с: string, array, Date, number * @param threshold - нижний доступный порог value * @example * ```ts * string(min(22)); * * number(min(22)); * * array(min(2))); * * date(min(new Date()))); * ``` */ export declare function min = {}>(threshold: Date, params?: MinParams): ReturnType>; export declare function min = {}>(threshold: number, params?: MinParams): ReturnType>; export {};