import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { HTTPError, HTTPError$Outbound } from "./httperror.js"; import { HTTPValidationError, HTTPValidationError$Outbound } from "./httpvalidationerror.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { StudioApiError, StudioApiError$Outbound } from "./studioapierror.js"; /** * Internal Server Error */ export type GenSegmentAnything2GenerateResponse500ResponseBody = HTTPError | StudioApiError; /** * Validation Error */ export type GenSegmentAnything2GenerateResponseResponseBody = HTTPValidationError | StudioApiError; /** * Unauthorized */ export type GenSegmentAnything2GenerateResponseBody = HTTPError | StudioApiError; /** * Bad Request */ export type GenSegmentAnything2ResponseBody = HTTPError | StudioApiError; /** @internal */ export declare const GenSegmentAnything2GenerateResponse500ResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GenSegmentAnything2GenerateResponse500ResponseBody$Outbound = HTTPError$Outbound | StudioApiError$Outbound; /** @internal */ export declare const GenSegmentAnything2GenerateResponse500ResponseBody$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 GenSegmentAnything2GenerateResponse500ResponseBody$ { /** @deprecated use `GenSegmentAnything2GenerateResponse500ResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2GenerateResponse500ResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2GenerateResponse500ResponseBody$Outbound` instead. */ type Outbound = GenSegmentAnything2GenerateResponse500ResponseBody$Outbound; } export declare function genSegmentAnything2GenerateResponse500ResponseBodyToJSON(genSegmentAnything2GenerateResponse500ResponseBody: GenSegmentAnything2GenerateResponse500ResponseBody): string; export declare function genSegmentAnything2GenerateResponse500ResponseBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GenSegmentAnything2GenerateResponseResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GenSegmentAnything2GenerateResponseResponseBody$Outbound = HTTPValidationError$Outbound | StudioApiError$Outbound; /** @internal */ export declare const GenSegmentAnything2GenerateResponseResponseBody$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 GenSegmentAnything2GenerateResponseResponseBody$ { /** @deprecated use `GenSegmentAnything2GenerateResponseResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2GenerateResponseResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2GenerateResponseResponseBody$Outbound` instead. */ type Outbound = GenSegmentAnything2GenerateResponseResponseBody$Outbound; } export declare function genSegmentAnything2GenerateResponseResponseBodyToJSON(genSegmentAnything2GenerateResponseResponseBody: GenSegmentAnything2GenerateResponseResponseBody): string; export declare function genSegmentAnything2GenerateResponseResponseBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GenSegmentAnything2GenerateResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GenSegmentAnything2GenerateResponseBody$Outbound = HTTPError$Outbound | StudioApiError$Outbound; /** @internal */ export declare const GenSegmentAnything2GenerateResponseBody$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 GenSegmentAnything2GenerateResponseBody$ { /** @deprecated use `GenSegmentAnything2GenerateResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2GenerateResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2GenerateResponseBody$Outbound` instead. */ type Outbound = GenSegmentAnything2GenerateResponseBody$Outbound; } export declare function genSegmentAnything2GenerateResponseBodyToJSON(genSegmentAnything2GenerateResponseBody: GenSegmentAnything2GenerateResponseBody): string; export declare function genSegmentAnything2GenerateResponseBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GenSegmentAnything2ResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GenSegmentAnything2ResponseBody$Outbound = HTTPError$Outbound | StudioApiError$Outbound; /** @internal */ export declare const GenSegmentAnything2ResponseBody$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 GenSegmentAnything2ResponseBody$ { /** @deprecated use `GenSegmentAnything2ResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2ResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2ResponseBody$Outbound` instead. */ type Outbound = GenSegmentAnything2ResponseBody$Outbound; } export declare function genSegmentAnything2ResponseBodyToJSON(genSegmentAnything2ResponseBody: GenSegmentAnything2ResponseBody): string; export declare function genSegmentAnything2ResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=gensegmentanything2.d.ts.map