import { CurrencyAmount, Fraction, Price, Token, TokenAmount } from '@envanik/sdk';
import { BigNumber } from 'ethers';
import { ValueVariables } from './types';
/**
 * This function calculates the minimum and maximum value of the slippage used in the pangochef compound
 * @param amount The value to be calculated the slippage
 * @returns The object where **minPairAmount** is the slippage minimum and **maxPairAmount** is the slippage maximum
 */
export declare function calculateCompoundSlippage(amount: CurrencyAmount): {
    minPairAmount: string;
    maxPairAmount: string;
};
export declare function calculateUserRewardRate(userValueVariables: ValueVariables, poolValueVariables: ValueVariables, poolRewardRate: BigNumber, blockTime?: number): BigNumber;
interface CalculateAprArgs {
    pairPrice: Price | Fraction;
    stakedAmount: TokenAmount;
    userRewardRate: Fraction;
    pngPrice: Price;
    png: Token;
}
/**
 * This function calculate the user apr
 *
 * @param pairPrice price of pair in wrapped currency
 * @param stakedAmount total staked of user
 * @param userRewardRate reward rate of user in png/s
 * @param pngPrice price of png in wrappred currency
 * @param png pangolin governace token
 * @returns return the apr of user
 */
export declare function calculateUserAPR(args: CalculateAprArgs): number;
export {};
