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 GenSegmentAnything2Response = { /** * 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 */ masksResponse?: components.MasksResponse | undefined; /** * Error */ studioApiError?: errors.StudioApiError | undefined; }; /** @internal */ export declare const GenSegmentAnything2Response$inboundSchema: z.ZodType; /** @internal */ export type GenSegmentAnything2Response$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; MasksResponse?: components.MasksResponse$Outbound | undefined; "studio-api-error"?: errors.StudioApiError$Outbound | undefined; }; /** @internal */ export declare const GenSegmentAnything2Response$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 GenSegmentAnything2Response$ { /** @deprecated use `GenSegmentAnything2Response$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2Response$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenSegmentAnything2Response$Outbound` instead. */ type Outbound = GenSegmentAnything2Response$Outbound; } export declare function genSegmentAnything2ResponseToJSON(genSegmentAnything2Response: GenSegmentAnything2Response): string; export declare function genSegmentAnything2ResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=gensegmentanything2.d.ts.map