/** * Shared formatting helpers for converting MCP tool responses to markdown. */ /** Wraps a markdown string in the MCP response shape. */ export declare function mcpText(markdown: string): { content: Array<{ type: string; text: string; }>; }; /** Display status in human-readable form: "rate_limited" -> "rate limited" */ export declare function displayStatus(status: string): string; /** Standard error block with optional actionable hint. */ export declare function formatError(error: string, hint?: string): string; /** MCP-compliant error response with isError: true and optional hint. */ export declare function mcpError(title: string, hint?: string): { content: Array<{ type: string; text: string; }>; isError: true; }; /** MCP-compliant validation error response with isError: true. */ export declare function mcpValidationError(markdown: string): { content: Array<{ type: string; text: string; }>; isError: true; }; export declare function formatDuration(ms: number): string; /** Render a markdown table from headers and rows. */ export declare function formatTable(headers: string[], rows: string[][]): string; //# sourceMappingURL=format.d.ts.map