import { ComputedRef } from 'vue'; import { DateObjectValue } from '../types'; import { DateModelValue } from '../../../composables/date/useDateInitializationDayjs'; export interface TodayButtonProps { displayTodayButton?: boolean; displayRange?: boolean; } export interface TodaySelectionState { today: Date; selectedDates: DateObjectValue; modelValue: DateModelValue; displayValue: string; month: string; year: string; monthName: string; yearName: string; } export interface BuildTodaySelectionStateOptions { displayRange?: boolean; format: string; dateFormatReturn?: string; formatDate: (date: Date | null, format: string) => string; } export interface TodayButtonReturn { todayInString: ComputedRef; selectToday: (selectedDates: { value: DateObjectValue; }) => void; headerDate: ComputedRef; } export declare const buildTodaySelectionState: (options: BuildTodaySelectionStateOptions) => TodaySelectionState; /** * Composable pour gérer le bouton "Aujourd'hui" dans le CalendarMode */ export declare function useTodayButton(props: TodayButtonProps): TodayButtonReturn;