import type { RewardRates } from "./calculateRewardRates"; /** * Generates the `getPreciseClaimableAmounts` function, which allows computing a * precise amount of tokens to be claimed. * * @param rates * @returns */ export declare const makeGetPreciseClaimableAmounts: (rates: RewardRates | null) => (() => PreciseClaimableAmounts | null); export interface PreciseClaimableAmounts { pools: (number | null)[]; total: number; } /** * Hook to generate the `getPreciseClaimableAmounts` function, which allows computing a * precise amount of tokens to be claimed. * * @param rates * @returns */ export declare const useGetPreciseClaimableAmounts: (rates: RewardRates | null) => (() => PreciseClaimableAmounts | null); /** * Uses a real-time feed of the claimable amounts. * * Warning: this causes the component to re-render extremely frequently, so one should * take care to not put this too high up in the component tree. * * @param getter * @returns */ export declare const useClaimableAmounts: (getter: () => PreciseClaimableAmounts | null) => PreciseClaimableAmounts | null; //# sourceMappingURL=calculateClaimableAmounts.d.ts.map