import type { Payroll } from "@quarryprotocol/quarry-sdk"; import type BN from "bn.js"; /** * {@link Payroll} using floats instead of BN. Not precise. */ export declare class FastPayroll { readonly famineTs: number; readonly lastCheckpointTs: number; readonly annualRewardsRate: number; readonly rewardsPerTokenStored: number; readonly totalTokensDeposited: number; constructor(famineTs: number, lastCheckpointTs: number, annualRewardsRate: number, rewardsPerTokenStored: number, totalTokensDeposited: number); static fromPayroll(payroll: Payroll): FastPayroll; /** * Calculates the amount of tokens that this user can receive. * @param currentTs * @returns */ calculateRewardPerToken(currentTs: number): number; /** * Calculates the amount of tokens that this user can claim. * @param currentTs * @param tokensDeposited * @param rewardsPerTokenPaid * @param rewardsEarned * @returns */ calculateRewardsEarned(currentTs: number, tokensDeposited: BN, rewardsPerTokenPaid: BN, rewardsEarned: BN): number; } //# sourceMappingURL=fastPayroll.d.ts.map