import { Long } from 'bson'; import { Chatlog, UpdatableChatListStore } from '../../chat'; export declare const EmptyChatListStore: UpdatableChatListStore; /** * Inmemory chat list with count limit */ export declare class TalkMemoryChatListStore implements UpdatableChatListStore { limit: number; private _chatList; constructor(limit: number, _chatList?: Chatlog[]); private findIndex; private makeIterator; get(logId: Long): Promise; last(): Promise; before(logId: Long, maxCount?: number): AsyncIterableIterator; since(time: number): AsyncIterableIterator; all(): AsyncIterableIterator; addChat(...chat: Chatlog[]): Promise; updateChat(logId: Long, chat: Partial): Promise; removeChat(logId: Long): Promise; }