import BigNumber from 'bignumber.js'; /** * Get the weight of a new TokenPriceSource depending on the size of the pool in USD$ value * * @param {BigNumber | number} poolTvl Pool total value locked (in USD$) * @param {number} [trustValue=100000000] Value (in USD$) from which the weight is 1 * * @returns weight between 0 and 1 */ export default function getSourceWeight(poolTvl: BigNumber | number, trustValue?: number): number;