/**
 * Cost Limit Middleware
 *
 * Replaces inline `isSessionCostLimitReached()` checks in the agent executor.
 *
 * @module agent/middleware
 */
import { ConversationMiddleware, MiddlewareContext, MiddlewareResult } from './types.js';
export declare class CostLimitMiddleware implements ConversationMiddleware {
    readonly name = "cost-limit";
    readonly priority = 20;
    private recordSessionCost;
    private isSessionCostLimitReached;
    constructor(deps: {
        recordSessionCost: (input: number, output: number) => void;
        isSessionCostLimitReached: () => boolean;
    });
    afterTurn(context: MiddlewareContext): MiddlewareResult;
}
