import { TradechatServer } from "../tradechat-server"; import { TradechatUser } from "./users"; export declare class RosterPerson { name: string; id: string; online: boolean; color: string; invert_color: string; role: string; rooms: string[]; sid: string; } export declare type RosterLegacy = RosterPerson[]; export declare class Roster { room: string; roster: RosterLegacy; } export declare class TradeChatRosterController { tradechatServer: TradechatServer; rosters: Roster[]; constructor(tradechatServer: TradechatServer); init: () => Promise; createRoom: (roomName: string) => Promise; updateUser: (user: TradechatUser) => void; createAllRosters: () => Promise; getUserRoster: (user: TradechatUser) => Roster[]; getRoomRoster: (roomName: string) => Roster; getRoomsRoster: (roomNames: string[]) => Roster[]; }