import { LenderToLenderCrossPoolMeta, UserData } from '../utils/types';
/**
 * Returns a [converter, expectedCallCount] tuple for Gearbox V3.1 user
 * data.
 *
 * Single call `CreditAccountCompressor.getCreditAccounts(cmFilter,
 * caFilter, offset, limit)` returns
 *   `(CreditAccountData[] data, uint256 nextOffset)`.
 *
 * Each `CreditAccountData` describes one isolated Credit Account owned
 * by exactly one CreditManager. We fan out by `creditManager` address
 * and emit one `UserData` per CM under `GEARBOX_V3_<CM_HEX>` — each
 * Credit Account becomes a sub-account under its CM (mirroring the
 * Fluid-NFT / Init-subAccount pattern).
 *
 * V3.0 → V3.1 field renames handled here:
 *   - `isSuccessful`  → `success`
 *   - `ca.addr`       → `ca.creditAccount`
 *   - `ca.balances[]` → `ca.tokens[]`   (with `{token, mask, balance,
 *                                        quota, success}`; "quoted" is
 *                                        now derived from `quota > 0`)
 *
 * `ca.owner` replaces the old implicit "caller passed as borrower"
 * semantic — we don't use it directly since the filter pinned it.
 */
export declare const getGearboxV3UserDataConverter: (_lender: string, chainId: string, account: string, meta?: LenderToLenderCrossPoolMeta) => [(data: any[]) => {
    [lender: string]: UserData;
} | undefined, number];
//# sourceMappingURL=userCallParse.d.ts.map