import { TTypedArrayCtor } from "../../array/typed-array/t-typed-array-ctor.js"; import { IEmscriptenWrapper } from "../emscripten/i-emscripten-wrapper.js"; import { ISharedArray } from "./i-shared-array.js"; import { ISharedArrayBindings } from "./i-shared-array-bindings.js"; import { IdSpecialization } from "../../runtime/rtti-interop.js"; import { type IManagedResourceNode } from "../../lifecycle/manged-resources.js"; import { SharedBufferView } from "../shared-memory/shared-buffer-view.js"; /** * @public */ export declare const sharedArraySpecialization: IdSpecialization; /** * @public * Typed array shared between wasm and javascript. */ export declare class SharedArray extends SharedBufferView implements ISharedArray { /** * @throws exception if allocation cannot be performed. */ static createOne(wrapper: IEmscriptenWrapper, containerType: TCtor, bindToReference: IManagedResourceNode | null, length: number, clearMemory?: boolean): SharedArray; static createOne(wrapper: IEmscriptenWrapper, containerType: TCtor, bindToReference: IManagedResourceNode | null, length: number, clearMemory?: boolean, allocationFailThrows?: boolean): SharedArray | null; readonly length: number; readonly pointer: number; getWrapper(): IEmscriptenWrapper; private readonly cleanup; } //# sourceMappingURL=shared-array.d.ts.map