import { PropsWithChildren } from 'react'; import { DataGridPickerProps } from '../DataGridPicker'; import { DataGridSelection } from '../DataGridSelectable'; export interface YearPickerProps extends DataGridPickerProps { /** * Controls the currently visible year. * * This prop defines **what year is currently in view**, not just which * year is selected. Updating it may cause the picker to: * - Scroll to the corresponding year grid * - Recompute the visible window of years * - Update navigation controls (previous / next) */ year?: number; } /** * A composable year–selection module built on top of DataGridPicker. * Provides grid primitives, a decade-scrolling wrapper, ready-to-use * layouts, and APIs for generating custom pages. Supports single, * multiple, and range selection, as well as min/max boundaries. * * Layouts can be fully customized by composing primitive components * (Row, RowGroup, Item, Scroller, ScrollerContent), or you can use the * built-in YearPickerLayout for a ready-made structure. */ export declare const YearPicker: ({ children, year, defaultActive, size, ...props }: PropsWithChildren>) => import("react/jsx-runtime").JSX.Element;