bottender
Version:
A framework for building conversational user interfaces.
12 lines • 442 B
TypeScript
import { JsonObject } from 'type-fest';
export declare type CacheValue = number | JsonObject;
declare type CacheStore = {
get(key: string): Promise<CacheValue | null>;
all(): Promise<CacheValue[]>;
put(key: string, value: CacheValue, minutes: number): Promise<void>;
forget(key: string): Promise<void>;
flush(): Promise<void>;
getPrefix(): string;
};
export default CacheStore;
//# sourceMappingURL=CacheStore.d.ts.map