import type { SumerMarketMeta } from '../../../user-data/utils/types';
export type { SumerMarketMeta };
/**
 * A single Sumer market position with all data needed
 * to rebuild waterfall accumulators after a trade delta.
 *
 * Callers build this from:
 *  - `payload.lendingPositions[marketUid]` → depositsUSD, debtUSD, debtStableUSD, collateralEnabled
 *  - `lenderData[marketUid].params.metadata.sumer` → SumerMarketMeta
 *  - `lenderData[marketUid].flags?.collateralActive` → collateralActive
 */
export type SumerPositionInput = {
    marketUid: string;
    depositsUSD: number;
    debtUSD: number;
    debtStableUSD: number;
    collateralEnabled: boolean;
    sumerMeta: SumerMarketMeta;
    collateralActive: boolean;
};
export type GroupAccumulator = Record<number, {
    cDep: number;
    sDep: number;
    cDebt: number;
    sDebt: number;
}>;
//# sourceMappingURL=types.d.ts.map