/** * Turns what a user types into a preset, so the simple picker's combobox * accepts presets that aren't in its list: * * "today", "yesterday", "ytd" / "year to date" * "this week|month|quarter|year" * "last|past|previous [N] days|weeks|months|quarters|years" (N = 2, two, …) * "q2", "q2 2025", "2025 q2" * "march", "mar 2026", "2026-03" * "2024" * * Returns null when the text isn't understood. Pure function, no Angular. */ import { DatePreset } from './date-presets'; export declare function parsePresetText(text: string, today: Date): DatePreset | null;