/** * Error types and MCP error formatting helpers. */ export declare class EncrapiError extends Error { status: number; code?: string | undefined; constructor(message: string, status: number, code?: string | undefined); } /** Format any thrown error into a standard MCP error tool result. */ export declare function errorResult(err: unknown): { content: Array<{ type: "text"; text: string; }>; isError: true; }; //# sourceMappingURL=errors.d.ts.map