import { Ref } from 'vue';
import { MagnetarInstance, CollectionInstance, DocInstance } from '@magnetarjs/core';
import { ChatRoomsOverview, ChatRoom, ChatUser, InquiryQuestion, ChatRoomsMessages } from 'src/types';
import { Timestamp } from 'firebase/firestore';
interface FirestoreMessagesReturn {
    dbMessages: Ref<CollectionInstance<ChatRoomsMessages> | null>;
    query: Ref<CollectionInstance<ChatRoomsMessages> | null>;
    queryStream: Ref<CollectionInstance<ChatRoomsMessages> | null>;
    dbChatRoomsOverview: Ref<CollectionInstance<ChatRoomsOverview> | null>;
    dbChatRoom: Ref<DocInstance<ChatRoom> | null>;
    dbChatUsers: Ref<CollectionInstance<ChatUser> | null>;
    inquiryQuestionFactory: Ref<CollectionInstance<InquiryQuestion> | null>;
    alreadyRead: Ref<Timestamp | Date | undefined>;
}
export declare function useFirestoreMessages(magnetar: MagnetarInstance, roomId: string, userId: string, isQAMode: boolean, leftInfo?: string[]): FirestoreMessagesReturn;
export {};
