import { type ButtonProps, type DropdownProps } from "@salt-ds/core"; import type { DateFrameworkType } from "@salt-ds/date-adapters"; import { type ComponentPropsWithRef } from "react"; /** * Props for the CalendarNavigation component. * @template TDate - The type of the date object. */ export interface CalendarNavigationProps extends ComponentPropsWithRef<"div"> { /** * Props for the month dropdown component. */ MonthDropdownProps?: DropdownProps; /** * Props for the year dropdown component. */ YearDropdownProps?: DropdownProps; /** * Callback fired when a month is selected. * @param event - The change event. */ onMonthSelect?: DropdownProps["onChange"]; /** * Callback fired when a year is selected. * @param event - The change event. */ onYearSelect?: DropdownProps["onChange"]; /** * Callback fired when navigating to the next month. * @param event - The click event. */ onNavigateNext?: ButtonProps["onClick"]; /** * If `true` then navigate next button is enabled */ disableNavigateNext?: boolean; /** * Callback fired when navigating to the previous month. * @param event - The click event. */ onNavigatePrevious?: ButtonProps["onClick"]; /** * If `true` then navigate previous button is enabled */ disableNavigatePrevious?: boolean; /** * If `true`, hides the year dropdown. */ hideYearDropdown?: boolean; /** * The step value for navigation. Defaults to 1. */ step?: number; /** * Format the month dropdown values * @param date */ formatMonth?: string; /** * Format the year dropdown values * @param date */ formatYear?: string; } export declare const CalendarNavigation: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>;