import { OneOrMany, SourceRecord } from "../source.js";
import { z } from "zod";

//#region src/lib/sources/go-go-mod.d.ts
declare const goModDataSchema: z.ZodObject<{
  dependencies: z.ZodArray<z.ZodObject<{
    module: z.ZodString;
    version: z.ZodString;
  }, z.core.$strip>>;
  go_version: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  module: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  repository_url: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  tool_dependencies: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
/** Parsed go.mod metadata */
type GoMod = z.infer<typeof goModDataSchema>;
type GoGoModData = OneOrMany<SourceRecord<GoMod>> | undefined;
//#endregion
export { GoGoModData };