import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { InternChatPromptTokensDetails } from "./internchatprompttokensdetails.js"; /** * Token usage for the run as the daemon reported it, on the final chunk before `[DONE]`. `null` when the daemon reported none, and always `null` after `tool_calls` because the turn is not over. */ export type InternChatUsage = { completionTokens: number; /** * The cost of the run in USD, when the daemon reported one. */ cost?: number | undefined; promptTokens: number; /** * Prompt tokens served from cache, when the daemon reported them. */ promptTokensDetails?: InternChatPromptTokensDetails | undefined; totalTokens: number; }; /** @internal */ export declare const InternChatUsage$inboundSchema: z.ZodType; export declare function internChatUsageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=internchatusage.d.ts.map