/** * AMP Panel Integration * * Integration with CubeCoders AMP (Application Management Panel). * * @since v1.70.6 */ import { BasePanel } from './base-panel.js'; import type { ConsoleLine, PanelConfig, PanelConnectionResult, PanelServer, PanelServerStats, PanelType } from './panel-types.js'; /** * AMP Panel implementation */ export declare class AMPPanel extends BasePanel { readonly type: PanelType; private sessionId; constructor(config: PanelConfig); /** * Connect to AMP panel */ connect(): Promise; /** * Disconnect from AMP panel */ 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; /** * Map AMP instance to PanelServer */ private mapInstance; /** * Map AMP status to PanelServerStats */ private mapStats; } /** * Create AMP panel instance */ export declare function createAMPPanel(config: Omit): AMPPanel; //# sourceMappingURL=amp-panel.d.ts.map