import type { LanguageModelUsage } from "ai";
type UsageLike = {
    [K in "inputTokens" | "outputTokens" | "totalTokens" | "cachedInputTokens"]?: LanguageModelUsage[K];
} & {
    inputTokenDetails?: Partial<NonNullable<LanguageModelUsage["inputTokenDetails"]>>;
};
export declare function getNonCachedInputTokens(usage: UsageLike): number;
export declare function getTotalInputTokens(usage: UsageLike): number;
export declare function isOverflow(usage: LanguageModelUsage, contextLimit: number, outputReserve: number): boolean;
export declare function getTotalTokens(usage: LanguageModelUsage): number;
export {};
//# sourceMappingURL=token-tracker.d.ts.map