import type { ConsolaInstance } from "consola";
import type { ResultCollector } from "../runtime/ResultCollector";
/**
 * 서버 런타임 워커의 생명주기를 관리하는 클래스
 *
 * 서버별 Worker를 생성/종료하고, serverReady/error 이벤트를 처리한다.
 */
export declare class ServerRuntimeManager {
    private readonly _logger;
    private readonly _workers;
    constructor(logger: ConsolaInstance);
    startRuntime(params: {
        serverName: string;
        mainJsPath: string;
        env?: Record<string, string>;
        clientPorts?: Record<string, number>;
        resultCollector: ResultCollector;
        onServerReady: () => void;
    }): Promise<void>;
    shutdownAll(): Promise<void>;
}
//# sourceMappingURL=ServerRuntimeManager.d.ts.map