export interface LenderAssetReward {
    distribution: string;
    deposit: number;
    borrow: number;
    additionalDepositData: any;
    additionalBorrowData: any;
    link?: string;
}
export interface LenderRewards {
    [chainId: number]: {
        [lender: string]: {
            [asset: string]: LenderAssetReward;
        };
    };
}
export interface YieldDataWithTimestamp {
    intrinsicYields: {
        [asset: string]: number | undefined;
    };
    lenderRewards: LenderRewards;
}
export interface LenderRewardsByMarketUid {
    [marketUid: string]: LenderAssetReward;
}
export interface YieldDataByMarketUid {
    intrinsicYields: {
        [asset: string]: number | undefined;
    };
    lenderRewards: LenderRewardsByMarketUid;
}
/**
 * Every fetcher returns a map of asset keys to yield values.
 */
export type YieldResult = Record<string, number>;
/**
 * Unified interface for all yield fetchers.
 */
export interface YieldFetcher {
    /** Human-readable label, used for error logging in safeFetch */
    label: string;
    /** The async function that fetches and returns the yield data */
    fetch: () => Promise<YieldResult>;
}
//# sourceMappingURL=types.d.ts.map