import { z } from "zod/v3";

//#region lib/modules/platform/github/schema.d.ts
declare const GithubVulnerabilityAlerts: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
  security_advisory: {
    ghsa_id: string;
    summary: string;
    description: string;
    identifiers: {
      value: string;
      type: string;
    }[];
    severity: "low" | "medium" | "high" | "critical";
    references?: {
      url: string;
    }[] | undefined;
    cvss_severities?: {
      cvss_v3?: {
        vector_string: string | null;
        score: number | null;
      } | null | undefined;
      cvss_v4?: {
        vector_string: string | null;
        score: number | null;
      } | null | undefined;
    } | null | undefined;
  };
  security_vulnerability: {
    severity: "low" | "medium" | "high" | "critical";
    package: {
      name: string;
      ecosystem: "composer" | "maven" | "npm" | "rust" | "go" | "rubygems" | "actions" | "nuget" | "pip";
    };
    vulnerable_version_range: string;
    first_patched_version?: {
      identifier: string;
    } | null | undefined;
  } | null;
  dependency: {
    manifest_path: string;
  };
  dismissed_reason?: string | null | undefined;
}[], any[]>, {
  security_advisory: {
    ghsa_id: string;
    summary: string;
    description: string;
    identifiers: {
      value: string;
      type: string;
    }[];
    severity: "low" | "medium" | "high" | "critical";
    references?: {
      url: string;
    }[] | undefined;
    cvss_severities?: {
      cvss_v3?: {
        vector_string: string | null;
        score: number | null;
      } | null | undefined;
      cvss_v4?: {
        vector_string: string | null;
        score: number | null;
      } | null | undefined;
    } | null | undefined;
  };
  security_vulnerability: {
    severity: "low" | "medium" | "high" | "critical";
    package: {
      name: string;
      ecosystem: "composer" | "maven" | "npm" | "rust" | "go" | "rubygems" | "actions" | "nuget" | "pip";
    };
    vulnerable_version_range: string;
    first_patched_version?: {
      identifier: string;
    } | null | undefined;
  } | null;
  dependency: {
    manifest_path: string;
  };
  dismissed_reason?: string | null | undefined;
}[], any[]>;
type GithubVulnerabilityAlerts = z.infer<typeof GithubVulnerabilityAlerts>;
type GithubVulnerabilityAlert = GithubVulnerabilityAlerts[number];
//#endregion
export { GithubVulnerabilityAlert };
//# sourceMappingURL=schema.d.ts.map