import { ChatRoomsOverview } from '../../types';
import { MagnetarInstance } from '@magnetarjs/core';
/**
 * ChatRoomsOverviewのデータベースモジュール作成用関数
 * -※ targetRoomIdは insertのときのみ仕様
 * @param magnetar MagnetarInstance
 * @param updatedBy string
 * @param userId string
 * @param targetRoomId? string
 * @returns ChatRoomsOverviewのデータベース
 */
export declare const dbChatRoomsOverviewFactoryModule: (magnetar: MagnetarInstance, updatedBy: string, userId: string, targetRoomId?: string) => import("@magnetarjs/types").CollectionInstance<ChatRoomsOverview, {
    insert: ChatRoomsOverview;
}>;
/**
 * Room作成時ChatRoomsOverviewを追加する関数
 * 確実にroomIdとuserが存在する場合のみ使用する
 * @param magnetar MagnetarInstance
 * @param uid string
 * @param roomId string
 * @param roomName string
 * @param updatedBy string
 * @param iconColor string
 * @param iconUrl string
 * @returns void
 */
export declare const createRoomOverviewRoom: (magnetar: MagnetarInstance, uid: string, roomId: string, roomName: string, updatedBy: string, iconColor?: string, iconUrl?: string) => Promise<void>;
