import { Dispatch, SetStateAction } from 'react'; import { DayName, RangeMonths } from './utils'; export type DateRange = [Date | null, Date | null]; export interface UseDateRangeOptions { range?: [Date | null, Date | null]; rangeEndDate?: Date; weekStartsOn?: DayName; } export interface UseDateRangeReturn extends RangeMonths { readonly range: [Date | null, Date | null]; setMonths: Dispatch>; setRange: Dispatch>; setStartOfWeek: Dispatch>; } export declare function useDateRange(rangeMonths: Date[], options?: UseDateRangeOptions): UseDateRangeReturn; //# sourceMappingURL=use-date-range.d.ts.map