/**
 * @module @arcis/node/utils/duration
 * Parse human-readable duration strings into milliseconds.
 *
 * Supports: ms, s, m, h, d
 *
 * @example
 * parseDuration('5m')    // 300000
 * parseDuration('2h')    // 7200000
 * parseDuration(60000)   // 60000 (passthrough)
 * parseDuration('500ms') // 500
 */
/**
 * Parse a duration string or number into milliseconds.
 *
 * @param value - Duration string (e.g. "5m", "2h", "30s") or number (ms)
 * @returns Duration in milliseconds
 * @throws {Error} If the value is not a valid duration
 *
 * @example
 * parseDuration('15m')   // 900000
 * parseDuration('1d')    // 86400000
 * parseDuration('500ms') // 500
 * parseDuration(60000)   // 60000
 */
export declare function parseDuration(value: string | number): number;
/**
 * Format milliseconds into a human-readable duration string.
 *
 * @param ms - Duration in milliseconds
 * @returns Human-readable string (e.g. "5m", "2h 30m")
 */
export declare function formatDuration(ms: number): string;
//# sourceMappingURL=duration.d.ts.map