import type { OrgDef } from '../types.js'; import { type BudgetDef } from './section-budget.js'; /** The `run_config` keys of the deferred budget machinery: on the surface they are refused with the core's * message, so the checklist must not also call them unknown. */ export declare const BUDGET_REFUSED_RUN_CONFIG_KEYS: readonly string[]; /** True when at least one section declares a `budget` (well formed or not). */ export declare function sectionBudgetsDeclared(def: { sections?: unknown; }): boolean; /** True when section budgets apply: the sections surface is on and a section declares a budget. */ export declare const sectionBudgetsApply: (def: { sections?: unknown; }) => boolean; /** The budget findings of a definition on the sections surface, as checklist strings. */ export declare function sectionBudgetChecklist(def: OrgDef): { errors: string[]; warnings: string[]; }; /** The USD cap `roleId` runs with when section budgets apply (the resolver of P4.1, `resolveBudgetCaps`); * undefined when they do not or the role has no cap, and the caller keeps today's expression. */ export declare function sectionRoleCap(def: BudgetDef, roleId: string): number | undefined; /** Copy each existing section's `budget` from the proposed definition into the running one; returns the * `changed` entries. Only the budget moves: the rest of `sections` is not reloadable here. */ export declare function syncSectionBudgets(live: { sections?: unknown; }, next: { sections?: unknown; }): string[]; //# sourceMappingURL=section-budget-wire.d.ts.map