/**
 * NodeBench Engine — Headless API-First Agentic Engine
 *
 * HTTP server exposing MCP tool handlers as a REST API.
 * Supports: tool execution, workflow chains (with SSE streaming),
 * session management, preset gating, and conformance reports.
 *
 * Port: 6276 (follows 6274 dashboard, 6275 brief convention)
 */
import type { McpTool } from "../types.js";
import type { WorkflowChain } from "../tools/toolRegistry.js";
export interface EngineServerConfig {
    toolMap: Map<string, McpTool>;
    allTools: McpTool[];
    workflowChains: Record<string, WorkflowChain>;
    presets: Record<string, string[]>;
    toolsetMap: Record<string, McpTool[]>;
    toolToToolset: Map<string, string>;
    secret?: string;
}
export declare function startEngineServer(config: EngineServerConfig, preferredPort?: number): Promise<number>;
export declare function stopEngineServer(): void;
export declare function getEngineUrl(): string | null;
