/** * Testeiya's state directory, shared with the desktop app: a provider key saved * in its Settings dialog works here with no extra step. */ export declare const TESTEIYA_HOME: string; /** * This package's root, found by walking up to package.json — `dist/src` when * built, `src` when run from source. Bundled files resolve from here. */ export declare const PACKAGE_ROOT: string; /** This package's version, read from the same package.json. */ export declare const VERSION: string; /** * Where pi keeps its own state for this CLI. Deliberately not `~/.pi` — running * `npx testeiya` must not write into a user's own pi installation. */ export declare const PI_STATE_DIR: string; /** * Fill gaps in process.env from `~/.testeiya/.env`, then from any `.env` found * walking up from the working directory — so running in a repo picks up that * repo's key. Exported variables always win; this only fills gaps. * * The walk starts at cwd, never at this file: an installed package sits under * some node_modules whose ancestors are none of the agent's business, and * silently adopting a key from there is a surprise, not a convenience. * * Returns the file each variable came from, which is what `doctor` reports. */ export declare function loadEnvFiles(): Map; export declare function parseEnv(content: string): Record;