import { AbiType } from "./memory/abi-helpers/abi-type.js"; import { BufReader } from "@aldea/core"; export type WasmArg = number | bigint; export declare class WasmWord { private value; constructor(bytes: ArrayBuffer); static fromNumber(number: number): WasmWord; static fromBigInt(bigint: bigint): WasmWord; static fromNumeric(value: WasmArg): WasmWord; static fromReader(read: BufReader, ty?: AbiType): WasmWord; toInt(): number; toUInt(): number; toFloat(): number; toBigInt(): bigint; toBool(): boolean; plus(n: number): WasmWord; minus(n: number): WasmWord; align(toSize: number): WasmWord; serialize(ty: AbiType): Uint8Array; toWasmArg(abiType: AbiType): WasmArg; equals(another: WasmWord): boolean; static null(): WasmWord; }