import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import * as errors from "../errors/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GenUpscaleResponse = { /** * HTTP response content type for this operation */ contentType: string; /** * HTTP response status code for this operation */ statusCode: number; /** * Raw HTTP response; suitable for custom response parsing */ rawResponse: Response; /** * Successful Response */ imageResponse?: components.ImageResponse | undefined; /** * Error */ studioApiError?: errors.StudioApiError | undefined; }; /** @internal */ export declare const GenUpscaleResponse$inboundSchema: z.ZodType; /** @internal */ export type GenUpscaleResponse$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; ImageResponse?: components.ImageResponse$Outbound | undefined; "studio-api-error"?: errors.StudioApiError$Outbound | undefined; }; /** @internal */ export declare const GenUpscaleResponse$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 GenUpscaleResponse$ { /** @deprecated use `GenUpscaleResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenUpscaleResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenUpscaleResponse$Outbound` instead. */ type Outbound = GenUpscaleResponse$Outbound; } export declare function genUpscaleResponseToJSON(genUpscaleResponse: GenUpscaleResponse): string; export declare function genUpscaleResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=genupscale.d.ts.map