import { Call } from '../../../utils/multicall';
/**
 * Number of multicall slots one Midnight market consumes: `position(id,user)`
 * (1) + `updatePositionView(market,id,user)` (1) + one `collateral(id,user,i)`
 * per collateral leg. The parser must walk `midnightMarketsByChain` in the SAME
 * order to slice results correctly.
 *
 * `position` carries the borrower's debt + collateral bitmap; `updatePositionView`
 * carries the LENDER's up-to-date credit/pendingFee (the raw `position` credit /
 * pendingFee are stale — the contract accrues the continuous fee + loss-factor
 * slashing only inside `updatePositionView`).
 */
export declare const midnightMarketCallCount: (collateralCount: number) => number;
/**
 * Build the user-data multicall for every configured Midnight market on a chain.
 *
 * Midnight has no aggregating lens (unlike Morpho): per market we read the
 * packed `position(id,user)` tuple (credit/debt/bitmap) and each collateral leg
 * via `collateral(id,user,index)`. All calls target the core Midnight contract.
 */
export declare const buildMidnightUserCall: (chainId: string, _lender: string, account: string) => Call[];
//# sourceMappingURL=userCallBuild.d.ts.map