import type { TermMarketConfig } from '@1delta/data-sdk';
import { MorphoGeneralPublicResponse } from '../../../types/lender/morpho-types';
import { AdditionalYields, GenericTokenList } from '../../../types';
import type { TermMarketRaw } from './types';
/** Synthesized per-market lender key, e.g. `TERM_FINANCE_<TERM_REPO_ID_HEX_UPPER>`. */
export declare function termLenderKey(termRepoId: string): string;
/**
 * Map fetched Term repos into the shared `MorphoGeneralPublicResponse` shape
 * (identical to Midnight), keyed by the synthesized `TERM_FINANCE_<id>` lender
 * key. One LOAN entry carries the fixed rates (`variableBorrowRate` = auction
 * borrow APR, `depositRate` = lend APR) + order-book depth as liquidity; one
 * COLLATERAL entry per leg carries the maintenance-ratio → collateralFactor +
 * liquidated-damages → penalty. `params.market.fixedTerm.model = 'term'`.
 */
export declare function convertTermMarketsToResponse(raw: TermMarketRaw[], chainId: string, prices?: {
    [asset: string]: number;
}, _additionalYields?: AdditionalYields, tokens?: GenericTokenList): {
    [m: string]: MorphoGeneralPublicResponse;
};
export type { TermMarketConfig };
//# sourceMappingURL=convertPublic.d.ts.map