Rocky_Mountain_Vending/.pnpm-store/v10/files/5c/93224cac14c1dc7928c225e9a545546ddabce78c4047f22e738c60b11fe262c8a081c681bea01b01ff36a8c1bdf36d6f9290d3915b22f21042fc2fd4b47a1c
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

17 lines
778 B
Text

import type { DateLib } from "../classes/DateLib.js";
import type { DayPickerProps, SelectHandler, SelectedValue, Selection } from "../types/index.js";
export type UseSingle<T extends DayPickerProps> = {
select: SelectHandler<T>;
isSelected: (date: Date) => boolean;
selected: SelectedValue<T>;
};
/**
* Hook to manage single-date selection in the DayPicker component.
*
* @template T - The type of DayPicker props.
* @param props - The DayPicker props.
* @param dateLib - The date utility library instance.
* @returns An object containing the selected date, a function to select a date,
* and a function to check if a date is selected.
*/
export declare function useSingle<T extends DayPickerProps>(props: DayPickerProps, dateLib: DateLib): Selection<T>;