export interface ResolvedPaths { home: string; instructionsDir: string; configFile: string; tracesDir: string; memoryDir: string; packsDir: string; source: 'home' | 'legacy-config' | 'legacy-data' | 'xdg' | 'default'; } /** * Single authoritative resolver for all ClarifyPrompt file paths. * * Precedence: * 1. $CLARIFYPROMPT_HOME (canonical, 1.2.0+) * 2. $CLARIFYPROMPT_CONFIG_DIR (legacy, pre-1.2 custom-platform dir) * 3. $CLARIFYPROMPT_DATA_DIR (legacy, early-1.2 traces dir) * 4. $XDG_DATA_HOME/clarifyprompt (standard fallback) * 5. ~/.clarifyprompt (final default) * * Everything — config, traces, memory, packs — lives under one root. The * legacy env vars still work so existing installs don't break; they just * get logged to stderr once per session as a deprecation hint. */ export declare function getPaths(): ResolvedPaths; /** * Test-only reset. Production code should never call this. */ export declare function resetPaths(): void;