import { EventEmitter } from 'events';
import { f as DevServerConfig } from '../index-D9DTurRB.js';

/**
 * @fileoverview OrdoJS Dev Tools - Development Server
 *
 * Enhanced development server with all dev tools integration.
 */

/**
 * Enhanced development server with dev tools integration
 */
declare class DevelopmentServer extends EventEmitter {
    private config;
    private isRunning;
    private server;
    /**
     * Create a new DevelopmentServer instance
     *
     * @param config - Development server configuration
     */
    constructor(config: DevServerConfig);
    /**
     * Start the development server
     */
    start(): Promise<void>;
    /**
     * Stop the development server
     */
    stop(): Promise<void>;
    /**
     * Get server status
     *
     * @returns Server status information
     */
    getStatus(): {
        isRunning: boolean;
        port: number;
        host: string;
        config: DevServerConfig;
    };
    /**
     * Update server configuration
     *
     * @param newConfig - New configuration
     */
    updateConfig(newConfig: Partial<DevServerConfig>): void;
    /**
     * Initialize Express server
     */
    private initializeServer;
    /**
     * Start the server
     */
    private startServer;
    /**
     * Stop the server
     */
    private stopServer;
    /**
     * Setup dev tools API routes
     *
     * @param app - Express app instance
     */
    private setupDevToolsRoutes;
    /**
     * Error handling middleware
     *
     * @param err - Error object
     * @param req - Request object
     * @param res - Response object
     * @param next - Next function
     */
    private errorHandler;
}

export { DevelopmentServer };
