import type { IncomingMessage, ServerResponse } from 'node:http';
/**
 * Match-and-handle dispatcher. Returns `true` when the request was
 * served (caller should stop walking its own route table); `false`
 * when the URL/method didn't match.
 */
export declare function handleMcpApi(req: IncomingMessage, res: ServerResponse, url: URL): Promise<boolean>;
//# sourceMappingURL=mcp-api.d.ts.map