import { LenderData } from '../types';
import { PoolWithMeta } from './computeLendingPools';
/**
 * Rebuilds the original nested LenderData structure from a flattened array of PoolWithMeta.
 *
 * - Groups by chainId -> lender -> poolId
 * - Removes flattened-only fields: chainId, lender, exposure, price, histPrice, utilitzation
 */
export declare function unflattenLenderData(pools: PoolWithMeta[]): LenderData;
//# sourceMappingURL=computeLenderDataFromPools.d.ts.map