/* eslint-disable @typescript-eslint/no-explicit-any */ import { ApplicationCommandManager, GuildResolvable, Snowflake } from 'discord.js'; import { BushClient } from '../discord-akairo/BushClient'; import { BushApplicationCommand } from './BushApplicationCommand'; import { BushApplicationCommandPermissionsManager } from './BushApplicationCommandPermissionsManager'; import { BushGuildResolvable } from './BushCommandInteraction'; export type BushApplicationCommandResolvable = BushApplicationCommand | Snowflake; export class BushApplicationCommandManager< ApplicationCommandType = BushApplicationCommand<{ guild: BushGuildResolvable }>, PermissionsOptionsExtras = { guild: GuildResolvable }, PermissionsGuildType = null > extends ApplicationCommandManager { public declare permissions: BushApplicationCommandPermissionsManager< { command?: BushApplicationCommandResolvable } & PermissionsOptionsExtras, { command: BushApplicationCommandResolvable } & PermissionsOptionsExtras, PermissionsOptionsExtras, PermissionsGuildType, null >; public constructor(client: BushClient, iterable?: Iterable) { super(client, iterable); } }