UNPKG

565 BTypeScriptView Raw
1import type { LabelOptions } from "../lib/dateLib.js";
2import { DateLib } from "../types/index.js";
3/**
4 * Return an ARIA label for the month grid, that will be announced when entering
5 * the grid.
6 *
7 * @defaultValue `LLLL y` (e.g. "November 2022")
8 * @group Labels
9 * @see https://daypicker.dev/docs/translation#aria-labels
10 */
11export declare function labelGrid(date: Date, options?: LabelOptions,
12/** @ignore */
13dateLib?: DateLib): string;
14/**
15 * @deprecated Use {@link labelGrid} instead.
16 * @protected
17 */
18export declare const labelCaption: typeof labelGrid;