import { IDiscordBot, IAutoManagedBot } from '../models/DiscordBot'; import { BotRestartSettings } from '../models/BotRestartSettings'; import * as Rx from 'rxjs/Rx'; import { BitFieldResolvable } from 'discord.js'; import { ILogger } from 'tsdatautils-core'; export declare class BotManager { onBotMaxRestartAttempts: Rx.Subject; bot: T; private botStartAttempts; private botRestartSettings; private logger; constructor(bot: T, botRestartSettings: BotRestartSettings, logger: ILogger); startBot(isRestart?: boolean, intents?: BitFieldResolvable): void; stopBot(): void; private cooldownAndRestart; private restartBot; private resetRestartAttempts; private subscribeToSubjects; }