import '../../assert/js/assert.js';
import '../../globals.js';
declare class PiecewiseLinearFunction {
    private readonly array;
    /**
     * @param array - in the form x0,y0, x1,y1, x2,y2, etc.  Points do not have to be in order.
     *              - points cannot have a different y value for the same x value (not checked)
     */
    constructor(array: number[]);
    evaluate(x: number): number;
    /**
     * This algorithm generates no garbage
     * @param array - in the form x0,y0, x1,y1, x2,y2, etc.  Points do not have to be ordered from low to high x
     *                         - points cannot have a different y value for the same x value (not checked)
     * @param x
     */
    static evaluate(array: number[], x: number): number;
}
export default PiecewiseLinearFunction;
//# sourceMappingURL=PiecewiseLinearFunction.d.ts.map