import BigNumber from 'bignumber.js';
import { StatAreaPoint } from './usePoints';
export declare function computePointYByHeight({ maxHeight, gridAreaHeight, value, }: {
    maxHeight: BigNumber;
    gridAreaHeight: number;
    value: BigNumber;
}): number;
export declare function computeHeightByPointY({ maxY, gridAreaHeight, y, }: {
    maxY: BigNumber;
    gridAreaHeight: number;
    y: number;
}): BigNumber;
/**
 * Obtain the closest data point from the data point collection through the coordinate point x and a series of point data subsets from the point to the center line.
 */
export declare function getStatAreaPointByX({ targetPrice, areaPoints, isLeft, }: {
    targetPrice: BigNumber;
    areaPoints: StatAreaPoint[];
    isLeft: boolean;
}): {
    targetAreaStatPoint: StatAreaPoint | null;
    targetAreaStatPoints: StatAreaPoint[];
};
/**
 * Given a pixel's x-coordinate, width, logarithm of the minimum value of the abscissa, and logarithm of the maximum value of the abscissa, calculate the logarithmic coordinate corresponding to the point
 */
export declare function computeTargetPrice({ x, width, minXLN10, maxXLN10, }: {
    x: number;
    width: number;
    minXLN10: BigNumber;
    maxXLN10: BigNumber;
}): BigNumber;
/**
 * Given the logarithm of a coordinate, the width, the logarithm of the minimum value of the abscissa, and the logarithm of the maximum value of the abscissa, calculate the x coordinate corresponding to the point
 */
export declare function computeTargetX({ width, targetLN10, minXLN10, maxXLN10, }: {
    width: number;
    targetLN10: BigNumber;
    minXLN10: BigNumber;
    maxXLN10: BigNumber;
}): number;
/**
 * Calculate logarithm
 */
export declare function computeTargetLN({ target }: {
    target: BigNumber;
}): BigNumber;
