/**
 * @fileoverview Utilities and helpers.
 */
import JSBI from 'jsbi';
/**
 * Calculates the sqrt ratio as a Q64.96 corresponding to a given ratio of amount1 and amount0
 *
 * @param {bigint} amount1 the numerator amount, i.e. amount of token1.
 * @param {bigint} amount0 the denominator amount, i.en amount of token0.
 * @return {bigint} the sqrt ratio.
 */
export declare const encodeSqrtRatioX96: (amount1: any, amount0: any) => any;
/**
 * Computes floor(sqrt(value))
 *
 * @param {bigint} value the value for which to compute the square root, rounded down
 * @return {bigint}
 */
export declare const sqrt: (value: any) => any;
/**
 * Calculates the tick local range (bottom and top) values given the tick and
 * spacing.
 *
 * @param {string} tickStr The tick value.
 * @param {string} tickSpacingStr The tick spacing value.
 * @param {number=} tickStep How many tick steps wide to capture liquidity.
 * @return {Array<number>} a tuple of the lower and highest tick local range.
 */
export declare const tickRange: (tickStr: any, tickSpacingStr: any, tickStep?: number) => number[];
/**
 * Will calculate the exponent for the given decimals number.
 *
 * @param {string|number} decs The decimal number.
 * @return {bigint} The decimals exponent.
 */
export declare const expDecs: (decs: any) => JSBI;
/**
 * Converts a value to JSBI, if it's already a JSBI will just return it.
 *
 * @param {string|number|JSBI} numstr The value to convert.
 * @return {bigint} JSBI representation of the value.
 */
export declare const biConv: (numstr: any) => bigint | JSBI;
