/** * Helper class for detecting WebAssembly feature support (SIMD, Memory64 / wasm64). */ export declare class FeatureDetectionHelper { /** * Detects whether the current browser supports WebAssembly SIMD instructions. * This code is run once and the result is cached. If your browser supports Wasm SIMD then all following calls will return true * * See also {@link SciChartDefaults.useWasmSimd} to globally enable or disable Wasm simd support in SciChart.js * * @returns true if WASM SIMD is supported, false otherwise */ static supportsWasmSIMD(): boolean; /** * Detects whether the current browser supports the WebAssembly Memory64 (wasm64) variant of SciChart. * * SciChart only ships a wasm64 binary that is ALSO compiled with SIMD, so this returns true only when * BOTH Memory64 and SIMD are supported. Note that Memory64 support is a strict subset of SIMD support * (e.g. Safari supports SIMD but not Memory64 as of 2025), so this must always be paired with a wasm32 fallback. * * The result is cached after the first call. * * See also {@link SciChartDefaults.useWasm64} to globally enable or disable wasm64 in SciChart.js. * * @returns true if both Memory64 and SIMD are supported, false otherwise */ static supportsWasm64(): boolean; /** * Cached result of SIMD detection to avoid repeated validation */ private static supportsSimd; /** * Cached result of wasm64 (Memory64 + SIMD) detection */ private static supportsMemory64Simd; }