import type { TheDate } from "../theDate"; import type { SerializedTheDate } from "../types"; /** * Checks whether a date is strictly less than a threshold. * * **Supported call styles:** * - Classic: `lessThan(input, threshold)` → `boolean` * - Curried: `lessThan(threshold)` → `(input) => boolean` * * All parameters accept `TheDate` or `SerializedTheDate`. * * ```ts * const threshold = D.create("2024-06-20"); * const input = D.create("2024-06-20"); * * const result = D.lessThan(input, threshold); * // result: false * * pipe( * input, * D.lessThan(threshold), * ); // false * ``` * * @remarks * - Strict comparison: `input < threshold`. * * @see https://utils.duplojs.dev/en/v1/api/date/lessThan * * @namespace D * */ export declare function lessThan(threshold: TheDate | SerializedTheDate): (input: GenericValue) => boolean; export declare function lessThan(input: GenericValue, threshold: TheDate | SerializedTheDate): boolean;