UNPKG

heimdall-tide

Version:

SDK for communicating with a Tide Enclave

12 lines (11 loc) 434 B
import { TideMemory } from "asgard-tide"; export declare const version = "1"; export declare function wrapper(arr: NestedEntry): TideMemory; export declare function encodeStr(str: string, enc: string): Uint8Array; export declare function encode(data: number | boolean | Uint8Array): Uint8Array | undefined; interface entry { value: any; encoding?: string; } type NestedEntry = (entry | Uint8Array | NestedEntry)[]; export {};