import { Connection } from '../../../skychat/Connection.js'; import { RoomPlugin } from '../../RoomPlugin.js'; import { Room } from '../../../skychat/Room.js'; export declare class RollPlugin extends RoomPlugin { static readonly ENTRY_COST: number; static readonly BASE_JACKPOT: number; static readonly JACKPOT_INCREASE_AMOUNT: number; static readonly GLOBAL_COOL_DOWN: number; static readonly TICK_MS: number[]; static readonly commandName = "roll"; readonly minRight = 0; readonly rules: { roll: { minCount: number; maxCount: number; coolDown: number; params: { name: string; pattern: RegExp; }[]; }; }; private currentGame; private lastGameFinishedDate; protected storage: { lastGameResults: number[]; currentJackpot: number; totalGameCount: number; }; constructor(room: Room); run(alias: string, param: string, connection: Connection): Promise; /** * Start a new game */ private handleStart; /** * */ private updateGameMessage; /** * Guess a number * @param param * @param connection */ private handleBet; }