UNPKG

668 BTypeScriptView Raw
1import { DateLib, type DateLibOptions } from "../classes/DateLib.js";
2import type { Modifiers } from "../types/index.js";
3/**
4 * The ARIA label for the day button.
5 *
6 * Use the `modifiers` argument to add additional context to the label, e.g.
7 * when a day is selected or is today.
8 *
9 * @defaultValue The formatted date.
10 * @group Labels
11 * @see https://daypicker.dev/docs/translation#aria-labels
12 */
13export declare function labelDayButton(date: Date,
14/** The modifiers for the day. */
15modifiers: Modifiers, options?: DateLibOptions, dateLib?: DateLib): string;
16/** @deprecated Use `labelDayButton` instead. */
17export declare const labelDay: typeof labelDayButton;