import { Timestamp } from '@firebase/firestore';
import { ChatRoom } from '../../types';
import { MagnetarInstance } from '@magnetarjs/core';
/**
 * ChatRoomsのデータベースモジュール作成用関数
 */
export declare const dbChatRoomsFactoryModule: (magnetar: MagnetarInstance, updatedBy: string) => import("@magnetarjs/types").CollectionInstance<ChatRoom, {
    insert: ChatRoom;
}>;
/**
 * ChatRooms作成用関数
 * @param magnetar  Magnetarインスタンス
 * @param roomName  ルーム名
 * @param isReadFunction  既読機能を使うかどうか
 * @param members  メンバー
 * @param updatedBy  更新者
 * @param noEditLog  編集ログを残さないかどうか
 * @returns ChatRoomのidとroomNameとiconColor
 */
export declare const createChatRoom: (magnetar: MagnetarInstance, roomName: string, isReadFunction: boolean | undefined, members: Array<string>, updatedBy: string, noEditLog: boolean) => Promise<{
    id: string;
    roomName: string;
    iconColor: string;
    members: Array<string>;
}>;
/**
 * ChatRoomsの削除用関数
 */
export declare const deleteChatRoom: (magnetar: MagnetarInstance, roomid: string, updatedBy: string) => void;
/**
 * ChatRoomsのlogin作成用関数
 */
export declare const createFieldLogin: (groups: {
    groupId: string;
    groupName: string;
    memberIds: string[];
}[], members?: string[]) => {
    [key: string]: Date | Timestamp;
};
