import { InteractionEditReplyOptions, Message, MessageEditOptions, MessagePayload, User } from 'discord.js'; import { EventEmitter } from 'node:events'; import { BaseConstructorOptions, DeepRequired, MessageType } from './Base'; export interface Pokemon { name: string; id: number; types: string[]; abilities: string[]; height: number; width: number; answerImage: string; questionImage: string; } export interface GuessThePokemonConstructorOptions extends BaseConstructorOptions { embed?: { title?: string; color?: string; }; timeoutTime?: number; winMessage?: string; loseMessage?: string; errMessage?: string; } export class GuessThePokemon extends EventEmitter { options: DeepRequired>; message: MessageType; pokemon: Pokemon; on( eventName: 'gameOver', listener: (result: { result: 'win' | 'lose'; player: User; pokemon: Pokemon }) => void ): this; once(...args: Parameters): this; constructor(options: GuessThePokemonConstructorOptions); sendMessage( content: string | MessagePayload | (IsSlashGame extends true ? InteractionEditReplyOptions : MessageEditOptions) ): Promise; startGame(): Promise; gameOver(msg: Message, result: boolean): Promise; }