/** * v1.3.4 §C — shared IANA timezone helpers. * * Extracted from `cli/init.ts` (which had a local `TIMEZONE_PRESETS` + * `isValidIanaTimezone`) so cron CLI, per-user personalization, and the * conversational cron-manager all validate timezones the same way and offer * the same "pick from a list, never typo" UX. * * `suggestTimezone` powers the "did you mean …?" fallback against the full * IANA set (`Intl.supportedValuesOf("timeZone")` — ~418 zones on Node 18+). */ export interface TimezonePreset { name: string; value: string; } /** Curated shortlist for the inquirer picker (CLI) + numbered list (chat). */ export declare const TIMEZONE_PRESETS: TimezonePreset[]; /** Sentinel for the "Other — type it" picker choice. */ export declare const TIMEZONE_OTHER = "__other__"; /** True when `tz` is a valid IANA timezone name (Intl throws RangeError if not). */ export declare function isValidIanaTimezone(tz: string): boolean; /** The full IANA timezone list (best-effort; empty array if unsupported). */ export declare function allTimezones(): string[]; /** * Suggest the closest valid IANA timezone for a typo'd input, or null when the * input is empty / nothing is close enough. Case/space/dash-insensitive; ranks * by edit distance over the normalized full IANA set. */ export declare function suggestTimezone(input: string): string | null;