import { Collection, GuildManager, type APIGuild, type Guild } from "discord.js"; export default class GuildManagerExtension { cache: GuildManager["cache"]; client: GuildManager["client"]; constructor(); /** @DJSProtofy */ getById(id: string): Guild; /** @DJSProtofy */ getByName(name: string | RegExp): Guild; /** @DJSProtofy */ getInShardsById(id: string): Promise; getInShardsById(id: string, allowApiGuild: true): Promise; /** @DJSProtofy */ getInShardsByName(name: string | RegExp): Promise; getInShardsByName(name: string | RegExp, allowApiGuild: true): Promise; /** @DJSProtofy */ filterByOwnerId(ownerId: string): Collection; /** @DJSProtofy */ filterInShardsByOwnerId(ownerId: string): Promise; /** @DJSProtofy */ searchBy(query: T): Guild | undefined; searchBy(query: T): Guild | undefined; searchBy(query: T): Guild | undefined; searchBy(query: T): Guild | undefined; searchBy(query: T[]): Collection; /** @DJSProtofy */ protected _searchByMany(queries: (string | RegExp | Search)[]): this["cache"]; /** @DJSProtofy */ protected _searchByRegExp(query: RegExp): Guild; /** @DJSProtofy */ protected _searchByString(query: string): Guild; } interface Search { id?: string; name?: string | RegExp; ownerId?: string; } export {};