"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createMockServer = createMockServer;
exports.createMockTransport = createMockTransport;
function createMockServer() {
    return {
        connect: vi.fn().mockResolvedValue(undefined),
        close: vi.fn().mockResolvedValue(undefined),
        setRequestHandler: vi.fn(),
        onclose: undefined,
        onerror: undefined,
    };
}
function createMockTransport(sessionId, transportType = 'sse') {
    return {
        transportType,
        sessionId,
        send: vi.fn().mockResolvedValue(undefined),
        handleRequest: vi.fn().mockResolvedValue(undefined),
        close: vi.fn().mockResolvedValue(undefined),
        onclose: undefined,
    };
}
//# sourceMappingURL=mock-mcp-sdk.js.map