import { GenericCurrency, LenderData, PoolData } from '../types';
export interface ExposureInfo {
    asset: GenericCurrency;
    collateralFactor: number;
}
export type PoolWithMeta = PoolData & {
    chainId: string;
    lender: string;
    utilitzation: number;
    apr: number;
    exposure: ExposureInfo[];
    /** current price (if found) */
    price?: number;
    /** past price (if found) */
    histPrice?: number;
};
type PriceMap = Record<string, number>;
/**
 * Flattens LenderData and enriches each pool with exposure information.
 */
export declare const generateLendingPools: (lenderData: LenderData, prices: PriceMap, histPrices: PriceMap) => PoolWithMeta[];
export {};
//# sourceMappingURL=computeLendingPools.d.ts.map