import { SaveState } from "./state"; import { Wad } from "../../../core/math/wad"; import { QuoteContext } from "../../types"; export interface AccruedSave { borrowedAmountWads: Wad; accumulatedProtocolFeesWads: Wad; } export declare function accrueInterestSave(state: SaveState, ctx: QuoteContext): AccruedSave; export declare function totalSupplyWad(state: SaveState, accrued: AccruedSave): Wad; export declare function exchangeRateSave(collateralSupply: bigint, totalSupplyW: Wad): Wad; export declare function liquidityToCollateralSave(liquidity: bigint, rateW: Wad): bigint; export declare function collateralToLiquiditySave(collateral: bigint, rateW: Wad): bigint;