import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Metadata about an uploaded image. */ export type ImageMetadata = { imageID: string; /** * The ID used to get an image with the public endpoint. */ publicID: string; /** * Alternative text for the image. */ altText?: string | undefined; /** * A public URL to access the image. An optional `size={width}x{height}` * * @remarks * query parameter can be provided to resize the image. */ link: string; createdOn: Date; updatedOn: Date; disabledOn?: Date | undefined; }; /** @internal */ export declare const ImageMetadata$inboundSchema: z.ZodType; /** @internal */ export type ImageMetadata$Outbound = { imageID: string; publicID: string; altText?: string | undefined; link: string; createdOn: string; updatedOn: string; disabledOn?: string | undefined; }; /** @internal */ export declare const ImageMetadata$outboundSchema: z.ZodType; export declare function imageMetadataToJSON(imageMetadata: ImageMetadata): string; export declare function imageMetadataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagemetadata.d.ts.map