import { DecimateOnline } from '../prelude/interfaces/decimate/online'; import { DecimateBatch } from '../prelude/interfaces/decimate/batch'; import { IPoint } from '../prelude'; import { PointWithSED } from './point-with-sed'; export declare class Decimate_STTrace implements DecimateBatch, DecimateOnline { readonly compressionRatio: number; private totalAdded; private points; constructor(compressionRatio: number); toPoints(): PointWithSED[]; concat(newPoints: Array): Decimate_STTrace; /** * If you would like to change the decimation criteria or function, do it here. * * @param pointCountToRemove number Number of points to knock out of the buffer * @returns number Number of points removed */ decimateN(pointCountToRemove: number): number; decimateOne(): void; batch(points: Array): IPoint[]; }