import { r as __exportAll } from "./chunk-D_gEzPfs.js";
import { n as ModelRegistry, r as AuthStorage } from "./dist-iFsGHQA2.js";
import path from "node:path";

//#region src/koi/pi-model-discovery.ts
var pi_model_discovery_exports = /* @__PURE__ */ __exportAll({
	AuthStorage: () => AuthStorage,
	ModelRegistry: () => ModelRegistry,
	discoverAuthStorage: () => discoverAuthStorage,
	discoverModels: () => discoverModels
});
function discoverAuthStorage(koiDir) {
	return new AuthStorage(path.join(koiDir, "auth.json"));
}
function discoverModels(authStorage, koiDir) {
	return new ModelRegistry(authStorage, path.join(koiDir, "models.json"));
}

//#endregion
export { discoverModels as n, pi_model_discovery_exports as r, discoverAuthStorage as t };