import type { Middleware } from './types.js';
/**
 * withBudget middleware: enforces per-session call cap.
 * Short-circuits with BUDGET_EXCEEDED when limit reached.
 */
export declare const withBudget: Middleware;
/**
 * Exposed for testing: reset session counters.
 */
export declare function resetSessionCounters(): void;
/**
 * Exposed for testing: get call count for a session.
 */
export declare function getSessionCallCount(sessionId: string): number;
//# sourceMappingURL=with-budget.d.ts.map