/** Installed package root — where `dist/` and `defaults/` live. Immutable code/assets, * never write here. For user-mutable state use DATA_DIR. */ export declare const INSTALL_ROOT: string; /** Default scaffold assets shipped with the package. Read-only at runtime; * `cortex init` copies what users need from here into DATA_DIR. */ export declare const DEFAULTS_DIR: string; /** @deprecated Use INSTALL_ROOT. Kept as alias during refactor. */ export declare const PACKAGE_ROOT: string; /** @deprecated Use INSTALL_ROOT. Kept as alias during refactor. */ export declare const SERVER_ROOT: string; /** @deprecated Use INSTALL_ROOT or DATA_DIR depending on intent. Alias during refactor. */ export declare const REPO_ROOT: string; /** User data directory. Reads $CORTEX_HOME, falls back to ~/.cortex/. */ export declare const DATA_DIR: string; /** Configuration files — .env, budget, mode, profiles, templates, etc. (DATA_DIR/config/). */ export declare const CONFIG_DIR: string; /** Persistent store for runtime JSON state files (DATA_DIR/data/). */ export declare const STORE_DIR: string; /** Research context root — OVERVIEW, decisions, projects, scans, user profile (DATA_DIR/context/). */ export declare const CONTEXT_DIR: string; /** User project directory. Reads $CORTEX_PROJECTS_DIR, falls back to CONTEXT_DIR/projects/. */ export declare const PROJECTS_DIR: string; /** Temporary workspace directory for thread artifacts, tool results, etc. */ export declare const WORKSPACE_DIR: string; /** Resolve a UI-relative `workspace/…` path to an absolute path strictly inside WORKSPACE_DIR. * The `workspace/` prefix is a stable UI-facing ALIAS for WORKSPACE_DIR's contents — it is NOT the * directory's real basename (which is `tmp`). File cards (attachments/outputs) are stored under * `WORKSPACE_DIR/` and surfaced to the UI as `workspace/`; every consumer that turns such a * relative path back into an absolute one MUST go through here so the alias resolves consistently * (the divergent `path.join(WORKSPACE_DIR, '..', rel)` in agent-runner produced `/workspace/…`, * a non-existent path, once WORKSPACE_DIR moved from `workspace` to `tmp`). * Returns null when the prefix is wrong or the resolved target escapes the workspace root. */ export declare function resolveWorkspaceRelPath(rel: string): string | null; /** Plugin packages directory (DATA_DIR/plugins/). */ export declare const PLUGINS_DIR: string; /** Prompt files directory — directives, systemPrompts, promptTemplates (DATA_DIR/prompts/). */ export declare const PROMPTS_DIR: string; /** Claude Code hook scripts directory (DATA_DIR/hooks/). */ export declare const HOOKS_DIR: string; /** Log files directory — server daily logs, event logs, session logs (DATA_DIR/logs/). */ export declare const LOGS_DIR: string;