import type { series_float, int, float, Source, Bar, OHLC } from '../types'; import { Series } from '../runtime/series'; export declare function validateSeriesLength(source: Source, length: int, functionName: string): void; export declare function createNaNSeries(length: int): series_float; export declare function isNA(value: any): boolean; export declare function nz(value: any, defaultValue?: any): any; export declare function clamp(value: float, min: float, max: float): float; export declare function lerp(start: float, end: float, t: float): float; export declare function normalize(value: float, min: float, max: float, newMin?: float, newMax?: float): float; export declare function ohlcFromBars(bars: Bar[]): OHLC; export declare function getClose(ohlc: OHLC): series_float; export declare function getHigh(ohlc: OHLC): series_float; export declare function getLow(ohlc: OHLC): series_float; export declare function getOpen(ohlc: OHLC): series_float; export declare function getSource(data: Bar[] | OHLC, source?: 'close' | 'open' | 'high' | 'low' | 'hl2' | 'hlc3' | 'ohlc4' | 'hlcc4'): series_float; export declare function getSourceSeries(bars: Bar[], source?: 'open' | 'high' | 'low' | 'close' | 'hl2' | 'hlc3' | 'ohlc4' | 'hlcc4'): Series; export declare function shift(series: series_float, offset: int): series_float; export declare function smooth(series: series_float, method: 'SMA' | 'EMA' | 'WMA' | 'RMA', length: int): series_float; export declare function formatOutput(values: series_float, timestamps?: number[]): Array<{ time: number; value: number | null; }>; //# sourceMappingURL=index.d.ts.map