/** * openlore view command * * Starts a local React (Vite) server to visualize analysis graphs, * then opens the user's browser. */ import { Command } from 'commander'; /** Strip internal filesystem paths and API keys from error messages before sending to clients. */ export declare function sanitizeErrorMessage(msg: string): string; /** * Ensure a resolved path stays within the project root. Returns null if invalid. * * Delegates to the shared `safeJoin` so this surface gets the same SYMLINK-aware * containment the MCP handlers have (mcp-security: Symlink-Aware Path Confinement). * The lexical-only check this used to do accepted an in-repo symlink pointing * outside the root, which the `/api/skeleton` and `/api/spec-requirements` routes * would then read. */ export declare function safePath(rootPath: string, userPath: string): string | null; export declare const viewCommand: Command; //# sourceMappingURL=view.d.ts.map