import { BaseEstimator } from '../base'; import { Params } from '../base/estimator'; export interface EmpiricalCovarianceProps { assumeCentered?: boolean; } export declare function empiricalMoments(X: number[][], assumeCentered: boolean): { location: number[]; covariance: number[][]; centered: number[][]; }; export declare class EmpiricalCovariance extends BaseEstimator { protected assumeCentered: boolean; protected locationState: number[]; protected covarianceState: number[][]; protected precisionState: number[][]; constructor(props?: EmpiricalCovarianceProps); getParams(): Params; protected setEstimate(location: number[], covariance: number[][]): void; fit(X: number[][]): void; mahalanobis(X: number[][]): number[]; score(X: number[][]): number; errorNorm(comparison: number[][], scaling?: boolean, squared?: boolean): number; get location(): number[]; get covariance(): number[][]; get precision(): number[][]; }