/**
 * Crafty Controller Panel Integration
 *
 * Integration with Crafty Controller (Python-based server manager).
 *
 * @since v1.70.6
 */
import { BasePanel } from './base-panel.js';
import type { ConsoleLine, PanelConfig, PanelConnectionResult, PanelServer, PanelServerStats, PanelType } from './panel-types.js';
/**
 * Crafty Controller Panel implementation
 */
export declare class CraftyPanel extends BasePanel {
    readonly type: PanelType;
    private token;
    constructor(config: PanelConfig);
    /**
     * Connect to Crafty Controller
     */
    connect(): Promise<PanelConnectionResult>;
    /**
     * Disconnect from Crafty Controller
     */
    disconnect(): Promise<void>;
    /**
     * Make authenticated API request
     */
    protected fetch<T>(endpoint: string, options?: RequestInit): Promise<T>;
    /**
     * Get list of servers
     */
    getServers(): Promise<PanelServer[]>;
    /**
     * Get server by ID
     */
    getServer(serverId: string): Promise<PanelServer | null>;
    /**
     * Get server stats
     */
    getServerStats(serverId: string): Promise<PanelServerStats>;
    /**
     * Send command to server
     * Commands are validated against an allowlist for security (v2.0.0)
     */
    sendCommand(serverId: string, command: string): Promise<boolean>;
    /**
     * Get console output
     */
    getConsoleOutput(serverId: string, lines?: number): Promise<ConsoleLine[]>;
    /**
     * Start server
     */
    startServer(serverId: string): Promise<boolean>;
    /**
     * Stop server
     */
    stopServer(serverId: string): Promise<boolean>;
    /**
     * Restart server
     */
    restartServer(serverId: string): Promise<boolean>;
    /**
     * Map Crafty server to PanelServer
     */
    private mapServer;
}
/**
 * Create Crafty panel instance
 */
export declare function createCraftyPanel(config: Omit<PanelConfig, 'type'>): CraftyPanel;
//# sourceMappingURL=crafty-panel.d.ts.map