import { OhlcDownsampleResult, DownsampleResult } from './downsample'; export declare function downsampleAsync(x: Float32Array, y: Float32Array, targetPoints: number, algorithm?: "lttb" | "minmax"): Promise; export declare function ohlcDownsampleAsync(x: Float32Array, open: Float32Array, high: Float32Array, low: Float32Array, close: Float32Array, targetBars: number): Promise; export declare function destroyDownsamplePool(): void; export declare function getDownsamplePoolSize(): number;