UNPKG

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