/// import type Client from '../Client.js'; import Collection from '../Collection.js'; import type { ShardManagerOptions } from '../typings.js'; import Shard from './Shard.js'; export declare class ShardManager extends Collection { /** The client manager */ client: Client; /** The options that were used to configure this manager. */ options: ShardManagerOptions; /** The buckets that this manager is handling. */ buckets: Map; /** The queue in which to connect a shard. */ connectQueue: Shard[]; /** The timeout to use for connecting a shard. */ connectTimeout: NodeJS.Timeout | null; constructor(client: Client, options?: ShardManagerOptions); /** * @deprecated Use `.client` instead. */ get _client(): Client; connect(shard: Shard): void; get concurrency(): number; setConcurrency(concurrency: number): void; spawn(id: number): void; tryConnect(): void; _readyPacketCB(shardID: number): void; toString(): string; toJSON(props?: never[]): Record; } export default ShardManager; //# sourceMappingURL=ShardManager.d.ts.map