import { Room as PersonalizedRoom } from '../domain/account/room'; import { Room } from '../domain/message/room'; import { Message } from '../domain/message/message'; import { Id } from './type'; import { UnreadMessageSegment } from '../domain/account/unreadMessageSegment'; import { AlreadyReadMessage } from '../domain/account/alreadyReadMessage'; declare type Collection = { [id: string]: T; }; declare type Path = string; declare type CollectionName = string; export declare type FirestoreSchema = { rooms: Collection & { messages: Collection>; }>; accounts: Collection> & { unreadMessageSegments: Collection; alreadyReadMessages: Collection; }; }; export declare function getAccountPath(): Path; export declare function getRoomPath(): Path; export declare function getMessagePath(roomId: Id): Path; export declare function getAccountRoomPath(accountId: Id): Path; export declare function getUnreadMessageSegmentPath(accountId: Id, roomId: Id): Path; export declare function getAlreadyReadMessagePath(accountId: Id, roomId: Id): Path; export declare function getAlreadyReadMessageCollectionName(): CollectionName; export {};