/**
 * Term Finance rate/ratio helpers. Term is fixed-rate, so most rates arrive
 * pre-computed from the subgraph; these cover the on-chain-derived cases.
 */
declare const WAD = 1000000000000000000;
declare const SECONDS_PER_YEAR: number;
/**
 * Convert a WAD-scaled maintenance collateral ratio into a loan-to-value
 * fraction. Term over-collateralizes: `maintenanceRatio` is collateral/loan
 * (e.g. 1.25e18 = 125%), so LTV = 1 / (ratio/1e18). Returns 0 for bad input.
 */
export declare function termMaintenanceRatioToLtv(maintenanceRatio: string | undefined): number;
/** Convert a WAD-scaled liquidated-damages factor into a penalty fraction (0.05 = 5%). */
export declare function termLiquidatedDamagesToPenalty(liquidatedDamages: string | undefined): number;
/**
 * Convert a per-annum discount rate (percent) into the implied fixed lend APR
 * for a repo maturing in `ttmSecs`. For a zero-coupon repo token bought at a
 * discount, the realized annualized yield ≈ the discount rate itself, so this
 * is mostly a pass-through with a floor at 0; kept as a seam for a more precise
 * present-value calc if needed.
 */
export declare function termDiscountRateToAprPct(discountRatePct: number, _ttmSecs: number): number;
export { WAD as TERM_WAD, SECONDS_PER_YEAR as TERM_SECONDS_PER_YEAR };
//# sourceMappingURL=math.d.ts.map