import type { Client } from '../client/Client'; import { Guild } from '../structures/Guild'; import { LimitedMap } from '../utils/LimitedMap'; /** * Manages API methods for Guilds and stores their cache. */ declare class GuildManager { cache: LimitedMap; client: Client; constructor(client: Client, limit: number); /** * Obtains one or multiple guilds from Discord, or the guild cache if it's already available. * @param {string | undefined} [id] The guild's id to fetch. If undefined, fetches all guilds. * @returns {Promise>} */ fetch(id: string | undefined): Promise>; } export { GuildManager }; //# sourceMappingURL=GuildManager.d.ts.map