import { type Server } from "node:http";
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
export declare const DEFAULT_MCP_HTTP_PORT = 8840;
export interface McpHttpServerOptions {
    name: string;
    port?: number;
    host?: string;
    createMcpServer?: () => McpServer | Promise<McpServer>;
}
export declare function resolveMcpHttpPort(explicitPort?: number): number;
export declare function parseCliPort(args: string[]): number | undefined;
export declare function isHttpMode(args: string[]): boolean;
export declare function isStdioMode(args: string[]): boolean;
export declare function startMcpHttpServer(options: McpHttpServerOptions): Promise<{
    server: Server;
    port: number;
    host: string;
}>;
//# sourceMappingURL=http.d.ts.map