@swtc/serializer
Version:
swtc serializer
30 lines • 1.03 kB
TypeScript
/**
* Type definitions for binary format and
* Utils to handle format conversions.
*
* This file should not be included directly. Instead, find the format you're
* trying to parse or serialize in binformat.js and pass that to
* SerializedObject.parse() or SerializedObject.serialize().
*/
declare function Factory(Wallet?: any): {
Int8: import("./types/SerializedType").default;
Int16: import("./types/SerializedType").default;
Int32: import("./types/SerializedType").default;
Int64: import("./types/SerializedType").default;
Hash128: import("./types/SerializedType").default;
Hash160: any;
Hash256: import("./types/SerializedType").default;
STCurrency: any;
Amount: any;
VL: import("./types/SerializedType").default;
Account: any;
PathSet: any;
Vector256: any;
STMemo: any;
Object: any;
Array: any;
serialize: (so: any, field_name: any, value: any) => void;
parse: (so: any) => any[];
};
export { Factory };
//# sourceMappingURL=TypesUtils.d.ts.map