import type { PreciseClaimableAmounts } from "./calculateClaimableAmounts"; import type { RewardRates } from "./calculateRewardRates"; import type { GetAllClaimableAmounts } from "./types"; export interface UseAllRewardsArgs { getAllClaimableAmounts: GetAllClaimableAmounts; } export interface RewardsAndRates { amounts: () => PreciseClaimableAmounts | null; rates: RewardRates | null; } export declare const makeRewardsAndRates: ({ getAllClaimableAmounts, }: UseAllRewardsArgs) => RewardsAndRates; /** * Does some magical filtering to hide jumpyness. Prioritizing smoothness and * precision over accuracy * * @param getAmount Either getClaimableAmount or getTotalClaimableAmount * @returns */ export declare const useAllRewards: ({ getAllClaimableAmounts, }: UseAllRewardsArgs) => RewardsAndRates; //# sourceMappingURL=useRewards.d.ts.map