export declare const resampleWaveformData: (waveformData: number[], amplitudesCount: number) => number[]; /** * Downsamples a series with the Largest-Triangle-Three-Buckets (LTTB) algorithm, keeping the first * and last point (a target of 1 returns the mean). See the thesis "Downsampling Time Series for * Visual Representation" by Sveinn Steinarsson (https://skemman.is/bitstream/1946/15343/3/SS_MSthesis.pdf). * @param data - Series to downsample. Returned as is when it is not longer than the target. * @param targetOutputSize - Number of points to keep. 0 returns `data` as is. * @returns The downsampled series. */ export declare function downSample(data: number[], targetOutputSize: number): number[]; export declare const upSample: (values: number[], targetSize: number) => number[]; //# sourceMappingURL=audioSampling.d.ts.map