/** * @file Events - CommandEvent * @module kronk/events/CommandEvent */ import KronkEvent from '#events/kronk.event'; import type { Command } from '@flex-development/kronk'; /** * A parsed command event. * * @see {@linkcode Command} * @see {@linkcode KronkEvent} * * @template {Command} [T=Command] * The command instance * * @category * events * * @class * @extends {KronkEvent} */ declare class CommandEvent extends KronkEvent { command: T; /** * The event name. * * @see {@linkcode Command.event} * * @public * @instance * @member {Command['event']} id */ id: Command['event']; /** * Create a new command event. * * @param {T} command * The command instance representing the parsed command */ constructor(command: T); } export default CommandEvent;