import { RoomPlugin } from '../../RoomPlugin.js'; import { Connection } from '../../../skychat/Connection.js'; export type MessageSeenEventData = { user: number; data: { [room: number]: number; }; }; export declare class MessageSeenPlugin extends RoomPlugin { static readonly commandName = "lastseen"; static readonly defaultDataStorageValue: {}; /** * We need to allow guests to send /lastseen even though it is not recorded in the backend because sometimes, * the client does not know it own right level, therefore it would always send /lastseen */ readonly minRight = -1; readonly hidden = true; readonly rules: { lastseen: { minCount: number; maxCount: number; maxCallsPer10Seconds: number; params: { name: string; pattern: RegExp; info: string; }[]; }; }; run(_alias: string, param: string, connection: Connection): Promise; }