import { JsonObject } from 'type-fest'; export type CacheValue = number | JsonObject; type CacheStore = { get(key: string): Promise; all(): Promise; put(key: string, value: CacheValue, minutes: number): Promise; forget(key: string): Promise; flush(): Promise; getPrefix(): string; }; export default CacheStore;