import { type NormalizedUsage } from "../../agents/usage.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; import { incrementCompactionCount } from "./session-updates.js"; import { persistSessionUsageUpdate } from "./session-usage.js"; type PersistRunSessionUsageParams = Parameters[0]; type IncrementRunCompactionCountParams = Omit[0], "tokensAfter"> & { amount?: number; cfg?: OpenClawConfig; compactionTokensAfter?: number; lastCallUsage?: NormalizedUsage; contextTokensUsed?: number; newSessionId?: string; newSessionFile?: string; }; export declare function persistRunSessionUsage(params: PersistRunSessionUsageParams): Promise; export declare function incrementRunCompactionCount(params: IncrementRunCompactionCountParams): Promise; export {};