/** * Parses a duration string (`500ms`, `30s`, `5m`, `2h`, `1d`) to milliseconds, * with a configurable default unit for bare numbers. Throws on empty or * unparseable input. Used by config zod schemas and CLI flag parsing. */ declare const DURATION_UNIT_MS: { readonly ms: 1; readonly s: 1000; readonly m: 60000; readonly h: 3600000; readonly d: 86400000; }; type DurationUnit = keyof typeof DURATION_UNIT_MS; export type DurationMsParseOptions = { defaultUnit?: DurationUnit; }; export declare function parseDurationMs(raw: string, opts?: DurationMsParseOptions): number; export {};