import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * A media object containing information about the generated media. */ export type Media = { /** * The URL where the media can be accessed. */ url: string; /** * The seed used to generate the media. */ seed: number; /** * Whether the media was flagged as NSFW. */ nsfw: boolean; }; /** @internal */ export declare const Media$inboundSchema: z.ZodType; /** @internal */ export type Media$Outbound = { url: string; seed: number; nsfw: boolean; }; /** @internal */ export declare const Media$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 Media$ { /** @deprecated use `Media$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Media$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Media$Outbound` instead. */ type Outbound = Media$Outbound; } export declare function mediaToJSON(media: Media): string; export declare function mediaFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=media.d.ts.map