import BigNumber from "bignumber.js";
export declare const toLowerUnit: (value: string, decimals?: number) => BigNumber;
export declare const toUpperUnit: (value: string, decimals?: number) => BigNumber;
export declare const getTimeLeft: (delta: number) => {
    days: number;
    hours: number;
    minutes: number;
    seconds: number;
} | undefined;
export declare const bigNumberObjtoString: (obj: any) => any;
/**
 * To convert ethers bignumber to bignumber.js
 * @param value is the BigNumber from ethers.js
 * @returns BigNumber of bignumber.js
 */
export declare const toBigNumber: (value: any) => BigNumber;
export declare const getApy: (stakingTokenPrice: string, rewardTokenPrice: string, totalStaked: string, tokenPerBlock: number, blocksPerYear?: BigNumber) => number | null;
export declare const awaitTransaction: (transaction: any) => Promise<{
    tx: any;
    receipt: any;
    error: any;
    status: boolean;
}>;
/**
 * Fetch IPFS data
 *
 * @param ipfsUrl IPFS url of the metadata
 * @returns json object of the metadata
 */
export declare const fetchIpfs: (ipfsUrl: string) => Promise<unknown>;
