import { type SelectBoxProps } from '../../../SelectBox'; /** * Props for YearSelector component */ type YearSelectorProps = { /** * Internal value of the DatePicker */ value?: Date; /** * This callback will be triggered whenever you click on a year. * * @param year - The year that user selected. */ onChange: (year: number) => void; /** * Filter function to determine which years appear in the dropdown. * Return `true` for years that should be shown. * When omitted, all years are shown. */ filterYear?: (year: number) => boolean; } & Pick; export declare function YearSelector({ value, onChange, filterYear, triggerProps, triggerWrapperProps, targetDOMNode, }: YearSelectorProps): import("react/jsx-runtime").JSX.Element; export {};