import { EntityState, EntityStore, QueryEntity } from '@datorama/akita'; import { Observable } from 'rxjs'; import { Message } from '../models/message'; import { MessageService } from '../services/message/message.service'; import { UserQuery } from './user'; import * as i0 from "@angular/core"; export interface MessageState extends EntityState { } export declare class MessageStore extends EntityStore { private messageService; constructor(messageService: MessageService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class MessageQuery extends QueryEntity { protected store: MessageStore; private userQuery; constructor(store: MessageStore, userQuery: UserQuery); populateUsers($input: Observable): Observable; selectAllInConversation(fromUserId: string, toUserId: string): Observable; selectAllInGroup(groupId: string): Observable; selectAllUnreadInConversation(fromUserId: string, toUserId: string): Observable; selectAllUnreadInGroup(groupId: string, userId: any): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }