/** * Shared timeRange enum for all tools. * * Canonical token: '24h' for the one-day window (explicit, unambiguous). * Legacy alias: '1d' — normalized to '24h' at the tool handler level * for tools that declare '1d'. */ import { z } from 'zod'; /** * The canonical set of timeRange values accepted by every tool that * takes a timeRange argument. Import this and use it directly in * each tool's schema object instead of re-declaring z.enum([...]). */ export declare const TIME_RANGE_ENUM: readonly ["15m", "1h", "6h", "24h", "7d", "30d"]; export type TimeRangeValue = (typeof TIME_RANGE_ENUM)[number]; export declare const timeRangeSchema: z.ZodEnum<["15m", "1h", "6h", "24h", "7d", "30d"]>; /** * Normalise any accepted legacy token to the canonical value. * Currently: '1d' → '24h'. * Returns the input unchanged when it is already canonical. */ export declare function normalizeTimeRange(raw: string): string;