import { DayOfWeek } from '../../types'; /** Business hours range in `HH:mm:ss` format */ export type BusinessHoursRange = [string, string]; /** Per-day business hours map keyed by day of the week (0 – Sunday, 6 – Saturday). `null` marks a day as fully outside business hours. */ export type BusinessHoursPerDay = Partial>; /** Business hours value – tuple applies to every day, record configures business hours per day */ export type BusinessHoursValue = BusinessHoursRange | BusinessHoursPerDay; export interface GetBusinessHoursModInput { time: string; businessHours?: BusinessHoursValue; highlightBusinessHours?: boolean; dayOfWeek?: DayOfWeek; } export interface BusinessHoursMod { 'business-hours': boolean; 'non-business-hours': boolean; } /** * Determines if a given time is within business hours and returns modifier object * @param time - Time string in HH:mm:ss format * @param businessHours - Tuple of [start, end] times in HH:mm:ss format, or per-day record keyed by day of the week * @param highlightBusinessHours - Whether to highlight business hours * @param dayOfWeek - Day of the week (0 – Sunday, 6 – Saturday), used to resolve per-day business hours * @returns Modifier object for styling business/non-business hours */ export declare function getBusinessHoursMod({ time, businessHours, highlightBusinessHours, dayOfWeek, }: GetBusinessHoursModInput): BusinessHoursMod;