import { BigNumberish } from 'ethers'; /** * Parses a number to blockchain unit. * Use this function before sending a number to a smart contract. * * @param num - The number to parse. * @param decimals - The number of decimal places in the blockchain unit. * @returns The parsed number as a string. */ export declare const parseUnits: (num: number, decimals: number) => import("ethers").BigNumber; /** * Formats a blockchain number to decimal. * Use this function before returning data. * * @param amount - The blockchain number as a string, undefined, or BigNumberish. * @param decimals - The number of decimal places in the blockchain unit (default: 18). * @returns The formatted number as a decimal. */ export declare const formatUnits: (amount: string | undefined | BigNumberish, decimals?: number) => number;