import { ChatResponse } from '../chat'; import { Usage } from '../chat/metadata'; /** * An utility class to provide support methods handling {@link Usage}. */ export declare abstract class UsageUtil { /** * Accumulate usage tokens from the previous chat response to the current usage * tokens. * @param currentUsage the current usage. * @param previousChatResponse the previous chat response. * @return accumulated usage. */ static getCumulativeUsage(currentUsage: Usage, previousChatResponse?: ChatResponse): Usage; static isEmpty(usage: Usage | null): boolean; } //# sourceMappingURL=usage-util.d.ts.map