import { D as DecodedWeight } from './weight-decoder-DMScCVae.js'; import { TensorOrder } from '@wetron/common/ir'; type DiagnosticSeverity = 'error' | 'warning' | 'info'; /** The median-absolute-deviation test that produced a `norm-outlier` finding. */ interface NormOutlierTest { readonly median: number; readonly deviation: number; readonly multiple: number; readonly threshold: number; } interface WeightDiagnosticFinding { readonly code: 'nan' | 'positive-infinity' | 'negative-infinity' | 'constant-slice' | 'norm-outlier'; readonly severity: DiagnosticSeverity; readonly count: number; readonly coordinates: readonly (readonly number[])[]; readonly position?: number; readonly value?: number; readonly outlier?: NormOutlierTest; } declare function inspectWeightDiagnostics(values: DecodedWeight, shape: readonly number[], axis: number, tolerance?: number, outlierMultiple?: number, order?: TensorOrder): readonly WeightDiagnosticFinding[]; export { type DiagnosticSeverity, type NormOutlierTest, type WeightDiagnosticFinding, inspectWeightDiagnostics };