import { type LocalIpcEndpoint } from "../platform/ipc.js"; export interface EngineIdentity { pid: number; instanceId: string; home: string; version: string; runtimePath: string; startedAt: string; } export declare class EngineControlServer { private endpoint; private identity; private controlToken; private onShutdown; private server; constructor(endpoint: LocalIpcEndpoint, identity: EngineIdentity, controlToken: string, onShutdown: () => void | Promise); start(): Promise; stop(): void; private handle; }