import type { Middleware, MiddlewareContext, MiddlewareStore, SDKMessage } from '../types';
export interface CostData {
    totalCost: number;
    phaseCosts: Array<{
        phase: string;
        cost: number;
    }>;
}
export declare class CostTrackerPlugin implements Middleware {
    readonly name = "cost";
    private phaseCosts;
    private totalCost;
    onPhaseTransition(fromPhase: string, _toPhase: string, ctx: MiddlewareContext, store: MiddlewareStore): void;
    onFinalize(resultMessage: SDKMessage, _totalDurationMs: number, ctx: MiddlewareContext, store: MiddlewareStore): void;
    private getData;
}
