/** * Seeded OHLCV generators for trading demos and tests. */ export interface OhlcvData { x: Float64Array; open: Float32Array; high: Float32Array; low: Float32Array; close: Float32Array; volume: Float32Array; } export interface OhlcvOptions { startMs?: number; seed?: number; } /** Mulberry32 PRNG — deterministic when seed is provided. */ export declare function mulberry32(seed: number): () => number; /** OHLCV with business-day timestamps (weekends skipped in data). */ export declare function generateBusinessDayOhlcv(n: number, startMsOrOptions?: number | OhlcvOptions, legacySeed?: number): OhlcvData; /** OHLCV with consecutive calendar days (includes weekends). */ export declare function generateContinuousOhlcv(n: number, startMsOrOptions?: number | OhlcvOptions, legacySeed?: number): OhlcvData; /** Index of the bar with the lowest low. */ export declare function findLowestBarIndex(low: Float32Array): number; /** Index of the bar with the highest high. */ export declare function findHighestBarIndex(high: Float32Array): number;