import { B as BaseHookOptions } from '../../common-fVjg5CUP.js'; declare function getTodayRange(): [Date, Date]; declare function getYesterdayRange(): [Date, Date]; declare function getLast7DaysRange(): [Date, Date]; declare function getLast30DaysRange(): [Date, Date]; declare function getThisMonthRange(): [Date, Date]; declare function getLastMonthRange(): [Date, Date]; type DatePreset = 'today' | 'yesterday' | 'last7days' | 'last30days' | 'thisMonth' | 'lastMonth' | 'custom'; type DateFormat = 'iso' | 'timestamp'; interface UseDateRangeOptions extends BaseHookOptions { defaultPreset?: DatePreset; minDate?: Date; maxDate?: Date; maxDays?: number; startKey?: string; endKey?: string; presetKey?: string; format?: DateFormat; } interface UseDateRangeResult { startDate: Date | null; endDate: Date | null; preset: DatePreset; isValid: boolean; daysDifference: number; setStartDate: (date: Date | null) => void; setEndDate: (date: Date | null) => void; setRange: (start: Date, end: Date) => void; setPreset: (preset: DatePreset) => void; clearRange: () => void; presets: { today: () => void; yesterday: () => void; last7days: () => void; last30days: () => void; thisMonth: () => void; lastMonth: () => void; custom: () => void; }; isPending: boolean; } declare function useDateRange(options?: UseDateRangeOptions): UseDateRangeResult; export { type DateFormat, type DatePreset, type UseDateRangeOptions, type UseDateRangeResult, getLast30DaysRange, getLast7DaysRange, getLastMonthRange, getThisMonthRange, getTodayRange, getYesterdayRange, useDateRange };