import { CalendarDate } from '@internationalized/date'; import { DateRangeValue } from '../types'; declare const calendarTitle: (title: string) => string; declare const calendarTitleRange: (visibleRange: DateRangeValue) => [string, string]; /** * Range type for time selectors, indicating which part of a date/time range * the selector represents. */ export type TimeRangeType = 'end' | 'single' | 'start'; /** * Granularity levels for date/time components. */ export type TimeGranularity = 'hour' | 'minute' | 'second'; /** * Default time values structure. */ export interface DefaultTimeValues { hour: number; minute: number; second: number; } /** * Calculates default time values based on range type and granularity. * * For range start and single selectors, defaults to beginning-of-day (00:00:00). * For range end selectors, defaults to end-of-day based on granularity: * - hour: 23:00:00 * - minute: 23:59:00 * - second: 23:59:59 * * @param rangeType - Which part of a range this selector represents * @param granularity - The precision level for time selection * @returns Object with hour, minute, and second default values */ declare const getTimeRangeDefaults: (rangeType?: TimeRangeType, granularity?: TimeGranularity) => DefaultTimeValues; export { calendarTitle, calendarTitleRange, getTimeRangeDefaults };