1 | import { GenericDateConstructor } from "date-fns";
|
2 | import type { FormatOptions as DateFnsFormatOptions, Locale as DateFnsLocale } from "date-fns";
|
3 | import { addDays } from "date-fns/addDays";
|
4 | import { addMonths } from "date-fns/addMonths";
|
5 | import { addWeeks } from "date-fns/addWeeks";
|
6 | import { addYears } from "date-fns/addYears";
|
7 | import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays";
|
8 | import { differenceInCalendarMonths } from "date-fns/differenceInCalendarMonths";
|
9 | import { endOfISOWeek } from "date-fns/endOfISOWeek";
|
10 | import { endOfMonth } from "date-fns/endOfMonth";
|
11 | import { endOfWeek } from "date-fns/endOfWeek";
|
12 | import { endOfYear } from "date-fns/endOfYear";
|
13 | import { format } from "date-fns/format";
|
14 | import { getISOWeek } from "date-fns/getISOWeek";
|
15 | import { getWeek } from "date-fns/getWeek";
|
16 | import { isAfter } from "date-fns/isAfter";
|
17 | import { isBefore } from "date-fns/isBefore";
|
18 | import { isDate } from "date-fns/isDate";
|
19 | import { isSameDay } from "date-fns/isSameDay";
|
20 | import { isSameMonth } from "date-fns/isSameMonth";
|
21 | import { isSameYear } from "date-fns/isSameYear";
|
22 | import { max } from "date-fns/max";
|
23 | import { min } from "date-fns/min";
|
24 | import { setMonth } from "date-fns/setMonth";
|
25 | import { setYear } from "date-fns/setYear";
|
26 | import { startOfDay } from "date-fns/startOfDay";
|
27 | import { startOfISOWeek } from "date-fns/startOfISOWeek";
|
28 | import { startOfMonth } from "date-fns/startOfMonth";
|
29 | import { startOfWeek } from "date-fns/startOfWeek";
|
30 | import { startOfYear } from "date-fns/startOfYear";
|
31 |
|
32 | export type FormatOptions = DateFnsFormatOptions;
|
33 |
|
34 | export type LabelOptions = DateFnsFormatOptions;
|
35 |
|
36 | export type Locale = DateFnsLocale;
|
37 | export type { Month as DateFnsMonth } from "date-fns";
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | export declare const dateLib: {
|
45 |
|
46 | Date: GenericDateConstructor;
|
47 | addDays: typeof addDays;
|
48 | addMonths: typeof addMonths;
|
49 | addWeeks: typeof addWeeks;
|
50 | addYears: typeof addYears;
|
51 | differenceInCalendarDays: typeof differenceInCalendarDays;
|
52 | differenceInCalendarMonths: typeof differenceInCalendarMonths;
|
53 | endOfISOWeek: typeof endOfISOWeek;
|
54 | endOfMonth: typeof endOfMonth;
|
55 | endOfWeek: typeof endOfWeek;
|
56 | endOfYear: typeof endOfYear;
|
57 | format: typeof format;
|
58 | getISOWeek: typeof getISOWeek;
|
59 | getWeek: typeof getWeek;
|
60 | isAfter: typeof isAfter;
|
61 | isBefore: typeof isBefore;
|
62 | isDate: typeof isDate;
|
63 | isSameDay: typeof isSameDay;
|
64 | isSameMonth: typeof isSameMonth;
|
65 | isSameYear: typeof isSameYear;
|
66 | max: typeof max;
|
67 | min: typeof min;
|
68 | setMonth: typeof setMonth;
|
69 | setYear: typeof setYear;
|
70 | startOfDay: typeof startOfDay;
|
71 | startOfISOWeek: typeof startOfISOWeek;
|
72 | startOfMonth: typeof startOfMonth;
|
73 | startOfWeek: typeof startOfWeek;
|
74 | startOfYear: typeof startOfYear;
|
75 | };
|