import { type CacheHandler } from "@nimpl/cache"; import { type LayerType } from "./types"; export declare const getKeys: (cacheHandler: CacheHandler, type?: LayerType) => Promise; export declare const getKeyDetails: (cacheHandler: CacheHandler, type: LayerType, key: string) => 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; }>; export declare const getCacheData: (cacheHandler: CacheHandler, 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;