import type { LiquityBranchConfig, LiquityConfigChain } from '@1delta/data-sdk';
/**
 * Raw per-branch on-chain snapshot of a Liquity-family deployment. All bigints
 * are raw WAD/base units straight from the multicall; `null` marks a failed
 * (allowFailure) read — the converter degrades gracefully per field.
 */
export interface LiquityBranchRaw {
    branch: LiquityBranchConfig;
    /** TroveManager.getEntireBranchDebt() — total branch debt incl. accrued interest */
    entireDebt: bigint | null;
    /** TroveManager.getEntireBranchColl() — total branch collateral */
    entireColl: bigint | null;
    /** TroveManager.shutdownTime() — 0 while the branch is live */
    shutdownTime: bigint | null;
    /** ActivePool.aggRecordedDebt() — recorded aggregate debt (interest accrual base) */
    aggRecordedDebt: bigint | null;
    /** ActivePool.aggWeightedDebtSum() — Σ debt·rate (1e36 scale): drives avg rate + SP APR */
    aggWeightedDebtSum: bigint | null;
    /** StabilityPool.getTotalBoldDeposits() — the branch "earn" pool size */
    spDeposits: bigint | null;
    /** PriceFeed price, 1e18 USD (fetchPrice preferred, lastGoodPrice fallback) */
    collPrice: bigint | null;
    /** SortedTroves.getSize() — live (non-zombie) trove count */
    troveCount: bigint | null;
}
/** Raw public-data batch for ONE deployment (lender) on one chain. */
export interface LiquityMarketsRaw {
    /** The deployment's bare lender key, e.g. `LIQUITY_V2` — keys the config row. */
    lender: string;
    config: LiquityConfigChain | undefined;
    branches: LiquityBranchRaw[];
}
//# sourceMappingURL=types.d.ts.map