import type { PanelDateRangeProps } from '../props/panel-date-range'; import type { Dayjs } from 'dayjs'; import type { Ref } from 'vue'; type CurrentView = 'date' | 'year' | 'month'; export type Emits = (event: 'pick' | 'set-picker-option' | 'calendar-change' | 'panel-change', ...args: any[]) => void; export declare const usePanelDateRange: (props: PanelDateRangeProps, emit: Emits, leftDate: Ref, rightDate: Ref) => { leftCurrentView: any; rightCurrentView: any; leftCurrentViewRef: any; rightCurrentViewRef: any; leftYear: any; rightYear: any; leftMonth: any; rightMonth: any; leftYearLabel: any; rightYearLabel: any; showLeftPicker: (view: "month" | "year") => Promise; showRightPicker: (view: "month" | "year") => Promise; handleLeftYearPick: (year: number) => Promise; handleRightYearPick: (year: number) => Promise; handleLeftMonthPick: (month: number) => Promise; handleRightMonthPick: (month: number) => Promise; handlePanelChange: (mode: "month" | "year") => void; adjustDateByView: (currentView: CurrentView, date: Dayjs, forward: boolean) => Dayjs; }; export {};