/* eslint-disable @typescript-eslint/no-explicit-any */ import { BaseFetchOptions, CachedManager, ChannelLogsQueryOptions, Collection, EmojiIdentifierResolvable, MessageEditOptions, MessagePayload, Snowflake, TextBasedChannelFields } from 'discord.js'; import { BushClient, BushMessageResolvable } from '../discord-akairo/BushClient'; import { BushDMChannel } from './BushDMChannel'; import { BushMessage } from './BushMessage'; import { BushTextChannel } from './BushTextChannel'; import { BushThreadChannel } from './BushThreadChannel'; export class BushMessageManager extends CachedManager { public constructor(channel: BushTextChannel | BushDMChannel | BushThreadChannel, iterable?: Iterable); public declare readonly client: BushClient; public channel: TextBasedChannelFields; public cache: Collection; public crosspost(message: BushMessageResolvable): Promise; public delete(message: BushMessageResolvable): Promise; public edit(message: BushMessageResolvable, options: MessagePayload | MessageEditOptions): Promise; public fetch(message: Snowflake, options?: BaseFetchOptions): Promise; public fetch(options?: ChannelLogsQueryOptions, cacheOptions?: BaseFetchOptions): Promise>; public fetchPinned(cache?: boolean): Promise>; public react(message: BushMessageResolvable, emoji: EmojiIdentifierResolvable): Promise; public pin(message: BushMessageResolvable): Promise; public unpin(message: BushMessageResolvable): Promise; }