/** * Resolve the base directory where taskflow persists saved flows and discovers * user agents. Vendored so taskflow-core does not import the pi host SDK. * * Resolution order (first hit wins): * 1. `TASKFLOW_AGENT_DIR` — host-neutral override (codex, tests, …) * 2. `PI_CODING_AGENT_DIR` — pi's own override (keeps pi users' existing * `~/.pi/agent/taskflows` working) * 3. `~/.pi/agent` — the historical default * * A host adapter can also inject a dir explicitly via `setAgentDir()` at * startup; that takes precedence over the env vars. Keeping the default at * `~/.pi/agent` means a user who upgrades from the single-package pi-taskflow * still finds every saved flow exactly where it was. */ /** * Override the agent dir for the current process (host adapters call this once * at startup). Pass `undefined` to clear and fall back to env / default. */ export declare function setAgentDir(dir: string | undefined): void; /** The base directory for taskflow persistence + user-agent discovery. */ export declare function getAgentDir(): string; //# sourceMappingURL=paths.d.ts.map