import type { VisionClawConfig } from "../../../../config/types.js";
import type { AgentResultMessage } from "../../session-types.js";
export interface PiUsageAccumulator {
    inputTokens: number;
    outputTokens: number;
    assistantErrors: string[];
}
export declare function createPiUsageAccumulator(): PiUsageAccumulator;
export declare function capturePiMessageUsage(accumulator: PiUsageAccumulator, message: {
    errorMessage?: string;
    usage?: {
        input: number;
        output: number;
    };
} | undefined): void;
export declare function buildPiResultMessage(options: {
    error: unknown;
    inputTokens: number;
    outputTokens: number;
    numTurns: number;
    config: VisionClawConfig;
    contextWindow: number;
}): AgentResultMessage;
//# sourceMappingURL=usage.d.ts.map