import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Breakdown of upstream inference costs */ export type CostDetails = { /** * Metered server-tool execution cost (for example, shell sandbox time) billed for this request, in USD. Matches the billed checkpoint and settlement amounts exactly. 0 when a metered server tool ran but settled at zero dollars; absent when no metered server tool ran. */ serverToolCost?: number | null | undefined; upstreamInferenceCompletionsCost: number; upstreamInferenceCost?: number | null | undefined; upstreamInferencePromptCost: number; }; /** @internal */ export declare const CostDetails$inboundSchema: z.ZodType; export declare function costDetailsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=costdetails.d.ts.map