/**
 * src/utils/discover-env.ts
 *
 * First-run env-key discovery. The npm-global binary has no .env of its
 * own, but most users already have one lying around — usually in a
 * development clone of the repo (~/Projects/muassis-gateway/.env), or in
 * ~/.muassis.env. Without this, the user has to manually copy keys into
 * <dataDir>/.env, which they shouldn't have to know about.
 *
 * On every gateway boot (and `muassis init`), if the persistent
 * <dataDir>/.env doesn't already have an NVIDIA key, we silently sweep a
 * handful of likely locations and migrate the first key we find. Result
 * is logged in one line so the user can see what just happened.
 */
export interface DiscoveryResult {
    imported: boolean;
    sourcePath: string | null;
    keysImported: string[];
    destPath: string;
}
/**
 * If <dataDir>/.env already has NVIDIA_API_KEY (or NVIDIA_NIM_API_KEY),
 * do nothing. Otherwise scan candidate paths, find the first .env that
 * has a NIM key, copy the IMPORT_KEYS subset into <dataDir>/.env, and
 * also seed them into process.env so the current run uses them too.
 */
export declare function discoverAndMigrateEnv(dataDir: string): DiscoveryResult;
//# sourceMappingURL=discover-env.d.ts.map