import { ApiVisa, BaseApiTemplateService, Pagination, PagingResponseModel } from "../../../shared";
import { HttpClient } from '@angular/common/http';
import { MessageContainer } from "../../../../../../../models/mongodbSchema/aggregates";
import { Observable } from 'rxjs';
export declare class MessageService extends BaseApiTemplateService<MessageContainer> {
    private http;
    constructor(http: HttpClient);
    setUrl(conversationId: any, apiVisa: ApiVisa): void;
    getMessagesBetweenSnapshot(conversationId: string, pagination: Pagination, apiVisa: ApiVisa): Observable<PagingResponseModel<MessageContainer>>;
    getMessagesBySearch(pagination: Pagination, apiVisa: ApiVisa): Observable<PagingResponseModel<any>>;
    getMessagesBySearchCount(pagination: Pagination, apiVisa: ApiVisa): Observable<PagingResponseModel<Number>>;
    fetchMedia(conversationId: string, messageId: string, apiVisa: ApiVisa): Observable<any>;
    private handleBlobError;
}
