import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type LLMMetadata = { /** * The vendor of the event. */ vendor: string; /** * The model used for the event. */ model: string; /** * The LLM prompt used for the event. */ prompt?: string | null | undefined; /** * The LLM response used for the event. */ response?: string | null | undefined; /** * The number of LLM input tokens used for the event. */ inputTokens: number; /** * The number of LLM cached tokens that were used for the event. */ cachedInputTokens?: number | undefined; /** * The number of LLM output tokens used for the event. */ outputTokens: number; /** * The total number of LLM tokens used for the event. */ totalTokens: number; }; /** @internal */ export declare const LLMMetadata$inboundSchema: z.ZodMiniType; /** @internal */ export type LLMMetadata$Outbound = { vendor: string; model: string; prompt?: string | null | undefined; response?: string | null | undefined; input_tokens: number; cached_input_tokens?: number | undefined; output_tokens: number; total_tokens: number; }; /** @internal */ export declare const LLMMetadata$outboundSchema: z.ZodMiniType; export declare function llmMetadataToJSON(llmMetadata: LLMMetadata): string; export declare function llmMetadataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=llmmetadata.d.ts.map