import { RoomPlugin } from '../RoomPlugin.js'; import { Room } from '../../skychat/Room.js'; import { Connection } from '../../skychat/Connection.js'; export declare class RoomProtectPlugin extends RoomPlugin { static readonly commandName = "roomprotect"; readonly opOnly = true; readonly rules: { roomprotect: { minCount: number; maxCount: number; params: { name: string; pattern: RegExp; }[]; }; }; /** * Min right to enter the room */ protected storage: null | number; constructor(room: Room); run(_alias: string, param: string): Promise; getMinRight(): number; getRoomSummary(): number | null; handleRoomProtect(param: string): Promise; onBeforeConnectionJoinedRoom(connection: Connection): Promise; }