import type { SetupContext } from 'vue'; import type { useLocale } from 'element-plus/es/hooks'; import type { RangePickerSharedEmits } from '../props/shared'; export type Shortcut = { text: string; value: [Date, Date] | (() => [Date, Date]); onClick?: (ctx: Omit, 'expose'>) => void; }; export declare const useShortcut: (lang: ReturnType["lang"]) => (shortcut: Shortcut) => void;