import type { Client } from '../client/Client'; import type { Guild } from '../structures/Guild'; import { ChannelData, GuildChannel } from '../structures/GuildChannel'; import { LimitedMap } from '../utils/LimitedMap'; import type { AnyChannel } from './ChannelManager'; /** * Manages API methods for GuildChannels and stores their cache. */ declare class GuildChannelManager { cache: LimitedMap; client: Client; guild: Guild; constructor(client: Client, limit: number, guild: Guild); /** * Deletes the channel. * @param {string} reason - The reason for deleting this channel * @returns {Promise} */ delete(id: string, reason?: string): Promise; edit(id: string, options: ChannelData, reason?: string): Promise; /** * Obtains one or more {@link GuildChannel}s from Discord, or the channel cache if they're already available. * @param {string|undefined} [id] - The channel's id. If undefined, fetches all channels. * @returns {Promise>} */ fetch(id: string | undefined): Promise>; _fetchAll(): Promise>; } export { GuildChannelManager }; //# sourceMappingURL=GuildChannelManager.d.ts.map