import type { RegressionInput, RegressionResult } from './types.js'; /** * Simple linear regression (least squares) * * @param input - Regression input with x and y data arrays * @returns Slope, intercept, R² and equation string * @throws RangeError if x or y is missing, if x and y lengths differ, * if fewer than 2 data points are provided, or if all x values are identical */ export declare function regression(input: RegressionInput): RegressionResult; //# sourceMappingURL=regression.d.ts.map