/** * MCSManager Panel Integration * * Integration with MCSManager (distributed game server manager). * * @since v1.70.6 */ import { BasePanel } from './base-panel.js'; import type { ConsoleLine, PanelConfig, PanelConnectionResult, PanelServer, PanelServerStats, PanelType } from './panel-types.js'; /** * MCSManager Panel implementation */ export declare class MCSManagerPanel extends BasePanel { readonly type: PanelType; private daemonId; constructor(config: PanelConfig); /** * Connect to MCSManager */ connect(): Promise; /** * Disconnect from MCSManager */ disconnect(): Promise; /** * Make authenticated API request */ protected fetch(endpoint: string, options?: RequestInit): Promise; /** * Get list of servers (instances) */ getServers(): Promise; /** * Get server by ID */ getServer(serverId: string): Promise; /** * Get server stats */ getServerStats(serverId: string): Promise; /** * Send command to server * Commands are validated against an allowlist for security (v2.0.0) */ sendCommand(serverId: string, command: string): Promise; /** * Get console output */ getConsoleOutput(serverId: string, lines?: number): Promise; /** * Start server */ startServer(serverId: string): Promise; /** * Stop server */ stopServer(serverId: string): Promise; /** * Restart server */ restartServer(serverId: string): Promise; /** * Kill server (force stop) */ killServer(serverId: string): Promise; /** * Map MCSManager status code to ServerStatus */ private mapStatus; /** * Map MCSManager instance to PanelServer */ private mapInstance; } /** * Create MCSManager panel instance */ export declare function createMCSManagerPanel(config: Omit): MCSManagerPanel; //# sourceMappingURL=mcsmanager-panel.d.ts.map