import React from "react"; import "./index.less"; import { Dayjs } from "dayjs"; export declare type PresetType = { label?: string; getValue?: () => [Dayjs, Dayjs]; value: [Dayjs, Dayjs] | "today" | "yesterday" | "last_3_days" | "last_7_days" | "last_30_days" | "last_90_days" | "last_180_days" | "tomorrow" | "next_3_days" | "next_7_days" | "next_30_days" | "next_90_days" | "next_180_days"; key?: string; }; interface ShortcutsProps { items: PresetType[]; onChange: (day: [Dayjs, Dayjs], changeImportance?: "accept" | "set") => void; changeImportance?: "accept" | "set"; } declare const Shortcuts: (props: ShortcutsProps) => React.JSX.Element | null; export default Shortcuts;