import { InputTokenDetails, OutputTokenDetails } from '@mastra/core/observability';
type V5TokenUsage = {
    inputTokens: number;
    outputTokens: number;
    reasoningTokens?: number;
    cachedInputTokens?: number;
    totalTokens: number;
    inputDetails?: InputTokenDetails;
    outputDetails?: OutputTokenDetails;
};
type LegacyTokenUsage = {
    promptTokens: number;
    completionTokens: number;
    totalTokens: number;
};
export type TokenUsage = V5TokenUsage | LegacyTokenUsage;
type SpanTokenUsageProps = {
    usage: TokenUsage;
    className?: string;
};
export declare function SpanTokenUsage({ usage, className }: SpanTokenUsageProps): import("react/jsx-runtime").JSX.Element | null;
export {};
