UNPKG

428 BTypeScriptView Raw
1import type { Localize } from "../../locale/types.js";
2import type {
3 FirstWeekContainsDateOptions,
4 LocalizedOptions,
5 WeekOptions,
6} from "../../types.js";
7type Formatter = (
8 date: Date,
9 token: string,
10 localize: Localize,
11 options: Required<
12 LocalizedOptions<"options"> & WeekOptions & FirstWeekContainsDateOptions
13 >,
14) => string;
15export declare const formatters: {
16 [token: string]: Formatter;
17};
18export {};