UNPKG

392 BTypeScriptView Raw
1import type { DateLib, DayPickerProps, MoveFocusBy, MoveFocusDir } from "../types/index.js";
2/** Return the next date that should be focused. */
3export declare function getFocusableDate(moveBy: MoveFocusBy, moveDir: MoveFocusDir, refDate: Date, navStart: Date | undefined, navEnd: Date | undefined, props: Pick<DayPickerProps, "locale" | "ISOWeek" | "weekStartsOn">, dateLib: DateLib): Date;