export default class { private client; private expireAfter; constructor(opt: IRedisConfig); private chatAsString; cacheContent: (contentId: string, content: string) => Promise; cacheForChat: (postId: string, target: IChat) => Promise; getContent: (contentId: string) => Promise; isCachedForChat: (postId: string, target: IChat) => Promise; }