import { ApplicationCommand, ApplicationCommandManager, ApplicationCommandPermissionData, ApplicationCommandPermissions, BaseManager, Collection, GuildApplicationCommandManager, GuildApplicationCommandPermissionData, Snowflake } from 'discord.js'; import { BushClient, BushRoleResolvable, BushUserResolvable } from '../discord-akairo/BushClient'; export class BushApplicationCommandPermissionsManager< BaseOptions, FetchSingleOptions, FullPermissionsOptions, GuildType, CommandIdType > extends BaseManager { public constructor(manager: ApplicationCommandManager | GuildApplicationCommandManager | ApplicationCommand); public declare readonly client: BushClient; public commandId: CommandIdType; public guild: GuildType; public guildId: Snowflake | null; public manager: ApplicationCommandManager | GuildApplicationCommandManager | ApplicationCommand; public add( options: FetchSingleOptions & { permissions: ApplicationCommandPermissionData[] } ): Promise; public has(options: FetchSingleOptions & { permissionId: BushUserResolvable | BushRoleResolvable }): Promise; public fetch(options: FetchSingleOptions): Promise; public fetch(options: BaseOptions): Promise>; public remove( options: | (FetchSingleOptions & { users: BushUserResolvable | BushUserResolvable[]; roles?: BushRoleResolvable | BushRoleResolvable[]; }) | (FetchSingleOptions & { users?: BushUserResolvable | BushUserResolvable[]; roles: BushRoleResolvable | BushRoleResolvable[]; }) ): Promise; public set( options: FetchSingleOptions & { permissions: ApplicationCommandPermissionData[] } ): Promise; public set( options: FullPermissionsOptions & { fullPermissions: GuildApplicationCommandPermissionData[]; } ): Promise>; private permissionsPath(guildId: Snowflake, commandId?: Snowflake): unknown; private static transformPermissions(permissions: ApplicationCommandPermissionData, received?: boolean): unknown; }