import { LenderDataEntry, PortfolioSummary, UserDataResult } from './types';
/**
 * Builds portfolio summaries from user data results
 *
 * @param userDataResult - The result from convertLenderUserDataResult or getLenderUserDataMulti
 * @returns PortfolioSummary with aggregated data across all lenders and chains
 *
 * @example
 * ```typescript
 * const userData = await getLenderUserDataMulti(account, chainQueries, lenderState)
 * const summary = buildSummaries(userData)
 *
 * console.log(`Total net worth: $${summary.balanceData.nav.toFixed(2)}`)
 * console.log(`Overall leverage: ${summary.leverage.toFixed(2)}x`)
 * console.log(`Net APR: ${summary.aprData.apr.toFixed(2)}%`)
 * ```
 */
export declare function buildSummaries(userDataResult: UserDataResult): PortfolioSummary;
/**
 * Filters portfolio summary to only include lenders with non-zero positions
 */
export declare function filterActiveLenders(summary: PortfolioSummary): PortfolioSummary;
/**
 * Fuses UserData entries with their LenderSummary counterparts into
 * a flat array of LenderDataEntry objects, sorted by nav descending.
 */
export declare function fuseLenderData(userDataResult: UserDataResult, summary: PortfolioSummary): LenderDataEntry[];
//# sourceMappingURL=buildSummaries.d.ts.map