heimdall-tide
Version:
SDK for communicating with a Tide Enclave
12 lines (11 loc) • 435 B
TypeScript
import { Tools } from "@tideorg/js";
export declare const version = "1";
export declare function wrapper(arr: NestedEntry): Tools.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 {};