/**
 * Cubic equation solver. Only returns real root between 0 and 1, which is the only case we care about for curve evaluation.
 * From https://www.particleincell.com/2013/cubic-line-intersection/
 */
export declare function cubicRoots(P: [number, number, number, number]): number[];