/** * core/env.ts — read ~/.aibroker/env into the process environment. * * A launchd-managed daemon inherits almost nothing, so credentials cannot live * in a shell profile. They live in this file instead, and both the daemon and * the CLI have to read it the same way — a CLI that cannot see the same client * id as the daemon produces contradictory errors about the same configuration. * * Existing variables always win: an explicit `FOO=bar aibroker ...` is the * caller overriding the file, not a conflict to resolve. */ /** Returns how many variables were newly set, so callers can report it. */ export declare function loadEnvFile(appDir?: string): number; //# sourceMappingURL=env.d.ts.map