export type { CacheConfig, CacheBackend } from './types'; export { MemoryCacheBackend, RedisCacheBackend, initializeCache } from './backends.js'; /** * Cache Runtime API * * Store and retrieve data with optional TTL (Time To Live). * Supports in-memory (node-cache) and Redis backends. */ declare class CacheAPI { /** * Gets a value from cache */ get(key: string): Promise; /** * Sets a value in cache with optional TTL in seconds */ set(key: string, value: unknown, ttl?: number): Promise; /** * Deletes a value from cache */ delete(key: string): Promise; /** * Checks if a key exists in cache */ has(key: string): Promise; /** * Clears all cache entries */ clear(): Promise; } export declare const cache: CacheAPI; //# sourceMappingURL=index.d.ts.map