import BN from "bn.js"; export declare const ZERO: BN; export declare const BASE_TEN: BN; export declare const MAX_U64_BN: BN; export declare const SECONDS_PER_YEAR: BN; export declare class Payroll { readonly famineTs: BN; readonly lastCheckpointTs: BN; readonly annualRewardsRate: BN; readonly rewardsPerTokenStored: BN; readonly totalTokensDeposited: BN; constructor(famineTs: BN, lastCheckpointTs: BN, annualRewardsRate: BN, rewardsPerTokenStored: BN, totalTokensDeposited: BN); /** * Calculates the amount of tokens that this user can receive. * @param currentTs * @returns */ calculateRewardPerToken(currentTs: BN): BN; /** * Calculates the amount of tokens that this user can claim. * @param currentTs * @param tokensDeposited * @param rewardsPerTokenPaid * @param rewardsEarned * @returns */ calculateRewardsEarned(currentTs: BN, tokensDeposited: BN, rewardsPerTokenPaid: BN, rewardsEarned: BN): BN; } //# sourceMappingURL=payroll.d.ts.map