/** * Filesystem locations for the policy artifacts. * * The user-global policy joins the established `~/.sitecoreai/` directory * (alongside `audit.log`, `rollback/`). The repo policy sits next to the * `sitecoreai.cli.json` it narrows. */ /** * The directory holding the user-global workspace policy. * * Honors `SITECOREAI_POLICY_HOME` so tests run against a temp directory. * Under Vitest with no override it returns `null` — the real * `~/.sitecoreai/policy.json` can never leak into a test run, and a * `null` directory means "unmanaged mode" everywhere downstream, so the * existing test suite (which has no policy file) is unaffected. */ export declare const resolvePolicyDir: () => string | null; /** Absolute path to the user-global workspace policy, or `null` (see above). */ export declare const resolveUserPolicyPath: () => string | null; /** Path to the optional repo policy, next to the resolved config file. */ export declare const resolveRepoPolicyPath: (configRootDir: string) => string;