import { Abi } from "@aldea/core/abi"; import { TxExecution } from "./tx-execution.js"; import { AbiAccess } from "./memory/abi-helpers/abi-access.js"; import { MemoryProxy } from "./memory-proxy.js"; import { WasmWord } from "./wasm-word.js"; import { AbiType } from "./memory/abi-helpers/abi-type.js"; import { Option } from "./support/option.js"; import { ValueLifter } from "./memory/value-lifter.js"; import { LowerValue } from "./memory/lower-value.js"; import { BCS } from "@aldea/core"; export declare enum AuthCheck { CALL = 0, LOCK = 1 } export declare class WasmContainer { hash: Uint8Array; memory: WebAssembly.Memory; private _currentExec; private module; private instance; abi: AbiAccess; private _mem; lifter: ValueLifter; low: LowerValue; constructor(module: WebAssembly.Module, abi: Abi, id: Uint8Array); private onDataMoved; get id(): string; get mem(): MemoryProxy; get currentExec(): Option; setExecution(tx: TxExecution): void; clearExecution(): void; liftString(ptr: WasmWord): string; liftBuf(ptr: WasmWord): Uint8Array; malloc(size: number, rtid: number): WasmWord; callFn(fnName: string, wasmWords: WasmWord[], abiTypes: AbiType[]): Option; bcs(): BCS; }