import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetPublicImageRequest = { ifNoneMatch?: string | undefined; publicID: string; /** * Optional parameter to request a resized version of the image (WxH). * * @remarks * * If either dimension is 0, the image will be scaled proportionally based on * the non-zero dimension. Dimensions are capped at 2048 pixels. A default size * of 400x400 will be used if this parameter is omitted. */ size?: string | undefined; }; export type GetPublicImageResponseResult = ReadableStream | ReadableStream | ReadableStream; export type GetPublicImageResponse = { headers: { [k: string]: Array; }; result: ReadableStream | ReadableStream | ReadableStream; }; /** @internal */ export declare const GetPublicImageRequest$inboundSchema: z.ZodType; /** @internal */ export type GetPublicImageRequest$Outbound = { "if-none-match"?: string | undefined; publicID: string; size: string; }; /** @internal */ export declare const GetPublicImageRequest$outboundSchema: z.ZodType; export declare function getPublicImageRequestToJSON(getPublicImageRequest: GetPublicImageRequest): string; export declare function getPublicImageRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetPublicImageResponseResult$inboundSchema: z.ZodType; /** @internal */ export type GetPublicImageResponseResult$Outbound = ReadableStream | ReadableStream | ReadableStream; /** @internal */ export declare const GetPublicImageResponseResult$outboundSchema: z.ZodType; export declare function getPublicImageResponseResultToJSON(getPublicImageResponseResult: GetPublicImageResponseResult): string; export declare function getPublicImageResponseResultFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetPublicImageResponse$inboundSchema: z.ZodType; /** @internal */ export type GetPublicImageResponse$Outbound = { Headers: { [k: string]: Array; }; Result: ReadableStream | ReadableStream | ReadableStream; }; /** @internal */ export declare const GetPublicImageResponse$outboundSchema: z.ZodType; export declare function getPublicImageResponseToJSON(getPublicImageResponse: GetPublicImageResponse): string; export declare function getPublicImageResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getpublicimage.d.ts.map