import { DatePickType } from 'element-plus'; import { CompSize } from '../../utils'; export interface DatePickerProps { size?: CompSize; shortcuts?: Shortcuts; showDefaultShortcuts?: boolean; type?: DatePickType; shortcutInsertBefore?: boolean; showRecentDay?: boolean; } export type DateValue = string | Date | [string, string] | [Date, Date]; export type PanelModel = 'year' | 'month'; export interface Shortcut { text: string; value: Date | [Date, Date] | (() => Date | [Date, Date]); } export type Shortcuts = Array;