import { ChatMessage as ChatMessageType } from '@bringg/types';
import Session from '../Services/Identity/Session';
import { ChatMessageResponse, CreateMessageRequest, CreateMessageResponse, FetchMessagesRequest } from './ChatMessage.consts';
export default class ChatMessageApi {
    onListUpdate: any;
    onItemCreated: any;
    private chatMessageEntity;
    constructor(session: Session);
    fetchMessages(request: FetchMessagesRequest): Promise<ChatMessageResponse>;
    getChatMessages(id: number): ChatMessageType[];
    createMessages(requests: CreateMessageRequest[]): Promise<CreateMessageResponse>;
}
