/** * @import { BytesLike } from "@helios-lang/codec-utils" * @import { JsonSafe } from "@helios-lang/type-utils" * @import { NativeScript } from "../index.js" */ /** * @param {BytesLike} bytes * @returns {NativeScript} */ export function decodeNativeScript(bytes: BytesLike): NativeScript; /** * @param {string | JsonSafe} json * @returns {NativeScript} */ export function parseNativeScript(json: string | JsonSafe): NativeScript; /** * Calculates the blake2b-224 (28 bytes) hash of the NativeScript. * * **Note**: before calculating the hash a 0 byte is prepended to the CBOR bytes * @param {NativeScript} nativeScript * @returns {number[]} */ export function hashNativeScript(nativeScript: NativeScript): number[]; import type { BytesLike } from "@helios-lang/codec-utils"; import type { NativeScript } from "../index.js"; import type { JsonSafe } from "@helios-lang/type-utils"; //# sourceMappingURL=NativeScript.d.ts.map