+ const nativeResponseValue = wasm.TS_ParseError_unexpected_end_of_tagged_fields();
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_description_decode_error(struct LDKError a);
+/* @internal */
+export function ParseError_description_decode_error(a: number): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_description_decode_error(a);
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_padding_error(void);
+/* @internal */
+export function ParseError_padding_error(): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_padding_error();
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_integer_overflow_error(void);
+/* @internal */
+export function ParseError_integer_overflow_error(): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_integer_overflow_error();
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_invalid_seg_wit_program_length(void);
+/* @internal */
+export function ParseError_invalid_seg_wit_program_length(): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_invalid_seg_wit_program_length();
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_invalid_pub_key_hash_length(void);
+/* @internal */
+export function ParseError_invalid_pub_key_hash_length(): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_invalid_pub_key_hash_length();
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_invalid_script_hash_length(void);
+/* @internal */
+export function ParseError_invalid_script_hash_length(): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_invalid_script_hash_length();
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_invalid_recovery_id(void);
+/* @internal */
+export function ParseError_invalid_recovery_id(): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_invalid_recovery_id();
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_invalid_slice_length(struct LDKStr a);
+/* @internal */
+export function ParseError_invalid_slice_length(a: number): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_invalid_slice_length(a);
+ return nativeResponseValue;
+}
+ // struct LDKParseError ParseError_skip(void);
+/* @internal */
+export function ParseError_skip(): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseError_skip();
+ return nativeResponseValue;
+}
+ // void ParseOrSemanticError_free(struct LDKParseOrSemanticError this_ptr);
+/* @internal */
+export function ParseOrSemanticError_free(this_ptr: number): void {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseOrSemanticError_free(this_ptr);
+ // debug statements here
+}
+ // uintptr_t ParseOrSemanticError_clone_ptr(LDKParseOrSemanticError *NONNULL_PTR arg);
+/* @internal */
+export function ParseOrSemanticError_clone_ptr(arg: number): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseOrSemanticError_clone_ptr(arg);
+ return nativeResponseValue;
+}
+ // struct LDKParseOrSemanticError ParseOrSemanticError_clone(const struct LDKParseOrSemanticError *NONNULL_PTR orig);
+/* @internal */
+export function ParseOrSemanticError_clone(orig: number): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseOrSemanticError_clone(orig);
+ return nativeResponseValue;
+}
+ // struct LDKParseOrSemanticError ParseOrSemanticError_parse_error(struct LDKParseError a);
+/* @internal */
+export function ParseOrSemanticError_parse_error(a: number): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseOrSemanticError_parse_error(a);
+ return nativeResponseValue;
+}
+ // struct LDKParseOrSemanticError ParseOrSemanticError_semantic_error(enum LDKSemanticError a);
+/* @internal */
+export function ParseOrSemanticError_semantic_error(a: SemanticError): number {
+ if(!isWasmInitialized) {
+ throw new Error("initializeWasm() must be awaited first!");
+ }
+ const nativeResponseValue = wasm.TS_ParseOrSemanticError_semantic_error(a);