import type { RiverChainData, RiverConfigChain, RiverMarketConfig } from '@1delta/data-sdk';
/**
 * Raw per-TroveManager on-chain snapshot of a River deployment. All bigints
 * are raw units straight from the multicall; `null` marks a failed
 * (allowFailure) read — the converter degrades gracefully per field.
 */
export interface RiverMarketRaw {
    market: RiverMarketConfig;
    /** TroveManager.getEntireSystemDebt() — total market debt incl. redistribution */
    entireDebt: bigint | null;
    /** TroveManager.getEntireSystemColl() */
    entireColl: bigint | null;
    /** TroveManager.getBorrowingRateWithDecay() — the CURRENT one-off mint-fee rate (WAD) */
    mintFeeRate: bigint | null;
    /** TroveManager.interestRate() — ongoing annual borrow rate (WAD; 0 = no interest, Prisma model) */
    interestRate: bigint | null;
    /** TroveManager.fetchPrice() — oracle price, 1e18 USD (nonpayable, simulated) */
    price: bigint | null;
    /** TroveManager.getTroveOwnersCount() */
    troveCount: bigint | null;
}
/** Raw public-data batch for ONE River deployment (lender) on one chain. */
export interface RiverMarketsRaw {
    /** The deployment's bare lender key, `RIVER`. */
    lender: string;
    config: RiverConfigChain | undefined;
    chainData: RiverChainData | undefined;
    /** Single per-chain StabilityPool size (diamond facet). */
    spDeposits: bigint | null;
    markets: RiverMarketRaw[];
}
//# sourceMappingURL=types.d.ts.map