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

//#region src/lib/sources/java-pom-xml.d.ts
declare const pomXmlSchema: z.ZodObject<{
  artifactId: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  ciManagementUrl: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  contributors: z.ZodArray<z.ZodObject<{
    email: z.ZodOptional<z.ZodString>;
    name: z.ZodString;
    organization: z.ZodOptional<z.ZodString>;
    url: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
  dependencies: z.ZodArray<z.ZodObject<{
    artifactId: z.ZodString;
    groupId: z.ZodString;
    version: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
  description: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  devDependencies: z.ZodArray<z.ZodObject<{
    artifactId: z.ZodString;
    groupId: z.ZodString;
    version: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
  developers: z.ZodArray<z.ZodObject<{
    email: z.ZodOptional<z.ZodString>;
    name: z.ZodString;
    organization: z.ZodOptional<z.ZodString>;
    url: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
  groupId: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  identifier: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  inceptionYear: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  issueManagementUrl: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  javaVersion: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  licenses: z.ZodArray<z.ZodObject<{
    name: z.ZodOptional<z.ZodString>;
    url: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
  name: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  organization: z.ZodOptional<z.ZodObject<{
    name: z.ZodString;
    url: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>>;
  scmUrl: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  url: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  version: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
}, z.core.$strip>;
type PomXml = z.infer<typeof pomXmlSchema>;
type JavaPomXmlData = OneOrMany<SourceRecord<PomXml>> | undefined;
//#endregion
export { JavaPomXmlData };