export interface DisabledDateRange { start: Date; end: Date; } export type WeekDayType = 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun'; export interface DisabledRules { /** Days of the week to disable (e.g. `['sat', 'sun']` for weekends). */ weekdays?: WeekDayType[]; /** Specific calendar dates to disable. */ dates?: Date[]; /** Inclusive date ranges to disable. */ ranges?: DisabledDateRange[]; /** * Human-readable explanation shown in an InlinePrompt below the calendar grid when * disabled dates exist in the current month. Required for accessibility: it is linked * to disabled cells via `aria-describedby` so screen reader users understand why a * date is unavailable. When an out-of-range date is focused, the built-in boundary * message takes precedence over this text. */ reason: string; } export interface DateChangeMeta { /** Whether the focused date is selectable (not disabled or out of range). */ isEnabled: boolean; } export interface OnDateSelectParams { /** The date that was focused or clicked. */ date: Date; /** Whether the date is selectable (not disabled or out of range). */ isEnabled: boolean; } //# sourceMappingURL=Calendar.types.d.ts.map