import { SchemaRule } from "../../types/rule-types.mjs"; //#region ../@warlock.js/seal/src/rules/date/date-period-rules.d.ts declare const MONTHS: { 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; 7: string; 8: string; 9: string; 10: string; 11: string; 12: string; }; type Month = keyof typeof MONTHS; /** * Month rule - date must be in specific month (1-12) */ declare const monthRule: SchemaRule<{ month: Month; }>; /** * Year rule - date must be in specific year */ declare const yearRule: SchemaRule<{ year: number; }>; /** * Between years rule - date must be between start and end years * Supports field names with sibling scope */ declare const betweenYearsRule: SchemaRule<{ startYear: number | string; endYear: number | string; scope?: "global" | "sibling"; }>; /** * Between months rule - date must be between start and end months (1-12) * Supports field names with sibling scope */ declare const betweenMonthsRule: SchemaRule<{ startMonth: Month | string; endMonth: Month | string; scope?: "global" | "sibling"; }>; /** * Between days rule - date must be between start and end days (1-31) * Supports field names with sibling scope */ declare const betweenDaysRule: SchemaRule<{ startDay: number | string; endDay: number | string; scope?: "global" | "sibling"; }>; /** * Quarter rule - date must be in specific quarter (1-4) */ declare const quarterRule: SchemaRule<{ quarter: 1 | 2 | 3 | 4; }>; /** * Between times rule - time must be between start and end times (HH:MM format) */ declare const betweenTimesRule: SchemaRule<{ startTime: string; endTime: string; }>; /** * Min year rule - year must be >= given year or field * Smart detection: number or field name * Supports both global and sibling scope */ declare const minYearRule: SchemaRule<{ yearOrField: number | string; scope?: "global" | "sibling"; }>; /** * Max year rule - year must be <= given year or field * Smart detection: number or field name * Supports both global and sibling scope */ declare const maxYearRule: SchemaRule<{ yearOrField: number | string; scope?: "global" | "sibling"; }>; /** * Min month rule - month must be >= given month or field (1-12) * Smart detection: number or field name * Supports both global and sibling scope */ declare const minMonthRule: SchemaRule<{ monthOrField: number | string; scope?: "global" | "sibling"; }>; /** * Max month rule - month must be <= given month or field (1-12) * Smart detection: number or field name * Supports both global and sibling scope */ declare const maxMonthRule: SchemaRule<{ monthOrField: Month | string; scope?: "global" | "sibling"; }>; /** * Min day rule - day must be >= given day or field (1-31) * Smart detection: number or field name * Supports both global and sibling scope */ declare const minDayRule: SchemaRule<{ dayOrField: number | string; scope?: "global" | "sibling"; }>; /** * Max day rule - day must be <= given day or field (1-31) * Smart detection: number or field name * Supports both global and sibling scope */ declare const maxDayRule: SchemaRule<{ dayOrField: number | string; scope?: "global" | "sibling"; }>; //#endregion export { Month, betweenDaysRule, betweenMonthsRule, betweenTimesRule, betweenYearsRule, maxDayRule, maxMonthRule, maxYearRule, minDayRule, minMonthRule, minYearRule, monthRule, quarterRule, yearRule }; //# sourceMappingURL=date-period-rules.d.mts.map