import * as z from "zod/v4";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
/**
 * A single failed upstream attempt recorded for the generation
 */
export type GenerationContentErrorAttempt = {
    /**
     * HTTP status returned by this attempt
     */
    code: number;
    /**
     * Error message returned by this attempt
     */
    message: string;
    /**
     * Provider that served this attempt, when known
     */
    providerName: string | null;
    /**
     * Raw error body returned by the provider, when stored
     */
    raw: string | null;
};
/** @internal */
export declare const GenerationContentErrorAttempt$inboundSchema: z.ZodType<GenerationContentErrorAttempt, unknown>;
export declare function generationContentErrorAttemptFromJSON(jsonString: string): SafeParseResult<GenerationContentErrorAttempt, SDKValidationError>;
//# sourceMappingURL=generationcontenterrorattempt.d.ts.map