declare const enum ChatType { Private = 'private', Group = 'group', Discuss = 'discuss', } interface IChat { chatID: number, chatType: ChatType, } interface ILock { workon: number, feed: string[], threads: { [key: string]: { offset: number, updatedAt: string, subscribers: IChat[], } } }