export type BlockReason = 'range' | 'disabled-date' | 'disabled-weekday' | 'not-enabled' | 'rule'; export declare const BLOCK_ORDER: readonly BlockReason[]; export interface AvailabilityInput { min?: string | null; max?: string | null; disabledDates?: string | string[] | null; disabledWeekdays?: string | number[] | null; enabledDates?: string | string[] | null; isDateDisabled?: ((date: string) => boolean) | null; } export interface Availability { min: string | null; max: string | null; disabledDates: Set; disabledWeekdays: Set; enabledDates: Set | null; isDateDisabled: ((date: string) => boolean) | null; } export declare function buildAvailability(input: AvailabilityInput): Availability; export declare const isInRange: (date: string, rules: Pick) => boolean; export declare function blockReason(date: string, rules: Availability): BlockReason | null; export declare const blockKind: (reason: BlockReason | null) => "closed" | "unavailable" | null;