/** * [WHO]: DatePicker composes a Spark trigger with the shared Calendar in a Popover. * [FROM]: React, date-fns, registry/basic/button, registry/basic/calendar, registry/basic/popover, registry/lib/utils. * [TO]: sparkdesign package consumers; output of CLI `add date-picker` when registered. * [HERE]: registry/basic/date-picker.tsx — Spark Design date picker source. * * [PROTOCOL]: * 1. Render a Button trigger that surfaces the selected date using project typography/tokens. * 2. Use the shared Calendar primitive inside a PopoverContent for the day grid; never fall back to native pickers. * 3. Follow design tokens and explicit type exports. */ import * as React from 'react'; export interface DatePickerProps { value?: Date; defaultValue?: Date; onChange?: (date: Date | undefined) => void; placeholder?: React.ReactNode; disabled?: boolean; className?: string; align?: 'start' | 'center' | 'end'; formatString?: string; id?: string; name?: string; 'aria-label'?: string; } declare function DatePicker({ value, defaultValue, onChange, placeholder, disabled, className, align, formatString, id, name, 'aria-label': ariaLabel, }: DatePickerProps): import("react/jsx-runtime").JSX.Element; export { DatePicker };