import { Tensor, Tensor1D } from '@tensorflow/tfjs'; import { HistogramStats } from '../types'; export declare function arrayStats(input: number[]): HistogramStats; export declare function tensorStats(input: Tensor): Promise; export declare function confusionMatrix(labels: Tensor1D, predictions: Tensor1D, numClasses?: number, weights?: Tensor1D): Promise; export declare function accuracy(labels: Tensor, predictions: Tensor): Promise; export declare function perClassAccuracy(labels: Tensor1D, predictions: Tensor1D, numClasses?: number): Promise>;