/**
 * src/utils/load-env.ts
 *
 * Find and load the user's .env file from a set of stable locations.
 *
 * The challenge: when Muassis is installed globally (`npm install -g`), the
 * package lives somewhere like `/usr/local/lib/node_modules/@almoasisai/...`
 * and that directory has no .env (we don't ship one). So the gateway boots
 * with no NVIDIA_API_KEY, falls back to the public proxy, and hits its 25s
 * function-invocation cap on any non-trivial turn.
 *
 * The fix: look for .env in the platform-native data dir (the same place
 * `muassis init` saves owner.id and the SQLite database). Users put their
 * keys there once and they survive reinstalls / version bumps.
 *
 * Search order (first match wins, no merging):
 *   1. $MUASSIS_DOTENV       — explicit override
 *   2. <dataDir>/.env        — platform-native config (recommended)
 *   3. $HOME/.muassis.env    — legacy
 *   4. process.cwd()/.env    — running `muassis` from a project dir
 *   5. <packageRoot>/.env    — development checkout fallback
 */
export interface EnvLoadResult {
    loaded: boolean;
    path: string | null;
    searchedPaths: string[];
}
export declare function loadMuassisEnv(packageRoot?: string): EnvLoadResult;
//# sourceMappingURL=load-env.d.ts.map