import { DateType } from '@mezzanine-ui/core/calendar'; import { MultipleDatePickerValue } from '@mezzanine-ui/core/multiple-date-picker'; export interface UseMultipleDatePickerValueProps { /** * The format pattern for displaying dates (e.g., "YYYY-MM-DD") */ format: string; /** * Maximum number of dates that can be selected */ maxSelections?: number; /** * Controlled value */ value?: MultipleDatePickerValue; } export interface UseMultipleDatePickerValueReturn { /** * The internal value (pending changes) */ internalValue: MultipleDatePickerValue; /** * Toggle a date in/out of selection */ toggleDate: (date: DateType) => void; /** * Remove a specific date from selection */ removeDate: (date: DateType) => void; /** * Clear all selected dates */ clearAll: () => void; /** * Check if a date is currently selected */ isDateSelected: (date: DateType) => boolean; /** * Check if selection has reached max limit */ isMaxReached: boolean; /** * Confirm the current selection (returns the value to be passed to onChange) */ getConfirmValue: () => MultipleDatePickerValue; /** * Cancel and revert to original value */ revertToValue: () => void; /** * Format a date to display string */ formatDate: (date: DateType) => string; } export declare function useMultipleDatePickerValue({ format, maxSelections, value, }: UseMultipleDatePickerValueProps): UseMultipleDatePickerValueReturn;