/** * Shared WASM initialization state. * * This module provides a single source of truth for WASM initialization state, * ensuring that both async (loadWASM) and sync (loadWASMSync) initialization * methods coordinate properly. * * @internal */ /** * Check if WASM has been initialized (via either async or sync method). * @returns true if WASM has been initialized * @internal */ export declare function isWasmInitialized(): boolean; /** * Mark WASM as initialized. * Called by both loadWASM and loadWASMSync after successful initialization. * @internal */ export declare function markWasmInitialized(): void; /** * Reset WASM initialization state. * Used for testing and cleanup. * @internal */ export declare function resetWasmState(): void; /** * Public API: Check if WASM has been initialized. * @returns true if WASM has been initialized * @internal */ export declare function isInitialized(): boolean; /** * Public API: Reset initialization state. * @internal */ export declare function resetInit(): void;