import type { BudgetConfig } from '../types.js';
/**
 * Effective budget for `cwd`: user/global base, then each project-local block
 * from farthest ancestor to nearest, nearest winning. `on_exceed` defaults to
 * `block` when nothing sets it (fail-closed: the safe default is to enforce).
 */
export declare function resolveBudgetConfig(cwd?: string): BudgetConfig;
/** True when at least one enforceable cap is set. No caps => budget feature is dormant. */
export declare function hasAnyCap(cfg: BudgetConfig): boolean;
