import { t as Adapter } from "./adapter.types-CDV9mYni.js"; //#region src/grid/grid.libs.d.ts /** * Returns 7 localized weekday names starting from `weekStartDay`. * * @param adapter - Any DateAdapter instance (used only for date construction). * @param locale - BCP 47 locale tag. Falls back to runtime default. * @param weekStartDay - The day the week starts on (0 = Sunday). * @param format - Intl weekday format. Defaults to `'short'`. */ declare function getLocalizedWeekdays(adapter: Adapter.IDateAdapter, locale: string | undefined, weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6, format?: 'long' | 'short' | 'narrow'): string[]; /** * Returns localized month names for the given year. * * Queries the adapter for the actual month count via `getMonthsInYear()` * to support calendar systems with variable months (e.g. Hebrew leap years * with 13 months). Falls back to 12 for adapters that don't implement it. * * @param adapter - Any DateAdapter instance. * @param year - The year to query month count for. * @param locale - BCP 47 locale tag. Falls back to runtime default. * @param format - Intl month format. Defaults to `'long'`. */ declare function getLocalizedMonthNames(adapter: Adapter.IDateAdapter, year: number, locale: string | undefined, format?: 'long' | 'short' | 'narrow'): string[]; /** * Computes the ISO 8601 week number for a given date. * Week 1 is the week containing the first Thursday of the year. * * Pure integer arithmetic on the date's `(year, month, day)` triple - no * intermediate `Date` allocations. The previous implementation allocated two * native `Date` objects per call (plus one via `adapter.toDate`); this version * touches only the native `Date` returned by `adapter.toDate`. * * @param adapter - Any DateAdapter instance. * @param date - The date to compute the week number for. */ declare function getWeekNumber(adapter: Adapter.IDateAdapter, date: TDate): number; //#endregion export { getLocalizedWeekdays as n, getWeekNumber as r, getLocalizedMonthNames as t };