export interface CacheConfig { key: string; value: any; ttlSeconds?: number; } export declare const TTL_ONE_MINUTE = 60; export declare const TTL_ONE_HOUR: number; export declare const TTL_ONE_DAY: number; export declare const TTL_ONE_WEEK: number; export declare const TTL_ONE_MONTH: number; export declare function setCache({ key, value, ttlSeconds, }: CacheConfig): Promise; export declare function getCache(key: string): Promise; export declare function withCache(key: string, ttlSeconds: number, expensiveFunction: () => Promise): Promise;