import { Toml } from "../../../util/schema-utils/index.js";
import { z } from "zod/v3";
//#region lib/modules/manager/mise/schema.ts
const MiseToolOptions = z.object({
	tag_regex: z.string().optional(),
	version_prefix: z.string().optional()
});
const MiseTool = z.union([
	z.string(),
	MiseToolOptions.extend({ version: z.string().optional() }),
	z.array(z.string())
]);
const MiseFile = Toml.pipe(z.object({ tools: z.record(MiseTool) }));
//#endregion
export { MiseFile };

//# sourceMappingURL=schema.js.map