import * as z from "zod"; export type StudioApiErrorData = { errors?: Array | undefined; /** * Raw HTTP response; suitable for custom response parsing */ rawResponse?: Response | undefined; }; export declare class StudioApiError extends Error { errors?: Array | undefined; /** * Raw HTTP response; suitable for custom response parsing */ rawResponse?: Response | undefined; /** The original data that was passed to this error instance. */ data$: StudioApiErrorData; constructor(err: StudioApiErrorData); } /** @internal */ export declare const StudioApiError$inboundSchema: z.ZodType; /** @internal */ export type StudioApiError$Outbound = { errors?: Array | undefined; RawResponse?: never | undefined; }; /** @internal */ export declare const StudioApiError$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 StudioApiError$ { /** @deprecated use `StudioApiError$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `StudioApiError$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `StudioApiError$Outbound` instead. */ type Outbound = StudioApiError$Outbound; } //# sourceMappingURL=studioapierror.d.ts.map