1 | import type { DateLib, DayPickerProps, SelectHandler, SelectedValue, Selection } from "../types/index.js";
|
2 | export type UseSingle<T extends DayPickerProps> = {
|
3 | select: SelectHandler<T>;
|
4 | isSelected: (date: Date) => boolean;
|
5 | selected: SelectedValue<T>;
|
6 | };
|
7 | export declare function useSingle<T extends DayPickerProps>(props: DayPickerProps, dateLib: DateLib): Selection<T>;
|