/**
 * MCP handler group — kernel execution.
 *
 * Thin routing layer: parses the JSON args, hands off to kernel.run.step /
 * verify / merge, and returns the serialized result. All real work lives
 * in the kernel service; this file exists only so MCP callers get the
 * exact same path CLI callers take.
 */
import type { KernelExecutionService } from '../../../../kernel/execution/index.js';
type McpResult = {
    content: Array<{
        type: string;
        text: string;
    }>;
};
export interface KernelExecutionHandlerCtx {
    /** Override for tests. Production callers leave this undefined. */
    kernelExecutionService?: KernelExecutionService;
}
/**
 * Dispatcher-compatible wrapper. Returns `undefined` when the tool name
 * isn't owned by this group, so the router falls through to the next one.
 */
export declare function handleKernelExecutionGroup(toolName: string, _hctx: unknown, _request: unknown, args: Record<string, unknown>, _ctx?: unknown): Promise<McpResult | undefined>;
export declare function handleKernelExecutionTool(toolName: string, args: Record<string, unknown>, ctx?: KernelExecutionHandlerCtx): Promise<McpResult>;
export {};
