UNPKG

442 BTypeScriptView Raw
1import { type DateLib } from "../classes/DateLib.js";
2/**
3 * Format the years for the dropdown option label.
4 *
5 * @group Formatters
6 * @see https://daypicker.dev/docs/translation#custom-formatters
7 */
8export declare function formatYearDropdown(year: Date, dateLib?: DateLib): string;
9/**
10 * @private
11 * @deprecated Use `formatYearDropdown` instead.
12 * @group Formatters
13 */
14export declare const formatYearCaption: typeof formatYearDropdown;