import { EntityAPI } from '@ayanaware/bento'; import { CommandInteraction, Message } from 'eris'; import { InteractionContext } from '../contexts/InteractionContext'; import { MessageContext } from '../contexts/MessageContext'; import type { Command } from './interfaces/Command'; export declare type AnyCommandContext = MessageCommandContext | InteractionCommandContext; export declare class MessageCommandContext extends MessageContext { prefix: string; alias: string; readonly command: Command; constructor(api: EntityAPI, message: Message, command: Command); deleteExecutionMessage(): Promise; } export declare class InteractionCommandContext extends InteractionContext { alias: string; readonly command: Command; constructor(api: EntityAPI, interaction: CommandInteraction, command: Command); deleteExecutionMessage(): Promise; }