import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
export declare const DEFAULT_MCP_HTTP_PORT = 8881;
export declare const MCP_HTTP_NAME = "todos";
export declare function isHttpMode(): boolean;
export declare function isStdioMode(): boolean;
export declare function resolveHttpPort(defaultPort?: number): number;
export declare function healthResponse(name?: string): Response;
export declare function handleMcpHttpRequest(req: Request, createServer?: () => McpServer): Promise<Response>;
export declare function startHttpServer(port: number, options?: {
    createServer?: () => McpServer;
    name?: string;
}): Promise<ReturnType<typeof Bun.serve>>;
//# sourceMappingURL=http.d.ts.map