UNPKG

@memory-bank/mcp

Version:

Memory-enabled Co-Pilot (MCP) server for managing project documentation and context

22 lines 805 B
import type { IResponsePresenter } from "./interfaces/IResponsePresenter.js"; import type { MCPSuccessResponse, MCPErrorResponse } from "./types/MCPResponse.js"; /** * Presenter for JSON responses * Transforms application output into standardized JSON response format * with specific handling for JSON document operations */ export declare class JsonResponsePresenter implements IResponsePresenter { /** * Present success response * @param data Data to present * @returns Formatted success response */ present<T>(data: T): MCPSuccessResponse<T>; /** * Present error response * @param error Error to present * @returns Formatted error response */ presentError(error: Error): MCPErrorResponse; } //# sourceMappingURL=JsonResponsePresenter.d.ts.map