import { type CacheHandler } from "@nimpl/cache"; export declare const createRouteHelpers: (cacheHandler: CacheHandler) => { getCacheData: (segments?: string[]) => Promise | Promise<{ key: string; metadata: null; value: null; size: number; status: null; error?: undefined; } | { key: string; metadata: { tags: any; timestamp: any; stale: any; revalidate: any; expire: any; }; value: string; size: any; status: any; error?: undefined; } | { key: string; metadata: null; value: null; size: number; error: string; status: null; }> | null; putCacheData: (segments?: string[]) => Promise; deleteCacheData: (segments?: string[]) => Promise; };