import { Handler, Context } from 'hono'; import { a as CreateQuery, Q as QueryKey } from '../create-query-B9ILJCq6.cjs'; type CacheKey = QueryKey | ((ctx: Context) => QueryKey); type CacheOptions = Omit & { cacheKey: CacheKey; handler: (ctx: Context) => Response | Promise; revalidate?: boolean | ((ctx: Context) => boolean); }; declare const cache: ({ cacheKey, handler, revalidate, ...options }: CacheOptions) => Handler; export { cache };