import { Bindings, Variables } from "../../types";
import { OpenAPIHono } from "@hono/zod-openapi";
import { CacheAdapter } from "@authhero/adapter-interfaces";
/**
 * Choose a cache TTL (seconds) based on how recent the queried window is.
 * The lookback `to` boundary drives the choice: queries entirely in the
 * deep past are safe to cache for a day; ones touching the live window
 * need short TTLs so dashboards converge.
 */
export declare function pickCacheTtlSeconds(toIso: string, now?: number): number;
interface AnalyticsRoutesOptions {
    cache?: CacheAdapter;
}
export declare function createAnalyticsRoutes(options?: AnalyticsRoutesOptions): OpenAPIHono<{
    Bindings: Bindings;
    Variables: Variables;
}, {}, "/">;
export {};
