import type { RiskBudget } from "./contracts.ts"; export declare const RISK_BUDGET_LIMIT_FIELDS: readonly ["maxTokens", "maxWallClockMs", "maxCostUsd", "maxAttempts", "maxToolCalls"]; export type RiskBudgetLimitField = (typeof RISK_BUDGET_LIMIT_FIELDS)[number]; export declare const RISK_BUDGET_FIELDS: readonly ["maxTokens", "maxWallClockMs", "maxCostUsd", "maxAttempts", "maxToolCalls", "requireApprovalAboveCostUsd"]; /** Parse raw durable budget input without cloning untrusted values. */ export declare function parseRiskBudget(value: unknown, label: string): RiskBudget; export declare function validateRiskBudget(budget: RiskBudget, label: string): void; export declare function exceededRiskBudgetFields(requested: RiskBudget, authority: RiskBudget): RiskBudgetLimitField[]; /** Intersects independent ceilings. Undefined fields do not constrain the result. */ export declare function intersectRiskBudgets(...budgets: readonly RiskBudget[]): RiskBudget; //# sourceMappingURL=risk-budget.d.ts.map