import { BaseFetchOptions, CachedManager, ChannelLogsQueryOptions, Collection, EmojiIdentifierResolvable, MessageEditOptions, MessagePayload, MessageResolvable, Snowflake } from 'discord.js'; import { RawMessageData } from 'discord.js/typings/rawDataTypes'; import { BushMessageResolvable, BushTextBasedChannels } from '../..'; import { BushMessage } from './BushMessage'; export class BushMessageManager extends CachedManager { public constructor(channel: BushTextBasedChannels, iterable?: Iterable); public channel: BushTextBasedChannels; public cache: Collection; public crosspost(message: BushMessageResolvable): Promise; public delete(message: BushMessageResolvable): Promise; public edit(message: MessageResolvable, 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; }