import { type CalendarSelectionMode, type IsoRange } from './selection'; import type { CalendarWeek, IntlLocale } from './types'; export type { CalendarSelectionMode, IsoRange }; /** * Returns the JS weekday index (0 = Sunday) that starts the week for `locale`. * * @remarks Uses `Intl.Locale.weekInfo` when available; falls back to Monday except en-US. */ export declare function getWeekStartsOn(locale: IntlLocale): number; export type BuildCalendarMonthOptions = { locale: IntlLocale; selectionMode?: CalendarSelectionMode; /** Single mode: selected ISO. Multiple: comma-separated. Range: `start/end`. */ value?: string; /** Active range while selecting (anchor + hover preview). */ rangeDraft?: { anchor: string | null; hover: string | null; }; min?: string; max?: string; today?: Date; }; /** Builds a month grid with leading/trailing days from adjacent months. */ export declare function buildCalendarMonth(year: number, month: number, options: BuildCalendarMonthOptions): CalendarWeek[];