import { ChatConversation as ChatConversationType } from '@bringg/types';
import { MomentInput } from 'moment';
import StoreEntity from '../../Core/StoreEntity';
import Session from '../../Services/Identity/Session';
import { ChatConversationCreateRequest, ChatConversationsResponse, ChatOptions, PageResponse, UpdateLastReadResponse } from '../ChatConversation.consts';
export default class ChatConversation extends StoreEntity<ChatConversationType> {
    private _itemIdsByPage;
    constructor(session: Session);
    updateLastRead(id: number, serverTimeStamp: MomentInput): Promise<UpdateLastReadResponse>;
    getConversations(page: number, options?: ChatOptions): Promise<Partial<ChatConversationsResponse>>;
    getConversation(id: number): Promise<ChatConversationType>;
    createConversation(request: ChatConversationCreateRequest): Promise<ChatConversationType>;
    _getPage(pageNumber: any): Partial<PageResponse>;
    _addPage(items: ChatConversationType[], page: number, hasNextPage: boolean): void;
    isPageFetched(page: any): boolean;
    private _fetchConversations;
}
