import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { GenerationContentErrorAttempt } from "./generationcontenterrorattempt.js"; /** * The stored failure for this generation, or null when it succeeded */ export type GenerationContentError = { /** * Error message returned to the client */ message: string | null; /** * Every upstream attempt that failed before the returned error, in attempt order */ previousErrors: Array; /** * Provider whose error was returned to the client, when known */ providerName: string | null; /** * Raw error body behind the returned error, when stored */ raw: string | null; /** * HTTP status returned to the client */ status: number | null; }; /** @internal */ export declare const GenerationContentError$inboundSchema: z.ZodType; export declare function generationContentErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=generationcontenterror.d.ts.map