import type { Dayjs } from 'dayjs'; import type { DateModelType, ModelValueType, PickerOptions, SingleOrRange } from '../common/props'; interface CommonPickerProps { modelValue: ModelValueType | null; valueFormat?: string; } type CommonPickerEmits = (event: 'update:modelValue' | 'calendar-change' | 'panel-change', ...args: any[]) => void; export declare const useCommonPicker:

(props: P, emit: E) => { parsedValue: any; pickerActualVisible: any; pickerOptions: any; pickerVisible: any; userInput: any; valueIsEmpty: any; emitInput: (input: SingleOrRange | null) => void; onCalendarChange: (e: [Date, null | Date]) => void; onPanelChange: (value: [Dayjs, Dayjs], mode: "month" | "year", view: unknown) => void; onPick: (date?: any, visible?: boolean) => void; onSetPickerOption: (e: [T, PickerOptions[T]]) => void; }; export type CommonPickerContext = ReturnType; export {};