/** * Common utilities for time-based operations in analysis tools. */ /** * Calculates the appropriate time interval for a given time range * * @param timeRange - Time range string (e.g. "24h", "7d", "30d") * @returns An appropriate interval string (e.g. "1h", "1d") */ export declare function calculateOptimalInterval(timeRange: string): string; /** * Parses a duration string into milliseconds * * @param duration - Duration string (e.g. "30m", "24h", "7d") * @returns The duration in milliseconds */ export declare function parseDuration(duration: string): number; /** * Divides a time range into before and after periods * * @param timeRange - Time range string (e.g. "7d") * @returns Object with start, mid, and end points as ISO strings */ export declare function divideTimeRange(timeRange: string): { startPoint: string; midPoint: string; endPoint: string; };