1 | import type { DateLib, DayPickerProps } from "../types/index.js";
|
2 | /**
|
3 | * Return the next month the user can navigate to according to the given
|
4 | * options.
|
5 | *
|
6 | * Please note that the next month is not always the next calendar month:
|
7 | *
|
8 | * - If after the `calendarEndMonth` range, is `undefined`;
|
9 | * - If the navigation is paged , is the number of months displayed ahead.
|
10 | */
|
11 | export declare function getNextMonth(firstDisplayedMonth: Date, calendarEndMonth: Date | undefined, options: Pick<DayPickerProps, "numberOfMonths" | "pagedNavigation" | "disableNavigation">, dateLib: DateLib): Date | undefined;
|