import type { IWasmSpinLock } from "./IWasmSpinLock"; import type { IWasmTypedArray } from "./IWasmTypedArray"; /** * Spinlock for WASM runtime synchronization */ export declare class WasmSpinlock implements IWasmSpinLock { private readonly _lock; /** * Creates a new WasmSpinlock with the 1 byte length lock array * @param lock Lock array */ constructor(lock: IWasmTypedArray); /** * waits for the lock to be released */ wait(): void; }