/** * Shared utilities for the Boardroom MCP Server. * Handles file I/O for LEDGER, Wisdom Codex, and boardroom filesystem. */ export declare const BOARDROOM_ROOT: string; export declare const MASTERMIND_ROOT: string; export declare const LEDGER_PATH: string; export declare const WISDOM_PATH: string; export declare const LEDGER_JSON_PATH: string; export declare const TRUST_ORACLE_PATH: string; export declare const DEMO_ROOT: string; /** * Safely read a file, returning empty string on failure. */ export declare function safeReadFile(filePath: string): Promise; /** * Safely parse JSON, returning null on failure. */ export declare function safeParseJSON(content: string): T | null; /** * Format an MCP tool success response. */ export declare function mcpSuccess(text: string): { content: { type: "text"; text: string; }[]; }; /** * Format an MCP tool error response. */ export declare function mcpError(text: string): { content: { type: "text"; text: string; }[]; isError: true; }; /** * Get the current ISO timestamp. */ export declare function now(): string; /** * Check if the full protocol files are installed. */ export declare function hasProtocolFiles(): Promise;