import type { PresetDate } from '../interface'; export default function usePresets(presets?: PresetDate[], legacyRanges?: Record T)>): PresetDate[];