import { APICacheOptions, APIQueryParams } from "./types.js"; /** * Unique key */ declare function apiCacheKey(query: APIQueryParams): string; /** * Store cache */ declare function storeAPICache(options: APICacheOptions, key: string, data: string): Promise; /** * Get item from cache */ declare function getAPICache(dir: string, key: string): Promise; /** * Clear cache */ declare function clearAPICache(dir: string): Promise; export { apiCacheKey, clearAPICache, getAPICache, storeAPICache };