export type CacheStorage = { get: (key: KeyType) => Promise | ValueType | undefined; set: (key: KeyType, value: ValueType) => Promise | unknown; }; export type CacheKey, KeyType = string> = (params: Params) => KeyType | Promise; export declare function defaultCacheKey>(params: Params): string;