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

//#region src/lib/sources/metadata-file.d.ts
declare const metadataSchema: z.ZodObject<{
  description: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  homepage: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
  keywords: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
  repository: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodString>>;
}, z.core.$strip>;
type Metadata = z.infer<typeof metadataSchema>;
type MetadataFileData = OneOrMany<SourceRecord<Metadata>> | undefined;
//#endregion
export { MetadataFileData };