type AnthropicUsagePayload = { input_tokens?: unknown; output_tokens?: unknown; cache_read_input_tokens?: unknown; cache_creation_input_tokens?: unknown; iterations?: unknown; }; export type AnthropicPromptUsageSnapshot = { input: number; cacheRead: number; cacheWrite: number; }; export type AnthropicIterationUsageSnapshot = { contextPromptTokens: number; totalTokens: number; }; export type AnthropicIterationUsageResult = { state: "absent"; } | { state: "invalid"; } | { state: "valid"; usage: AnthropicIterationUsageSnapshot; }; export declare function readAnthropicUsageTokenCount(value: unknown): number | undefined; export declare function readAnthropicPromptUsageSnapshot(usage: AnthropicUsagePayload): AnthropicPromptUsageSnapshot | undefined; export declare function readLastAnthropicIterationUsage(usage: AnthropicUsagePayload): AnthropicIterationUsageResult; export {};