@memory-bank/mcp
Version:
Memory-enabled Co-Pilot (MCP) server for managing project documentation and context
19 lines • 553 B
TypeScript
import type { MCPErrorResponse, MCPResponse } from "./types/MCPResponse.js";
/**
* Presenter for MCP responses
*/
export declare class MCPResponsePresenter {
/**
* Present successful response
* @param result Result data
* @returns MCP response object
*/
presentSuccess<T>(result: T): MCPResponse<T>;
/**
* Present error response
* @param error Error object
* @returns MCP error response object
*/
presentError(error: Error): MCPErrorResponse;
}
//# sourceMappingURL=MCPResponsePresenter.d.ts.map