import { ChartDataPoint } from '../types'; /** * Largest-Triangle-One-Bucket (LTOB) decimation for large time/ordinal series. * Preserves visual trend with O(n) pass. * @param data - Array of data points to decimate * @param threshold - Maximum number of points to return (default 1000) * @returns Decimated array of data points */ export declare function useDataDecimation(data: ChartDataPoint[], threshold?: number): ChartDataPoint[];