UNPKG

511 BTypeScriptView Raw
1import { DateLib, type DateLibOptions } from "../classes/DateLib.js";
2/**
3 * Format the caption of the month.
4 *
5 * @defaultValue `LLLL y` (e.g. "November 2022")
6 * @group Formatters
7 * @see https://daypicker.dev/docs/translation#custom-formatters
8 */
9export declare function formatCaption(month: Date, options?: DateLibOptions, dateLib?: DateLib): string;
10/**
11 * @private
12 * @deprecated Use {@link formatCaption} instead.
13 * @group Formatters
14 */
15export declare const formatMonthCaption: typeof formatCaption;