import type { ConventionEndpoint, RequestOptions, GetDataFromConvention } from '../utility-types/index.js'; type CacheRequestOptions = Pick, 'params' | 'query'>; type SetCacheOptions = CacheRequestOptions & { ttl?: number | null; }; export declare function setCache(endpoint: T, data: GetDataFromConvention, { params, query, ttl, }?: SetCacheOptions): Promise; export declare function getCache(endpoint: T, options?: CacheRequestOptions): Promise | undefined>; export declare function clearCache(): Promise; export {};