/** @module ShardManager */ import Shard from "./Shard"; import type Client from "../Client"; import type { GatewayOptions, ShardManagerInstanceOptions } from "../types/gateway"; import Collection from "../util/Collection"; /** A manager for all the client's shards. */ export default class ShardManager extends Collection { #private; options: ShardManagerInstanceOptions; constructor(client: Client, options?: GatewayOptions); private _ready; private _resetConnectQueue; connect(shard: Shard): void; spawn(id: number): void; tryConnect(): void; }