import { KaminoReserve } from '../classes/reserve'; import type { LedgerInstant } from '../utils/ledger'; export type ReserveApySimulation = { simulatedApr: number; simulatedApy: number; computedApr: number; computedApy: number; }; /** * The computation behind the manager CLI's `simulate-reserve-apy` command, extracted so that it can be tested: the * supply APR/APY as simulated for a no-op deposit and as computed from the reserve's current state. * * All four values depend on the `recentSlotDurationMs` the given reserve was constructed with (for a `Legacy` * reserve, the realized rates scale with the live slot rate) - callers should build the reserve with a *live* * duration, not a constant. */ export declare function simulateReserveApy(kaminoReserve: KaminoReserve, currentLedgerInstant: LedgerInstant): ReserveApySimulation; //# sourceMappingURL=simulateReserveApy.d.ts.map