/** * Day-level availability rules shared by the two booking pickers. * * The calendar endpoint already omits days a branch is closed, so a day it * never returns is simply absent. These rules cover what the endpoint cannot * express: a weekday a deployment never takes bookings on, and one-off blackout * dates — a holiday, a stock-take, a branch-wide event. * * A day matched here is rendered *disabled* rather than dropped, so a customer * can see the day exists and is merely not bookable, instead of wondering why * their calendar skips a date. */ /** Accepts `[5, 6]`, `"5,6"`, `"5 6"` or `"[5,6]"` — 0 is Sunday, 6 Saturday. */ export declare function parseWeekdayList(input?: string | number[] | null): number[]; /** Accepts an array or a comma/space separated string of `YYYY-MM-DD` dates. */ export declare function parseDateList(input?: string | string[] | null): string[]; /** * `2026-08-13` → 0 (Sunday) … 6 (Saturday). * * Built at midday on purpose: a midnight Date in a negative-offset zone rolls * back a day, which would shift every weekday by one. */ export declare function weekdayOf(date: string): number; /** True when the day exists but must not be selectable. */ export declare function isDayBlocked(date: string, weekdays: number[], dates: string[]): boolean;