import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const AtTypeHTML: { readonly Html: "HTML"; }; export type AtTypeHTML = ClosedEnum; export declare const RepresentationHTML: { readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }; export type RepresentationHTML = ClosedEnum; export type HtmlContent = { atType?: AtTypeHTML | undefined; fileName?: string | undefined; url: string; representation: RepresentationHTML; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; export declare const AtTypeModel3D: { readonly Model3D: "MODEL_3D"; }; export type AtTypeModel3D = ClosedEnum; export declare const RepresentationModel3D: { readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }; export type RepresentationModel3D = ClosedEnum; export type Model3dContent = { atType?: AtTypeModel3D | undefined; fileName?: string | undefined; url: string; representation: RepresentationModel3D; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; export declare const AtTypeAudio: { readonly Audio: "AUDIO"; }; export type AtTypeAudio = ClosedEnum; export declare const RepresentationAudio: { readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }; export type RepresentationAudio = ClosedEnum; export type AudioContent = { atType?: AtTypeAudio | undefined; fileName?: string | undefined; url: string; representation: RepresentationAudio; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; export declare const AtTypeVideo: { readonly Video: "VIDEO"; }; export type AtTypeVideo = ClosedEnum; export declare const RepresentationVideo: { readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }; export type RepresentationVideo = ClosedEnum; export type VideoContent = { atType?: AtTypeVideo | undefined; width?: number | undefined; height?: number | undefined; fileName?: string | undefined; url: string; representation: RepresentationVideo; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; export declare const AtTypeImage: { readonly Image: "IMAGE"; }; export type AtTypeImage = ClosedEnum; export declare const RepresentationImage: { readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }; export type RepresentationImage = ClosedEnum; export type ImageContent = { atType?: AtTypeImage | undefined; width?: number | undefined; height?: number | undefined; fileName?: string | undefined; url: string; representation: RepresentationImage; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; export type MetaContent = AudioContent | Model3dContent | HtmlContent | ImageContent | VideoContent; /** @internal */ export declare const AtTypeHTML$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeHTML$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeHTML$ { /** @deprecated use `AtTypeHTML$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Html: "HTML"; }>; /** @deprecated use `AtTypeHTML$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Html: "HTML"; }>; } /** @internal */ export declare const RepresentationHTML$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RepresentationHTML$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RepresentationHTML$ { /** @deprecated use `RepresentationHTML$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; /** @deprecated use `RepresentationHTML$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; } /** @internal */ export declare const HtmlContent$inboundSchema: z.ZodType; /** @internal */ export type HtmlContent$Outbound = { "@type"?: string | undefined; fileName?: string | undefined; url: string; representation: string; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; /** @internal */ export declare const HtmlContent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace HtmlContent$ { /** @deprecated use `HtmlContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HtmlContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HtmlContent$Outbound` instead. */ type Outbound = HtmlContent$Outbound; } export declare function htmlContentToJSON(htmlContent: HtmlContent): string; export declare function htmlContentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeModel3D$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeModel3D$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeModel3D$ { /** @deprecated use `AtTypeModel3D$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Model3D: "MODEL_3D"; }>; /** @deprecated use `AtTypeModel3D$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Model3D: "MODEL_3D"; }>; } /** @internal */ export declare const RepresentationModel3D$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RepresentationModel3D$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RepresentationModel3D$ { /** @deprecated use `RepresentationModel3D$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; /** @deprecated use `RepresentationModel3D$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; } /** @internal */ export declare const Model3dContent$inboundSchema: z.ZodType; /** @internal */ export type Model3dContent$Outbound = { "@type"?: string | undefined; fileName?: string | undefined; url: string; representation: string; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; /** @internal */ export declare const Model3dContent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Model3dContent$ { /** @deprecated use `Model3dContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Model3dContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Model3dContent$Outbound` instead. */ type Outbound = Model3dContent$Outbound; } export declare function model3dContentToJSON(model3dContent: Model3dContent): string; export declare function model3dContentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeAudio$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeAudio$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeAudio$ { /** @deprecated use `AtTypeAudio$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Audio: "AUDIO"; }>; /** @deprecated use `AtTypeAudio$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Audio: "AUDIO"; }>; } /** @internal */ export declare const RepresentationAudio$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RepresentationAudio$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RepresentationAudio$ { /** @deprecated use `RepresentationAudio$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; /** @deprecated use `RepresentationAudio$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; } /** @internal */ export declare const AudioContent$inboundSchema: z.ZodType; /** @internal */ export type AudioContent$Outbound = { "@type"?: string | undefined; fileName?: string | undefined; url: string; representation: string; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; /** @internal */ export declare const AudioContent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AudioContent$ { /** @deprecated use `AudioContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AudioContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AudioContent$Outbound` instead. */ type Outbound = AudioContent$Outbound; } export declare function audioContentToJSON(audioContent: AudioContent): string; export declare function audioContentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeVideo$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeVideo$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeVideo$ { /** @deprecated use `AtTypeVideo$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Video: "VIDEO"; }>; /** @deprecated use `AtTypeVideo$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Video: "VIDEO"; }>; } /** @internal */ export declare const RepresentationVideo$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RepresentationVideo$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RepresentationVideo$ { /** @deprecated use `RepresentationVideo$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; /** @deprecated use `RepresentationVideo$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; } /** @internal */ export declare const VideoContent$inboundSchema: z.ZodType; /** @internal */ export type VideoContent$Outbound = { "@type"?: string | undefined; width?: number | undefined; height?: number | undefined; fileName?: string | undefined; url: string; representation: string; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; /** @internal */ export declare const VideoContent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace VideoContent$ { /** @deprecated use `VideoContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VideoContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VideoContent$Outbound` instead. */ type Outbound = VideoContent$Outbound; } export declare function videoContentToJSON(videoContent: VideoContent): string; export declare function videoContentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeImage$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeImage$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeImage$ { /** @deprecated use `AtTypeImage$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Image: "IMAGE"; }>; /** @deprecated use `AtTypeImage$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Image: "IMAGE"; }>; } /** @internal */ export declare const RepresentationImage$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RepresentationImage$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RepresentationImage$ { /** @deprecated use `RepresentationImage$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; /** @deprecated use `RepresentationImage$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Preview: "PREVIEW"; readonly Big: "BIG"; readonly Initial: "INITIAL"; readonly Original: "ORIGINAL"; readonly Portrait: "PORTRAIT"; }>; } /** @internal */ export declare const ImageContent$inboundSchema: z.ZodType; /** @internal */ export type ImageContent$Outbound = { "@type"?: string | undefined; width?: number | undefined; height?: number | undefined; fileName?: string | undefined; url: string; representation: string; mimeType?: string | undefined; size?: number | undefined; available?: boolean | undefined; }; /** @internal */ export declare const ImageContent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ImageContent$ { /** @deprecated use `ImageContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ImageContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ImageContent$Outbound` instead. */ type Outbound = ImageContent$Outbound; } export declare function imageContentToJSON(imageContent: ImageContent): string; export declare function imageContentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const MetaContent$inboundSchema: z.ZodType; /** @internal */ export type MetaContent$Outbound = AudioContent$Outbound | Model3dContent$Outbound | HtmlContent$Outbound | ImageContent$Outbound | VideoContent$Outbound; /** @internal */ export declare const MetaContent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MetaContent$ { /** @deprecated use `MetaContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MetaContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MetaContent$Outbound` instead. */ type Outbound = MetaContent$Outbound; } export declare function metaContentToJSON(metaContent: MetaContent): string; export declare function metaContentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=metacontent.d.ts.map