import { DateTime } from 'luxon'; import { ComponentPropsWithoutRef } from 'react'; export type CalendarYearSelectionProps = ComponentPropsWithoutRef<"div"> & { /** * The function to call when a year is selected. * * @param year - The year that is selected. */ onYearSelection: (year: DateTime["year"]) => void; }; /** * A component that displays a grid of year cards and allows the user to select a year. * * @param props.onYearSelection - The function to call when a year is selected. * @param props - The rest of the props for the div wrapper. * @returns A component that displays a grid of year cards and allows the user to select a year. */ export declare const CalendarYearSelection: import('react').ForwardRefExoticComponent, HTMLDivElement>, "ref"> & { /** * The function to call when a year is selected. * * @param year - The year that is selected. */ onYearSelection: (year: DateTime["year"]) => void; } & import('react').RefAttributes>;