/* *
 *
 *  License: www.highcharts.com/license
 *
 *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
 *
 * */

/* *
 *
 *  Imports
 *
 * */

import type {
    SMAOptions,
    SMAParamsOptions
} from '../SMA/SMAOptions';

/* *
 *
 *  Declarations
 *
 * */

export interface LinearRegressionOptions extends SMAOptions {
    params?: LinearRegressionParamsOptions;
    tooltip?: Highcharts.TooltipOptions;
}

export interface LinearRegressionParamsOptions extends SMAParamsOptions {
    xAxisUnit?: null|number;
}

export interface RegressionLineParametersObject {
    slope: number;
    intercept: number;
}

export default LinearRegressionOptions;
