diff --git a/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/.flow-iosMain.cinteropLibraries.json b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/.flow-iosMain.cinteropLibraries.json new file mode 100644 index 0000000..4cebb49 --- /dev/null +++ b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/.flow-iosMain.cinteropLibraries.json @@ -0,0 +1,17 @@ +[ + { + "moduleId": "io.ktor:ktor-utils:3.0.1", + "file": "/Users/lmcmz/dapper/flow-kmm/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-3.0.1-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-kGNXpQ.klib", + "sourceSetName": "iosMain" + }, + { + "moduleId": "org.jetbrains.kotlinx:atomicfu:0.23.1", + "file": "/Users/lmcmz/dapper/flow-kmm/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-cinterop/org.jetbrains.kotlinx_atomicfu-cinterop-interop-wFq7cg.klib", + "sourceSetName": "nativeMain" + }, + { + "moduleId": "io.ktor:ktor-io:3.0.1", + "file": "/Users/lmcmz/dapper/flow-kmm/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-io-3.0.1-iosMain-cinterop/io.ktor_ktor-io-cinterop-mutex-G8iuZg.klib", + "sourceSetName": "iosMain" + } +] \ No newline at end of file diff --git a/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/.flow-iosTest.cinteropLibraries.json b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/.flow-iosTest.cinteropLibraries.json new file mode 100644 index 0000000..4cebb49 --- /dev/null +++ b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/.flow-iosTest.cinteropLibraries.json @@ -0,0 +1,17 @@ +[ + { + "moduleId": "io.ktor:ktor-utils:3.0.1", + "file": "/Users/lmcmz/dapper/flow-kmm/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-3.0.1-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-kGNXpQ.klib", + "sourceSetName": "iosMain" + }, + { + "moduleId": "org.jetbrains.kotlinx:atomicfu:0.23.1", + "file": "/Users/lmcmz/dapper/flow-kmm/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-cinterop/org.jetbrains.kotlinx_atomicfu-cinterop-interop-wFq7cg.klib", + "sourceSetName": "nativeMain" + }, + { + "moduleId": "io.ktor:ktor-io:3.0.1", + "file": "/Users/lmcmz/dapper/flow-kmm/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-io-3.0.1-iosMain-cinterop/io.ktor_ktor-io-cinterop-mutex-G8iuZg.klib", + "sourceSetName": "iosMain" + } +] \ No newline at end of file diff --git a/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-io-3.0.1-iosMain-cinterop/io.ktor_ktor-io-cinterop-mutex-G8iuZg.klib b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-io-3.0.1-iosMain-cinterop/io.ktor_ktor-io-cinterop-mutex-G8iuZg.klib new file mode 100644 index 0000000..015f34f Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-io-3.0.1-iosMain-cinterop/io.ktor_ktor-io-cinterop-mutex-G8iuZg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-2.1.3-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-HAqVRg.klib b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-2.1.3-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-HAqVRg.klib new file mode 100644 index 0000000..764ddec Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-2.1.3-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-HAqVRg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-3.0.1-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-kGNXpQ.klib b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-3.0.1-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-kGNXpQ.klib new file mode 100644 index 0000000..0bb3c92 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/io.ktor-ktor-utils-3.0.1-iosMain-cinterop/io.ktor_ktor-utils-cinterop-threadUtils-kGNXpQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-cinterop/org.jetbrains.kotlinx_atomicfu-cinterop-interop-wFq7cg.klib b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-cinterop/org.jetbrains.kotlinx_atomicfu-cinterop-interop-wFq7cg.klib new file mode 100644 index 0000000..3b2724a Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedCInteropMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-cinterop/org.jetbrains.kotlinx_atomicfu-cinterop-interop-wFq7cg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-commonMain-8p_zqQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-commonMain-8p_zqQ.klib new file mode 100644 index 0000000..59e36ba Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-commonMain-8p_zqQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-iosMain-OyPUmw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-iosMain-OyPUmw.klib new file mode 100644 index 0000000..6f1162b Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-iosMain-OyPUmw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-nativeMain-8p_zqQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-nativeMain-8p_zqQ.klib new file mode 100644 index 0000000..37c2058 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.10-nativeMain-8p_zqQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.7-commonMain-OVrCUw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.7-commonMain-OVrCUw.klib new file mode 100644 index 0000000..740bffb Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.7-commonMain-OVrCUw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.7-nativeMain-OVrCUw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.7-nativeMain-OVrCUw.klib new file mode 100644 index 0000000..5cbcdb6 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-0.3.7-nativeMain-OVrCUw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-serialization-kotlinx-0.3.10-commonMain-fy7cAg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-serialization-kotlinx-0.3.10-commonMain-fy7cAg.klib new file mode 100644 index 0000000..aa03bb0 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/com.ionspin.kotlin-bignum-serialization-kotlinx-0.3.10-commonMain-fy7cAg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-2.1.3-commonMain-yeoNmQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-2.1.3-commonMain-yeoNmQ.klib new file mode 100644 index 0000000..c05b79d Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-2.1.3-commonMain-yeoNmQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-2.1.3-posixMain-yeoNmQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-2.1.3-posixMain-yeoNmQ.klib new file mode 100644 index 0000000..42208d7 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-2.1.3-posixMain-yeoNmQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-3.0.1-commonMain-_r-fDQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-3.0.1-commonMain-_r-fDQ.klib new file mode 100644 index 0000000..93b0ebd Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-3.0.1-commonMain-_r-fDQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-3.0.1-posixMain-_r-fDQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-3.0.1-posixMain-_r-fDQ.klib new file mode 100644 index 0000000..2421366 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-content-negotiation-3.0.1-posixMain-_r-fDQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-2.1.3-commonMain-cCyhSw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-2.1.3-commonMain-cCyhSw.klib new file mode 100644 index 0000000..d9d176b Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-2.1.3-commonMain-cCyhSw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-2.1.3-posixMain-cCyhSw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-2.1.3-posixMain-cCyhSw.klib new file mode 100644 index 0000000..3c3017e Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-2.1.3-posixMain-cCyhSw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-3.0.1-commonMain-_X-3Yw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-3.0.1-commonMain-_X-3Yw.klib new file mode 100644 index 0000000..efc9494 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-3.0.1-commonMain-_X-3Yw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-3.0.1-posixMain-_X-3Yw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-3.0.1-posixMain-_X-3Yw.klib new file mode 100644 index 0000000..b1d3aeb Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-core-3.0.1-posixMain-_X-3Yw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-darwin-2.1.3-darwinMain--zaHjQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-darwin-2.1.3-darwinMain--zaHjQ.klib new file mode 100644 index 0000000..091e0bc Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-darwin-2.1.3-darwinMain--zaHjQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-darwin-3.0.1-darwinMain-Pggigg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-darwin-3.0.1-darwinMain-Pggigg.klib new file mode 100644 index 0000000..8356ddf Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-darwin-3.0.1-darwinMain-Pggigg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-2.1.3-commonMain-nTsf3A.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-2.1.3-commonMain-nTsf3A.klib new file mode 100644 index 0000000..4b9f319 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-2.1.3-commonMain-nTsf3A.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-2.1.3-posixMain-nTsf3A.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-2.1.3-posixMain-nTsf3A.klib new file mode 100644 index 0000000..06e1442 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-2.1.3-posixMain-nTsf3A.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-3.0.1-commonMain-vW75RQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-3.0.1-commonMain-vW75RQ.klib new file mode 100644 index 0000000..e0ac0ff Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-3.0.1-commonMain-vW75RQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-3.0.1-posixMain-vW75RQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-3.0.1-posixMain-vW75RQ.klib new file mode 100644 index 0000000..bb7290e Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-client-logging-3.0.1-posixMain-vW75RQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-events-2.1.3-commonMain-khrSXA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-events-2.1.3-commonMain-khrSXA.klib new file mode 100644 index 0000000..6ddb72f Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-events-2.1.3-commonMain-khrSXA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-events-3.0.1-commonMain-EwGNrw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-events-3.0.1-commonMain-EwGNrw.klib new file mode 100644 index 0000000..cadebe9 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-events-3.0.1-commonMain-EwGNrw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-2.1.3-commonMain-AFmMzQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-2.1.3-commonMain-AFmMzQ.klib new file mode 100644 index 0000000..9b31b4d Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-2.1.3-commonMain-AFmMzQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-2.1.3-posixMain-AFmMzQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-2.1.3-posixMain-AFmMzQ.klib new file mode 100644 index 0000000..7d6e205 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-2.1.3-posixMain-AFmMzQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-3.0.1-commonMain-HJ2v3w.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-3.0.1-commonMain-HJ2v3w.klib new file mode 100644 index 0000000..4266296 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-3.0.1-commonMain-HJ2v3w.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-3.0.1-posixMain-HJ2v3w.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-3.0.1-posixMain-HJ2v3w.klib new file mode 100644 index 0000000..a556358 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-http-3.0.1-posixMain-HJ2v3w.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-2.1.3-commonMain-3OB36A.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-2.1.3-commonMain-3OB36A.klib new file mode 100644 index 0000000..249be76 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-2.1.3-commonMain-3OB36A.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-2.1.3-posixMain-3OB36A.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-2.1.3-posixMain-3OB36A.klib new file mode 100644 index 0000000..f424b22 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-2.1.3-posixMain-3OB36A.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-commonMain-BYlo6A.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-commonMain-BYlo6A.klib new file mode 100644 index 0000000..abed74d Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-commonMain-BYlo6A.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-darwinMain-G8iuZg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-darwinMain-G8iuZg.klib new file mode 100644 index 0000000..83c01a4 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-darwinMain-G8iuZg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-posixMain-BYlo6A.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-posixMain-BYlo6A.klib new file mode 100644 index 0000000..75462e2 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-io-3.0.1-posixMain-BYlo6A.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-2.1.3-commonMain-A_tluA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-2.1.3-commonMain-A_tluA.klib new file mode 100644 index 0000000..2d9762c Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-2.1.3-commonMain-A_tluA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-3.0.1-commonMain-1bXsZA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-3.0.1-commonMain-1bXsZA.klib new file mode 100644 index 0000000..b868918 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-3.0.1-commonMain-1bXsZA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-2.1.3-commonMain-iVJ6rQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-2.1.3-commonMain-iVJ6rQ.klib new file mode 100644 index 0000000..35732fc Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-2.1.3-commonMain-iVJ6rQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-3.0.1-commonMain-Ie0iMQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-3.0.1-commonMain-Ie0iMQ.klib new file mode 100644 index 0000000..653d417 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-3.0.1-commonMain-Ie0iMQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-3.0.1-posixMain-Ie0iMQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-3.0.1-posixMain-Ie0iMQ.klib new file mode 100644 index 0000000..5e92182 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-3.0.1-posixMain-Ie0iMQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-2.1.3-commonMain-iF2YZQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-2.1.3-commonMain-iF2YZQ.klib new file mode 100644 index 0000000..dd9b565 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-2.1.3-commonMain-iF2YZQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-3.0.1-commonMain-KZTXgg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-3.0.1-commonMain-KZTXgg.klib new file mode 100644 index 0000000..7605c0a Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-3.0.1-commonMain-KZTXgg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-3.0.1-posixMain-KZTXgg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-3.0.1-posixMain-KZTXgg.klib new file mode 100644 index 0000000..098c55b Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-serialization-kotlinx-json-3.0.1-posixMain-KZTXgg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-sse-3.0.1-commonMain-NhOpkw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-sse-3.0.1-commonMain-NhOpkw.klib new file mode 100644 index 0000000..c24a168 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-sse-3.0.1-commonMain-NhOpkw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-commonMain-U5_BZw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-commonMain-U5_BZw.klib new file mode 100644 index 0000000..dad323d Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-commonMain-U5_BZw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-darwinMain-HAqVRg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-darwinMain-HAqVRg.klib new file mode 100644 index 0000000..f96e183 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-darwinMain-HAqVRg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-nixMain-U5_BZw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-nixMain-U5_BZw.klib new file mode 100644 index 0000000..465b182 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-nixMain-U5_BZw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-posixMain-U5_BZw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-posixMain-U5_BZw.klib new file mode 100644 index 0000000..56b99af Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-2.1.3-posixMain-U5_BZw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-commonMain-mRaY8g.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-commonMain-mRaY8g.klib new file mode 100644 index 0000000..cac5192 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-commonMain-mRaY8g.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-darwinMain-kGNXpQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-darwinMain-kGNXpQ.klib new file mode 100644 index 0000000..ed6c499 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-darwinMain-kGNXpQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-nixMain-mRaY8g.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-nixMain-mRaY8g.klib new file mode 100644 index 0000000..2be6fce Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-nixMain-mRaY8g.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-posixMain-mRaY8g.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-posixMain-mRaY8g.klib new file mode 100644 index 0000000..6a7cd43 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-utils-3.0.1-posixMain-mRaY8g.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websocket-serialization-2.1.3-commonMain-DNdbLQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websocket-serialization-2.1.3-commonMain-DNdbLQ.klib new file mode 100644 index 0000000..0cfaefb Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websocket-serialization-2.1.3-commonMain-DNdbLQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websocket-serialization-3.0.1-commonMain-6RXyCg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websocket-serialization-3.0.1-commonMain-6RXyCg.klib new file mode 100644 index 0000000..21da43e Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websocket-serialization-3.0.1-commonMain-6RXyCg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-2.1.3-commonMain-WeDz9w.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-2.1.3-commonMain-WeDz9w.klib new file mode 100644 index 0000000..4566de8 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-2.1.3-commonMain-WeDz9w.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-2.1.3-posixMain-WeDz9w.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-2.1.3-posixMain-WeDz9w.klib new file mode 100644 index 0000000..ba25f4a Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-2.1.3-posixMain-WeDz9w.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-3.0.1-commonMain-6r0LVg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-3.0.1-commonMain-6r0LVg.klib new file mode 100644 index 0000000..b497915 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-3.0.1-commonMain-6r0LVg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-3.0.1-posixMain-6r0LVg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-3.0.1-posixMain-6r0LVg.klib new file mode 100644 index 0000000..1f0293c Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/io.ktor-ktor-websockets-3.0.1-posixMain-6r0LVg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-stdlib-2.0.21-commonMain-WPEnbA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-stdlib-2.0.21-commonMain-WPEnbA.klib new file mode 100644 index 0000000..3ac5ad3 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-stdlib-2.0.21-commonMain-WPEnbA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-test-2.0.21-annotationsCommonMain-NjL0Sw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-test-2.0.21-annotationsCommonMain-NjL0Sw.klib new file mode 100644 index 0000000..d2a6824 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-test-2.0.21-annotationsCommonMain-NjL0Sw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-test-2.0.21-assertionsCommonMain-NjL0Sw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-test-2.0.21-assertionsCommonMain-NjL0Sw.klib new file mode 100644 index 0000000..3196ad7 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-test-2.0.21-assertionsCommonMain-NjL0Sw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-commonMain-8G5yng.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-commonMain-8G5yng.klib new file mode 100644 index 0000000..06b636e Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-commonMain-8G5yng.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-nativeInterop-8G5yng.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-nativeInterop-8G5yng.klib new file mode 100644 index 0000000..1a25986 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-nativeInterop-8G5yng.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-nativeMain-8G5yng.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-nativeMain-8G5yng.klib new file mode 100644 index 0000000..db0ee38 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.17.3-nativeMain-8G5yng.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-commonMain-wFq7cg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-commonMain-wFq7cg.klib new file mode 100644 index 0000000..e9f280c Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-commonMain-wFq7cg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-wFq7cg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-wFq7cg.klib new file mode 100644 index 0000000..4a8f1a3 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-atomicfu-0.23.1-nativeMain-wFq7cg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-commonMain-fLwzjw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-commonMain-fLwzjw.klib new file mode 100644 index 0000000..51ff30b Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-commonMain-fLwzjw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-concurrentMain-fLwzjw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-concurrentMain-fLwzjw.klib new file mode 100644 index 0000000..3b242e3 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-concurrentMain-fLwzjw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-nativeDarwinMain-WRRmgw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-nativeDarwinMain-WRRmgw.klib new file mode 100644 index 0000000..433f721 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-nativeDarwinMain-WRRmgw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-nativeMain-fLwzjw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-nativeMain-fLwzjw.klib new file mode 100644 index 0000000..90d0156 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.6.4-nativeMain-fLwzjw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-commonMain-ENDfhw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-commonMain-ENDfhw.klib new file mode 100644 index 0000000..71749cc Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-commonMain-ENDfhw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-concurrentMain-ENDfhw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-concurrentMain-ENDfhw.klib new file mode 100644 index 0000000..eeb1ec9 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-concurrentMain-ENDfhw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-nativeDarwinMain-a-dA-A.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-nativeDarwinMain-a-dA-A.klib new file mode 100644 index 0000000..d4d0182 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-nativeDarwinMain-a-dA-A.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-nativeMain-ENDfhw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-nativeMain-ENDfhw.klib new file mode 100644 index 0000000..12d012b Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-coroutines-core-1.9.0-nativeMain-ENDfhw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-appleMain-Pv9upw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-appleMain-Pv9upw.klib new file mode 100644 index 0000000..c4308c7 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-appleMain-Pv9upw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-commonMain-ptgxIQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-commonMain-ptgxIQ.klib new file mode 100644 index 0000000..65bc649 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-commonMain-ptgxIQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-nativeMain-ptgxIQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-nativeMain-ptgxIQ.klib new file mode 100644 index 0000000..f762e41 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-bytestring-0.5.4-nativeMain-ptgxIQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-appleMain-BOEJjg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-appleMain-BOEJjg.klib new file mode 100644 index 0000000..5a49d53 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-appleMain-BOEJjg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-commonMain-VZyyzw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-commonMain-VZyyzw.klib new file mode 100644 index 0000000..512c3d8 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-commonMain-VZyyzw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-nativeMain-VZyyzw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-nativeMain-VZyyzw.klib new file mode 100644 index 0000000..23d6010 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-nativeMain-VZyyzw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-nativeNonAndroidMain-VZyyzw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-nativeNonAndroidMain-VZyyzw.klib new file mode 100644 index 0000000..28e86cf Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-io-core-0.5.4-nativeNonAndroidMain-VZyyzw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.4.1-commonMain-tstFDA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.4.1-commonMain-tstFDA.klib new file mode 100644 index 0000000..566d538 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.4.1-commonMain-tstFDA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.4.1-nativeMain-tstFDA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.4.1-nativeMain-tstFDA.klib new file mode 100644 index 0000000..f41d277 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.4.1-nativeMain-tstFDA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.7.3-commonMain-s2qClw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.7.3-commonMain-s2qClw.klib new file mode 100644 index 0000000..cae9d51 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.7.3-commonMain-s2qClw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.7.3-nativeMain-s2qClw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.7.3-nativeMain-s2qClw.klib new file mode 100644 index 0000000..eec8cc4 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.7.3-nativeMain-s2qClw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.4.1-commonMain-uVEqHA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.4.1-commonMain-uVEqHA.klib new file mode 100644 index 0000000..0085e39 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.4.1-commonMain-uVEqHA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.4.1-nativeMain-uVEqHA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.4.1-nativeMain-uVEqHA.klib new file mode 100644 index 0000000..7ef42b5 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.4.1-nativeMain-uVEqHA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.7.3-commonMain-O4ZS7Q.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.7.3-commonMain-O4ZS7Q.klib new file mode 100644 index 0000000..0622a53 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.7.3-commonMain-O4ZS7Q.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.7.3-nativeMain-O4ZS7Q.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.7.3-nativeMain-O4ZS7Q.klib new file mode 100644 index 0000000..58db2ed Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-1.7.3-nativeMain-O4ZS7Q.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-io-1.7.3-commonMain-w7DiNw.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-io-1.7.3-commonMain-w7DiNw.klib new file mode 100644 index 0000000..fb196e4 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-json-io-1.7.3-commonMain-w7DiNw.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-common-0.5.3-commonMain--ml42w.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-common-0.5.3-commonMain--ml42w.klib new file mode 100644 index 0000000..c891ed2 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-common-0.5.3-commonMain--ml42w.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-digest-0.5.3-commonMain-zAvEtQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-digest-0.5.3-commonMain-zAvEtQ.klib new file mode 100644 index 0000000..4858801 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-digest-0.5.3-commonMain-zAvEtQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-digest-0.5.3-nonJvmMain-zAvEtQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-digest-0.5.3-nonJvmMain-zAvEtQ.klib new file mode 100644 index 0000000..e9d78a2 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-digest-0.5.3-nonJvmMain-zAvEtQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-xof-0.5.3-commonMain-ffFO7g.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-xof-0.5.3-commonMain-ffFO7g.klib new file mode 100644 index 0000000..d04e998 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.core-xof-0.5.3-commonMain-ffFO7g.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.endians-endians-0.3.1-commonMain-34lVpQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.endians-endians-0.3.1-commonMain-34lVpQ.klib new file mode 100644 index 0000000..6c6ddfb Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.endians-endians-0.3.1-commonMain-34lVpQ.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.hash-sha2-0.5.3-commonMain-UsmZYg.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.hash-sha2-0.5.3-commonMain-UsmZYg.klib new file mode 100644 index 0000000..ff8c328 Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.hash-sha2-0.5.3-commonMain-UsmZYg.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.hash-sha3-0.5.3-commonMain-OZivSA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.hash-sha3-0.5.3-commonMain-OZivSA.klib new file mode 100644 index 0000000..effaa8e Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.hash-sha3-0.5.3-commonMain-OZivSA.klib differ diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.sponges-keccak-0.3.1-commonMain-3_opFQ.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.sponges-keccak-0.3.1-commonMain-3_opFQ.klib new file mode 100644 index 0000000..27dad3a Binary files /dev/null and b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.kotlincrypto.sponges-keccak-0.3.1-commonMain-3_opFQ.klib differ diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8fe62d2 --- /dev/null +++ b/Example/Example.xcodeproj/project.pbxproj @@ -0,0 +1,511 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 1519726529ED89EE00F651F5 /* ExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1519726429ED89EE00F651F5 /* ExampleApp.swift */; }; + 1519726729ED89EE00F651F5 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1519726629ED89EE00F651F5 /* ContentView.swift */; }; + 1519726929ED89EF00F651F5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1519726829ED89EF00F651F5 /* Assets.xcassets */; }; + 1519726C29ED89EF00F651F5 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1519726B29ED89EF00F651F5 /* Preview Assets.xcassets */; }; + 1519727629ED89EF00F651F5 /* ExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1519727529ED89EF00F651F5 /* ExampleTests.swift */; }; + 151972A329ED9FB700F651F5 /* Flow.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 151972A229ED9FB700F651F5 /* Flow.xcframework */; }; + 151972A429ED9FB700F651F5 /* Flow.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 151972A229ED9FB700F651F5 /* Flow.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1519727229ED89EF00F651F5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1519725929ED89EE00F651F5 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1519726029ED89EE00F651F5; + remoteInfo = Example; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 151972A529ED9FB700F651F5 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 151972A429ED9FB700F651F5 /* Flow.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 1519726129ED89EE00F651F5 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1519726429ED89EE00F651F5 /* ExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleApp.swift; sourceTree = ""; }; + 1519726629ED89EE00F651F5 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 1519726829ED89EF00F651F5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 1519726B29ED89EF00F651F5 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 1519727129ED89EF00F651F5 /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1519727529ED89EF00F651F5 /* ExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleTests.swift; sourceTree = ""; }; + 1519729029ED8A1C00F651F5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 151972A229ED9FB700F651F5 /* Flow.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Flow.xcframework; path = ../flow/swiftpackage/Flow.xcframework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1519725E29ED89EE00F651F5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 151972A329ED9FB700F651F5 /* Flow.xcframework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1519726E29ED89EF00F651F5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1519725829ED89EE00F651F5 = { + isa = PBXGroup; + children = ( + 1519729E29ED9F8000F651F5 /* Packages */, + 1519726329ED89EE00F651F5 /* Example */, + 1519727429ED89EF00F651F5 /* ExampleTests */, + 1519726229ED89EE00F651F5 /* Products */, + 1519729129ED8A2300F651F5 /* Frameworks */, + ); + sourceTree = ""; + }; + 1519726229ED89EE00F651F5 /* Products */ = { + isa = PBXGroup; + children = ( + 1519726129ED89EE00F651F5 /* Example.app */, + 1519727129ED89EF00F651F5 /* ExampleTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1519726329ED89EE00F651F5 /* Example */ = { + isa = PBXGroup; + children = ( + 1519729029ED8A1C00F651F5 /* Info.plist */, + 1519726429ED89EE00F651F5 /* ExampleApp.swift */, + 1519726629ED89EE00F651F5 /* ContentView.swift */, + 1519726829ED89EF00F651F5 /* Assets.xcassets */, + 1519726A29ED89EF00F651F5 /* Preview Content */, + ); + path = Example; + sourceTree = ""; + }; + 1519726A29ED89EF00F651F5 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 1519726B29ED89EF00F651F5 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 1519727429ED89EF00F651F5 /* ExampleTests */ = { + isa = PBXGroup; + children = ( + 1519727529ED89EF00F651F5 /* ExampleTests.swift */, + ); + path = ExampleTests; + sourceTree = ""; + }; + 1519729129ED8A2300F651F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 151972A229ED9FB700F651F5 /* Flow.xcframework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 1519729E29ED9F8000F651F5 /* Packages */ = { + isa = PBXGroup; + children = ( + ); + name = Packages; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1519726029ED89EE00F651F5 /* Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1519728529ED89EF00F651F5 /* Build configuration list for PBXNativeTarget "Example" */; + buildPhases = ( + 1519725D29ED89EE00F651F5 /* Sources */, + 1519725E29ED89EE00F651F5 /* Frameworks */, + 1519725F29ED89EE00F651F5 /* Resources */, + 151972A529ED9FB700F651F5 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Example; + packageProductDependencies = ( + ); + productName = Example; + productReference = 1519726129ED89EE00F651F5 /* Example.app */; + productType = "com.apple.product-type.application"; + }; + 1519727029ED89EF00F651F5 /* ExampleTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1519728829ED89EF00F651F5 /* Build configuration list for PBXNativeTarget "ExampleTests" */; + buildPhases = ( + 1519726D29ED89EF00F651F5 /* Sources */, + 1519726E29ED89EF00F651F5 /* Frameworks */, + 1519726F29ED89EF00F651F5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1519727329ED89EF00F651F5 /* PBXTargetDependency */, + ); + name = ExampleTests; + productName = ExampleTests; + productReference = 1519727129ED89EF00F651F5 /* ExampleTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1519725929ED89EE00F651F5 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1430; + LastUpgradeCheck = 1430; + TargetAttributes = { + 1519726029ED89EE00F651F5 = { + CreatedOnToolsVersion = 14.3; + }; + 1519727029ED89EF00F651F5 = { + CreatedOnToolsVersion = 14.3; + TestTargetID = 1519726029ED89EE00F651F5; + }; + }; + }; + buildConfigurationList = 1519725C29ED89EE00F651F5 /* Build configuration list for PBXProject "Example" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1519725829ED89EE00F651F5; + productRefGroup = 1519726229ED89EE00F651F5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1519726029ED89EE00F651F5 /* Example */, + 1519727029ED89EF00F651F5 /* ExampleTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1519725F29ED89EE00F651F5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1519726C29ED89EF00F651F5 /* Preview Assets.xcassets in Resources */, + 1519726929ED89EF00F651F5 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1519726F29ED89EF00F651F5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1519725D29ED89EE00F651F5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1519726729ED89EE00F651F5 /* ContentView.swift in Sources */, + 1519726529ED89EE00F651F5 /* ExampleApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1519726D29ED89EF00F651F5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1519727629ED89EF00F651F5 /* ExampleTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1519727329ED89EF00F651F5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1519726029ED89EE00F651F5 /* Example */; + targetProxy = 1519727229ED89EF00F651F5 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 1519728329ED89EF00F651F5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 1519728429ED89EF00F651F5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 1519728629ED89EF00F651F5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; + DEVELOPMENT_TEAM = MGCLCSUVY9; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = Example/Info.plist; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.dapperlabs.Example; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 1519728729ED89EF00F651F5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; + DEVELOPMENT_TEAM = MGCLCSUVY9; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = Example/Info.plist; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.dapperlabs.Example; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 1519728929ED89EF00F651F5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = MGCLCSUVY9; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.dapperlabs.ExampleTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Example"; + }; + name = Debug; + }; + 1519728A29ED89EF00F651F5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = MGCLCSUVY9; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.dapperlabs.ExampleTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Example"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1519725C29ED89EE00F651F5 /* Build configuration list for PBXProject "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1519728329ED89EF00F651F5 /* Debug */, + 1519728429ED89EF00F651F5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1519728529ED89EF00F651F5 /* Build configuration list for PBXNativeTarget "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1519728629ED89EF00F651F5 /* Debug */, + 1519728729ED89EF00F651F5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1519728829ED89EF00F651F5 /* Build configuration list for PBXNativeTarget "ExampleTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1519728929ED89EF00F651F5 /* Debug */, + 1519728A29ED89EF00F651F5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1519725929ED89EE00F651F5 /* Project object */; +} diff --git a/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/Example.xcodeproj/project.xcworkspace/xcuserdata/lmcmz.xcuserdatad/UserInterfaceState.xcuserstate b/Example/Example.xcodeproj/project.xcworkspace/xcuserdata/lmcmz.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..423a8a6 Binary files /dev/null and b/Example/Example.xcodeproj/project.xcworkspace/xcuserdata/lmcmz.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme new file mode 100644 index 0000000..c52e2a5 --- /dev/null +++ b/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Example.xcodeproj/xcshareddata/xcschemes/ExampleTests.xcscheme b/Example/Example.xcodeproj/xcshareddata/xcschemes/ExampleTests.xcscheme new file mode 100644 index 0000000..04e4749 --- /dev/null +++ b/Example/Example.xcodeproj/xcshareddata/xcschemes/ExampleTests.xcscheme @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Example.xcodeproj/xcuserdata/lmcmz.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Example.xcodeproj/xcuserdata/lmcmz.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..1fddb53 --- /dev/null +++ b/Example/Example.xcodeproj/xcuserdata/lmcmz.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + Example.xcscheme_^#shared#^_ + + orderHint + 0 + + ExampleTests.xcscheme_^#shared#^_ + + orderHint + 1 + + + SuppressBuildableAutocreation + + 1519726029ED89EE00F651F5 + + primary + + + 1519727029ED89EF00F651F5 + + primary + + + + + diff --git a/Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json b/Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Example/Assets.xcassets/Contents.json b/Example/Example/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Example/Example/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Example/ContentView.swift b/Example/Example/ContentView.swift new file mode 100644 index 0000000..966cbee --- /dev/null +++ b/Example/Example/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// Example +// +// Created by Hao Fu on 18/4/2023. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundColor(.accentColor) + Text("Hello, world!") + } + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/Example/Example/ExampleApp.swift b/Example/Example/ExampleApp.swift new file mode 100644 index 0000000..f21ef44 --- /dev/null +++ b/Example/Example/ExampleApp.swift @@ -0,0 +1,17 @@ +// +// ExampleApp.swift +// Example +// +// Created by Hao Fu on 18/4/2023. +// + +import SwiftUI + +@main +struct ExampleApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Example/Example/Info.plist b/Example/Example/Info.plist new file mode 100644 index 0000000..0c67376 --- /dev/null +++ b/Example/Example/Info.plist @@ -0,0 +1,5 @@ + + + + + diff --git a/Example/Example/Preview Content/Preview Assets.xcassets/Contents.json b/Example/Example/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Example/Example/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/ExampleTests/ExampleTests.swift b/Example/ExampleTests/ExampleTests.swift new file mode 100644 index 0000000..7fdb48f --- /dev/null +++ b/Example/ExampleTests/ExampleTests.swift @@ -0,0 +1,75 @@ +// +// ExampleTests.swift +// ExampleTests +// +// Created by Hao Fu on 18/4/2023. +// + +import XCTest +@testable import Example +import Flow +import CryptoKit + +class ECDSA_P256_Signer: Signer { + + var keyIndex: Int32 + var address: String + var privateKey: P256.Signing.PrivateKey + + init(address: String, keyIndex: Int32, privateKey: P256.Signing.PrivateKey) { + self.address = address + self.keyIndex = keyIndex + self.privateKey = privateKey + } + + func sign(bytes: KotlinByteArray) async -> KotlinByteArray { + let data = Data(bytes.toHexString().hexValue) + let hashedData = SHA256.hash(data: data) + let signature = try? privateKey.signature(for: hashedData) + return bytes + } + + +} + + +final class ExampleTests: XCTestCase { + + let addressA = "0xc6de0d94160377cd" + let publicKeyA = try! P256.KeyAgreement.PublicKey(rawRepresentation: "d487802b66e5c0498ead1c3f576b718949a3500218e97a6a4a62bf69a8b0019789639bc7acaca63f5889c1e7251c19066abb09fcd6b273e394a8ac4ee1a3372f".hexValue) + let privateKeyA = try! P256.Signing.PrivateKey(rawRepresentation: "c9c0f04adddf7674d265c395de300a65a777d3ec412bba5bfdfd12cffbbb78d9".hexValue) + + let api = FlowApi(chainId: ChainId.Testnet()) + + func testSign() throws { + + Transaction(id: nil, + script: <#T##String#>, + arguments: <#T##[Cadence.Value]#>, + referenceBlockId: <#T##String#>, + gasLimit: <#T##BignumBigInteger#>, + payer: <#T##String#>, + proposalKey: <#T##ProposalKey#>, + authorizers: <#T##[String]#>, + payloadSignatures: [], + envelopeSignatures: [], + expandable: nil, + result: nil, + links: nil) + +// api.sendTransaction(request: <#T##Transaction#>, completionHandler: <#T##(Transaction?, Error?) -> Void#>) + } + +} + +extension String { + /// Convert hex string to bytes + var hexValue: [UInt8] { + var startIndex = self.startIndex + return (0 ..< count / 2).compactMap { _ in + let endIndex = index(after: startIndex) + defer { startIndex = index(after: endIndex) } + return UInt8(self[startIndex ... endIndex], radix: 16) + } + } +} diff --git a/build.gradle.kts b/build.gradle.kts index 8eb268c..31a48d6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,11 +3,14 @@ buildscript { gradlePluginPortal() google() mavenCentral() + maven { + url = uri("https://oss.sonatype.org/content/repositories/snapshots") + } } dependencies { - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21") // downgraded to 4.2.2 from 7.2.1 to support intellij IDEA development - classpath("com.android.tools.build:gradle:4.2.2") + classpath("com.android.tools.build:gradle:8.5.0") } } diff --git a/flow/build.gradle.kts b/flow/build.gradle.kts index 6875b2d..019ba61 100644 --- a/flow/build.gradle.kts +++ b/flow/build.gradle.kts @@ -3,7 +3,7 @@ import java.lang.System.getenv plugins { kotlin("multiplatform") - kotlin("plugin.serialization") version "1.8.0" + kotlin("plugin.serialization") version "2.1.0" id("com.android.library") id("io.github.luca992.multiplatform-swiftpackage") version "2.0.5-arm64" id("maven-publish") @@ -17,6 +17,9 @@ multiplatformSwiftPackage { } kotlin { + + jvmToolchain(17) + android { publishLibraryVariants("release", "debug") } @@ -31,8 +34,9 @@ kotlin { } } - val coroutineVersion = "1.6.4" - val ktorVersion = "2.1.3" + val coroutineVersion = "1.9.0" + val ktorVersion = "3.0.1" + val kotlincrypto = "0.5.3" sourceSets {kotlin val commonMain by getting { @@ -49,9 +53,13 @@ kotlin { implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion") implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion") - implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1") - implementation("com.ionspin.kotlin:bignum:0.3.7") - implementation("com.ionspin.kotlin:bignum-serialization-kotlinx:0.3.2") + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3") + implementation("com.ionspin.kotlin:bignum:0.3.10") + implementation("com.ionspin.kotlin:bignum-serialization-kotlinx:0.3.10") + implementation("com.ionspin.kotlin:bignum:0.3.10-SNAPSHOT") + + implementation("org.kotlincrypto.hash:sha2:$kotlincrypto") + implementation("org.kotlincrypto.hash:sha3:$kotlincrypto") } } val commonTest by getting { @@ -76,11 +84,12 @@ kotlin { } android { + namespace = "com.flow.flowKMM" compileSdk = 32 sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") defaultConfig { minSdk = 21 - targetSdk = 32 + targetSdk = 33 } } diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/AddressRegistry.kt b/flow/src/commonMain/kotlin/org/onflow/flow/AddressRegistry.kt new file mode 100644 index 0000000..ee73019 --- /dev/null +++ b/flow/src/commonMain/kotlin/org/onflow/flow/AddressRegistry.kt @@ -0,0 +1,102 @@ +package org.onflow.flow + +import kotlinx.serialization.json.Json +import org.onflow.flow.models.FlowAddress + +class AddressRegistry { + + companion object { + const val FUNGIBLE_TOKEN = "0xFUNGIBLETOKEN" + const val FLOW_TOKEN = "0xFLOWTOKEN" + const val FLOW_FEES = "0xFLOWFEES" + const val FLOW_TABLE_STAKING = "0xFLOWTABLESTAKING" + const val LOCKED_TOKENS = "0xLOCKEDTOKENS" + const val STAKING_PROXY = "0xSTAKINGPROXY" + const val NON_FUNGIBLE_TOKEN = "0xNONFUNGIBLETOKEN" + const val NFT_STOREFRONT = "0xNFTSTOREFRONT" + const val TOKEN_FORWARDING = "0xTOKENFORWARDING" + } + + private val SCRIPT_TOKEN_MAP: MutableMap> = mutableMapOf() + + var defaultChainId = ChainId.Mainnet + + init { + registerDefaults() + } + + fun processScript(script: String, chainId: ChainId = defaultChainId, addresses: Map = mapOf()): String { + var ret = script + SCRIPT_TOKEN_MAP[chainId]?.forEach { + ret = ret.replace(it.key, it.value.formatted) + } + addresses.forEach { + ret = ret.replace(it.key, it.value.formatted) + } + return ret + } + + fun addressOf(contract: String, chainId: ChainId = defaultChainId): FlowAddress? = SCRIPT_TOKEN_MAP[chainId]?.get(contract) + + fun register(contract: String, address: FlowAddress, chainId: ChainId = defaultChainId): AddressRegistry { + SCRIPT_TOKEN_MAP[chainId]?.set(contract, address) + return this + } + + fun register(jsonString: String): AddressRegistry { + val model = Json.decodeFromString>>(jsonString) + model.forEach { chain -> + ChainId.fromString(chain.key)?.let { chainId -> + chain.value.forEach { + register(it.key, FlowAddress(it.value), chainId) + } + } + } + return this + } + fun deregister(contract: String, chainId: ChainId): AddressRegistry { + SCRIPT_TOKEN_MAP[chainId]?.remove(contract) + return this + } + + fun clear(): AddressRegistry { + SCRIPT_TOKEN_MAP.clear() + return this + } + + fun registerDefaults(): AddressRegistry { + mapOf( + ChainId.Emulator to mutableMapOf( + FUNGIBLE_TOKEN to FlowAddress("0xee82856bf20e2aa6"), + FLOW_TOKEN to FlowAddress("0x0ae53cb6e3f42a79"), + FLOW_FEES to FlowAddress("0xe5a8b7f23e8b548f") + ), + ChainId.Testnet to mutableMapOf( + FUNGIBLE_TOKEN to FlowAddress("0x9a0766d93b6608b7"), + FLOW_TOKEN to FlowAddress("0x7e60df042a9c0868"), + FLOW_FEES to FlowAddress("0x912d5440f7e3769e"), + FLOW_TABLE_STAKING to FlowAddress("0x9eca2b38b18b5dfe"), + LOCKED_TOKENS to FlowAddress("0x95e019a17d0e23d7"), + STAKING_PROXY to FlowAddress("0x7aad92e5a0715d21"), + NON_FUNGIBLE_TOKEN to FlowAddress("0x631e88ae7f1d7c20"), + NFT_STOREFRONT to FlowAddress("0x94b06cfca1d8a476") + ), + ChainId.Mainnet to mutableMapOf( + FUNGIBLE_TOKEN to FlowAddress("0xf233dcee88fe0abe"), + FLOW_TOKEN to FlowAddress("0x1654653399040a61"), + FLOW_FEES to FlowAddress("0xf919ee77447b7497"), + FLOW_TABLE_STAKING to FlowAddress("0x8624b52f9ddcd04a"), + LOCKED_TOKENS to FlowAddress("0x8d0e87b65159ae63"), + STAKING_PROXY to FlowAddress("0x62430cf28c26d095"), + NON_FUNGIBLE_TOKEN to FlowAddress("0x1d7e57aa55817448"), + NFT_STOREFRONT to FlowAddress("0x4eb8a10cb9f87357"), + TOKEN_FORWARDING to FlowAddress("0xe544175ee0461c4b") + ), + ).forEach { chain -> + chain.value.forEach { + register(it.key, it.value, chain.key) + } + } + return this + } +} diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/FlowApi.kt b/flow/src/commonMain/kotlin/org/onflow/flow/FlowApi.kt index 5aed12a..e2f3e74 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/FlowApi.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/FlowApi.kt @@ -19,7 +19,7 @@ import org.onflow.flow.models.TransactionResult class FlowApi(val chainId: ChainIdProvider) { - private val baseUrl = chainId.baseUrl.toString() + private val baseUrl = chainId.baseUrl private val accountsApi = AccountsApi(baseUrl) private val blocksApi = BlocksApi(baseUrl) private val collectionsApi = CollectionsApi(baseUrl) diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/ChainId.kt b/flow/src/commonMain/kotlin/org/onflow/flow/FlowChainId.kt similarity index 75% rename from flow/src/commonMain/kotlin/org/onflow/flow/ChainId.kt rename to flow/src/commonMain/kotlin/org/onflow/flow/FlowChainId.kt index d34c0a7..bbb37b2 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/ChainId.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/FlowChainId.kt @@ -21,11 +21,6 @@ sealed class ChainId: ChainIdProvider { override val description: String = "Flow Canary" } - object Sandboxnet: ChainId() { - override val baseUrl: String = "https://rest-sandboxnet.onflow.org/v1" - override val description: String = "Flow Sandboxnet" - } - object Emulator: ChainId() { override val baseUrl: String = "http://localhost:8888/v1" override val description: String = "Flow Emulator" @@ -35,4 +30,16 @@ sealed class ChainId: ChainIdProvider { override val baseUrl: String, override val description: String ): ChainId() + + companion object { + fun fromString(chainId: String): ChainId? { + return when (chainId) { + "mainnet" -> Mainnet + "testnet" -> Testnet + "canary" -> Canary + "emulator" -> Emulator + else -> null + } + } + } } \ No newline at end of file diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/ScriptDSL.kt b/flow/src/commonMain/kotlin/org/onflow/flow/ScriptDSL.kt new file mode 100644 index 0000000..751910a --- /dev/null +++ b/flow/src/commonMain/kotlin/org/onflow/flow/ScriptDSL.kt @@ -0,0 +1,66 @@ +package org.onflow.flow + +import kotlinx.coroutines.flow.Flow + +//fun flowScript(block: ScriptBuilder.() -> Unit): ScriptBuilder { +// val ret = ScriptBuilder() +// block(ret) +// return ret +//} + +//fun FlowAccessApi.simpleFlowScript(block: ScriptBuilder.() -> Unit): FlowScriptResponse { +// val api = this +// val builder = flowScript(block) +// return try { +// api.executeScriptAtLatestBlock( +// script = builder.script, +// arguments = builder.arguments.map { UnsafeByteOperations.unsafeWrap(Flow.encodeJsonCadence(it)) } +// ) +// } catch (t: Throwable) { +// throw FlowException("Error while running script", t) +// } +//} +// +//class ScriptBuilder { +// +// var addressRegistry: AddressRegistry = Flow.DEFAULT_ADDRESS_REGISTRY +// private var _chainId: ChainId = Flow.DEFAULT_CHAIN_ID +// private var _script: FlowScript? = null +// private var _arguments: MutableList> = mutableListOf() +// +// var script: FlowScript +// get() { return _script!! } +// set(value) { _script = value } +// +// fun script(script: FlowScript) { +// this.script = script +// } +// fun script(script: String, chainId: FlowChainId = _chainId, addresses: Map = mapOf()) = script( +// FlowScript( +// addressRegistry.processScript( +// script = script, +// chainId = chainId, +// addresses = addresses +// ) +// ) +// ) +// fun script(code: ByteArray, chainId: FlowChainId = _chainId, addresses: Map = mapOf()) = script(String(code), chainId, addresses) +// fun script(chainId: FlowChainId = _chainId, addresses: Map = mapOf(), code: () -> String) = this.script(code(), chainId, addresses) +// +// var arguments: MutableList> +// get() { return _arguments } +// set(value) { +// _arguments.clear() +// _arguments.addAll(value) +// } +// +// fun arguments(arguments: MutableList>) { +// this.arguments = arguments +// } +// fun arguments(arguments: JsonCadenceBuilder.() -> Iterable>) { +// val builder = JsonCadenceBuilder() +// this.arguments = arguments(builder).toMutableList() +// } +// fun arg(argument: Field<*>) = _arguments.add(argument) +// fun arg(argument: JsonCadenceBuilder.() -> Field<*>) = arg(argument(com.nftco.flow.sdk.cadence.JsonCadenceBuilder())) +//} diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/apis/ScriptsApi.kt b/flow/src/commonMain/kotlin/org/onflow/flow/apis/ScriptsApi.kt index 9fceb27..0a2f6a2 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/apis/ScriptsApi.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/apis/ScriptsApi.kt @@ -5,6 +5,7 @@ import io.ktor.client.request.parameter import io.ktor.client.request.post import io.ktor.client.request.setBody import io.ktor.client.statement.bodyAsText +import io.ktor.http.HttpStatusCode import io.ktor.util.decodeBase64String import io.ktor.util.encodeBase64 import io.ktor.utils.io.core.toByteArray @@ -40,9 +41,13 @@ internal class ScriptsApi(val baseUrl: String) : ApiBase() { } } setBody(scriptsPostRequest) - }.bodyAsText() + } + + if (response.status == HttpStatusCode.OK) { + return response.bodyAsText().replace("\"", "").decodeBase64String() + } - return response.replace("\"", "").decodeBase64String() + return response.bodyAsText() } internal suspend fun executeScript( diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/apis/TransactionsApi.kt b/flow/src/commonMain/kotlin/org/onflow/flow/apis/TransactionsApi.kt index b96ddf1..830cd3f 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/apis/TransactionsApi.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/apis/TransactionsApi.kt @@ -5,6 +5,9 @@ import io.ktor.client.request.headers import io.ktor.client.request.parameter import io.ktor.client.request.post import io.ktor.client.request.setBody +import io.ktor.client.statement.bodyAsText +import kotlinx.serialization.decodeFromString +import kotlinx.serialization.json.Json import org.onflow.flow.infrastructure.ApiBase import org.onflow.flow.infrastructure.toMultiValue import org.onflow.flow.models.Transaction @@ -41,13 +44,15 @@ internal class TransactionsApi(val baseUrl: String) : ApiBase() { expand?.apply { queryParams["expand"] = toMultiValue(this, "csv") } select?.apply { queryParams["select"] = toMultiValue(this, "csv") } - return client.get("$baseUrl/transactions/$id") { + val result = client.get("$baseUrl/transactions/$id") { queryParams.forEach { queryParam -> queryParam.value.forEach { value -> parameter(queryParam.key, value) } } - }.body() + } + + return result.body() } private suspend fun requestSendTransaction(transaction: Transaction): Transaction { @@ -74,5 +79,4 @@ internal class TransactionsApi(val baseUrl: String) : ApiBase() { internal suspend fun sendTransaction(request: Transaction): Transaction { return requestSendTransaction(request) } - } diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/ApiBase.kt b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/ApiBase.kt index aa5d4f8..4ee2369 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/ApiBase.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/ApiBase.kt @@ -28,6 +28,7 @@ open class ApiBase { prettyPrint = true isLenient = true ignoreUnknownKeys = true + explicitNulls = false }) } } diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Base64ByteArray.kt b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Base64ByteArray.kt index 31d1f3b..0406786 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Base64ByteArray.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Base64ByteArray.kt @@ -8,17 +8,6 @@ import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* class Base64ByteArray(val bytes: ByteArray) { - @OptIn(ExperimentalSerializationApi::class) - @Serializer(Base64ByteArray::class) - companion object : KSerializer { - override val descriptor = PrimitiveSerialDescriptor("Base64ByteArray", PrimitiveKind.STRING) - override fun serialize(encoder: Encoder, value: Base64ByteArray) { - encoder.encodeString(value.bytes.encodeBase64()) - } - override fun deserialize(decoder: Decoder): Base64ByteArray { - return Base64ByteArray(decoder.decodeString().decodeBase64Bytes()) - } - } override fun equals(other: Any?): Boolean { if (this === other) return true @@ -34,4 +23,15 @@ class Base64ByteArray(val bytes: ByteArray) { override fun toString(): String { return "Base64ByteArray(${hex(bytes)})" } +} + +object Base64ByteArraySerializer : KSerializer { + override val descriptor = PrimitiveSerialDescriptor("Base64ByteArray", PrimitiveKind.STRING) + + override fun serialize(encoder: Encoder, value: Base64ByteArray) { + encoder.encodeString(value.bytes.encodeBase64()) + } + override fun deserialize(decoder: Decoder): Base64ByteArray { + return Base64ByteArray(decoder.decodeString().decodeBase64Bytes()) + } } \ No newline at end of file diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Cadence.kt b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Cadence.kt index 8d99efd..152a86b 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Cadence.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Cadence.kt @@ -10,6 +10,42 @@ import kotlinx.serialization.modules.SerializersModule import kotlinx.serialization.modules.plus import kotlinx.serialization.modules.polymorphic import kotlinx.serialization.modules.subclass +import org.onflow.flow.infrastructure.Cadence.Type.Companion.jsonSerializer +import org.onflow.flow.infrastructure.Cadence.Value.AddressValue +import org.onflow.flow.infrastructure.Cadence.Value.ArrayValue +import org.onflow.flow.infrastructure.Cadence.Value.BooleanValue +import org.onflow.flow.infrastructure.Cadence.Value.CapabilityValue +import org.onflow.flow.infrastructure.Cadence.Value.ContractValue +import org.onflow.flow.infrastructure.Cadence.Value.DictionaryValue +import org.onflow.flow.infrastructure.Cadence.Value.EnumValue +import org.onflow.flow.infrastructure.Cadence.Value.EventValue +import org.onflow.flow.infrastructure.Cadence.Value.Fix64Value +import org.onflow.flow.infrastructure.Cadence.Value.Int128Value +import org.onflow.flow.infrastructure.Cadence.Value.Int16Value +import org.onflow.flow.infrastructure.Cadence.Value.Int256Value +import org.onflow.flow.infrastructure.Cadence.Value.Int32Value +import org.onflow.flow.infrastructure.Cadence.Value.Int64Value +import org.onflow.flow.infrastructure.Cadence.Value.Int8Value +import org.onflow.flow.infrastructure.Cadence.Value.IntValue +import org.onflow.flow.infrastructure.Cadence.Value.OptionalValue +import org.onflow.flow.infrastructure.Cadence.Value.PathValue +import org.onflow.flow.infrastructure.Cadence.Value.ResourceValue +import org.onflow.flow.infrastructure.Cadence.Value.StringValue +import org.onflow.flow.infrastructure.Cadence.Value.StructValue +import org.onflow.flow.infrastructure.Cadence.Value.TypeValue +import org.onflow.flow.infrastructure.Cadence.Value.UFix64Value +import org.onflow.flow.infrastructure.Cadence.Value.UInt128Value +import org.onflow.flow.infrastructure.Cadence.Value.UInt16Value +import org.onflow.flow.infrastructure.Cadence.Value.UInt256Value +import org.onflow.flow.infrastructure.Cadence.Value.UInt32Value +import org.onflow.flow.infrastructure.Cadence.Value.UInt64Value +import org.onflow.flow.infrastructure.Cadence.Value.UInt8Value +import org.onflow.flow.infrastructure.Cadence.Value.UIntValue +import org.onflow.flow.infrastructure.Cadence.Value.VoidValue +import org.onflow.flow.infrastructure.Cadence.Value.Word16Value +import org.onflow.flow.infrastructure.Cadence.Value.Word32Value +import org.onflow.flow.infrastructure.Cadence.Value.Word64Value +import org.onflow.flow.infrastructure.Cadence.Value.Word8Value class Cadence { @@ -57,26 +93,8 @@ class Cadence { fun findByKey(value: String, default: Type = Type.VOID): Type { return Type.values().find { it.value == value } ?: default } - } - } - - @Polymorphic - @Serializable - sealed class Value { - abstract val value: Any? - - override fun equals(other: Any?): Boolean { - if (this === other) return true - if (other !is Value) return false - return this.encodeBase64() == other.encodeBase64() - } - override fun hashCode(): Int { - return encodeBase64().hashCode() - } - - companion object { - private val serializersModule = SerializersModule { + private val valueSerializersModule = SerializersModule { polymorphic(Value::class) { subclass(VoidValue::class) subclass(BooleanValue::class) @@ -117,11 +135,29 @@ class Cadence { } val jsonSerializer = Json { - serializersModule = Value.serializersModule + humanReadableSerializerModule + serializersModule = valueSerializersModule + humanReadableSerializerModule ignoreUnknownKeys = true isLenient = true classDiscriminator = "type" } + } + } + + @Serializable + sealed class Value { + abstract val value: Any? + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other !is Value) return false + return this.encodeBase64() == other.encodeBase64() + } + + override fun hashCode(): Int { + return encodeBase64().hashCode() + } + + companion object { fun decodeFromJsonElement(jsonElement: JsonElement): Value { return jsonSerializer.decodeFromJsonElement(jsonElement) @@ -141,7 +177,7 @@ class Cadence { } fun encode(): String { - return Value.jsonSerializer.encodeToString(this) + return jsonSerializer.encodeToString(this) } fun encodeBase64(): String { @@ -169,7 +205,6 @@ class Cadence { // is CapabilityValue -> { value.let { toMap(it) } } // is PathValue -> { value.let { toMap(it) } } -// // // TODO: Handle type decode // is TypeValue -> { value.let { toMap(it) } } diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/CadenceDecode.kt b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/CadenceDecode.kt index c3bf6e6..351bd97 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/CadenceDecode.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/CadenceDecode.kt @@ -1,7 +1,7 @@ package org.onflow.flow.infrastructure import com.ionspin.kotlin.bignum.integer.BigInteger -import com.ionspin.kotlin.bignum.serialization.kotlinx.biginteger.BigIntegerHumanReadableSerializer +//import com.ionspin.kotlin.bignum.serialization.kotlinx.biginteger.BigIntegerHumanReadableSerializer import kotlinx.serialization.builtins.serializer import kotlinx.serialization.json.* import kotlin.time.Duration @@ -46,7 +46,7 @@ fun Any?.toJsonElement(): JsonElement = when (this) { is UByte -> Json.encodeToJsonElement(UByte.serializer(), this) is ULong -> Json.encodeToJsonElement(ULong.serializer(), this) is UShort -> Json.encodeToJsonElement(UShort.serializer(), this) - is BigInteger -> Json.encodeToJsonElement(BigIntegerHumanReadableSerializer, this) +// is BigInteger -> Json.encodeToJsonElement(BigIntegerHumanReadableSerializer, this) is Cadence.Path -> Json.encodeToJsonElement(Cadence.Path.serializer(), this) is Cadence.Capability -> Json.encodeToJsonElement(Cadence.Capability.serializer(), this) diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Serializer.kt b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Serializer.kt index 1dbfab9..be45e6d 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Serializer.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/Serializer.kt @@ -79,8 +79,6 @@ object DoubleCadenceSerializer : KSerializer { override fun deserialize(decoder: Decoder): Double = decoder.decodeString().toDouble() } -@kotlinx.serialization.ExperimentalSerializationApi -@Serializer(forClass = Cadence.Type::class) object CadenceTypeSerializer : KSerializer { override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("Cadence.Type", PrimitiveKind.STRING) diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/Account.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/Account.kt index 35fac46..cea80c1 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/Account.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/Account.kt @@ -2,6 +2,7 @@ package org.onflow.flow.models import kotlinx.serialization.* import org.onflow.flow.infrastructure.Base64ByteArray +import org.onflow.flow.infrastructure.Base64ByteArraySerializer /** * @@ -26,7 +27,8 @@ data class Account( @SerialName(value = "keys") val keys: Set? = null, - @SerialName(value = "contracts") val contracts: Map? = null, + @SerialName(value = "contracts") + val contracts: Map? = null, @SerialName(value = "_links") val links: Links? = null diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/Address.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/Address.kt new file mode 100644 index 0000000..a3bac3b --- /dev/null +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/Address.kt @@ -0,0 +1,27 @@ +package org.onflow.flow.models + +import kotlinx.serialization.* +import org.onflow.flow.infrastructure.Base64ByteArray + +@Serializable +data class FlowAddress private constructor(val bytes: ByteArray) { + companion object { + val FLOW_ADDRESS_SIZE_BYTES = 8 + fun of(bytes: ByteArray): FlowAddress = FlowAddress(fixedSize(bytes, FLOW_ADDRESS_SIZE_BYTES)) + } + constructor(hex: String) : this(fixedSize(hex.hexToBytes(), FLOW_ADDRESS_SIZE_BYTES)) + + override fun equals(other: Any?): Boolean { + if (this === other) return true +// if (!bytes.contentEquals(other.bytes)) return false + return true + } + + val base16Value: String get() = bytes.toHexString() + + val formatted: String = "0x$base16Value" + + override fun hashCode(): Int { + return bytes.contentHashCode() + } +} diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/AggregatedSignature.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/AggregatedSignature.kt index cd5ffa3..5a7d0e8 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/AggregatedSignature.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/AggregatedSignature.kt @@ -2,6 +2,7 @@ package org.onflow.flow.models import kotlinx.serialization.* import org.onflow.flow.infrastructure.Base64ByteArray +import org.onflow.flow.infrastructure.Base64ByteArraySerializer /** * @@ -12,7 +13,9 @@ import org.onflow.flow.infrastructure.Base64ByteArray @Serializable data class AggregatedSignature ( - @SerialName(value = "verifier_signatures") @Required val verifierSignatures: List, + @Required + @SerialName(value = "verifier_signatures") + val verifierSignatures: List< @Serializable(with = Base64ByteArraySerializer::class) Base64ByteArray>, @SerialName(value = "signer_ids") @Required val signerIds: List diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/BlockHeader.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/BlockHeader.kt index 615ef3f..7b65e27 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/BlockHeader.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/BlockHeader.kt @@ -2,6 +2,7 @@ package org.onflow.flow.models import kotlinx.serialization.* import org.onflow.flow.infrastructure.Base64ByteArray +import org.onflow.flow.infrastructure.Base64ByteArraySerializer /** * @@ -26,7 +27,10 @@ data class BlockHeader ( @SerialName(value = "timestamp") @Required val timestamp: kotlin.String, /* A variable length signature. */ - @SerialName(value = "parent_voter_signature") @Required val parentVoterSignature: Base64ByteArray + @SerialName(value = "parent_voter_signature") + @Serializable(with = Base64ByteArraySerializer::class) + @Required + val parentVoterSignature: Base64ByteArray ) diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/Chunk.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/Chunk.kt index ea7a189..c2458a4 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/Chunk.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/Chunk.kt @@ -2,6 +2,7 @@ package org.onflow.flow.models import org.onflow.flow.infrastructure.Base64ByteArray import kotlinx.serialization.* +import org.onflow.flow.infrastructure.Base64ByteArraySerializer /** * @@ -23,11 +24,20 @@ data class Chunk ( @SerialName(value = "collection_index") @Required val collectionIndex: kotlin.String, - @SerialName(value = "start_state") @Required val startState: Base64ByteArray, + @Required + @SerialName(value = "start_state") + @Serializable(with = Base64ByteArraySerializer::class) + val startState: Base64ByteArray, - @SerialName(value = "end_state") @Required val endState: Base64ByteArray, + @Required + @SerialName(value = "end_state") + @Serializable(with = Base64ByteArraySerializer::class) + val endState: Base64ByteArray, - @SerialName(value = "event_collection") @Required val eventCollection: Base64ByteArray, + @Required + @SerialName(value = "event_collection") + @Serializable(with = Base64ByteArraySerializer::class) + val eventCollection: Base64ByteArray, @SerialName(value = "index") @Required val index: kotlin.String, diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/CollectionGuarantee.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/CollectionGuarantee.kt index 1791213..098a465 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/CollectionGuarantee.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/CollectionGuarantee.kt @@ -3,6 +3,7 @@ package org.onflow.flow.models import kotlinx.serialization.* import org.onflow.flow.infrastructure.Base64ByteArray +import org.onflow.flow.infrastructure.Base64ByteArraySerializer /** * @@ -20,7 +21,10 @@ data class CollectionGuarantee ( @SerialName(value = "signer_ids") val signerIds: List? = null, /* A variable length signature. */ - @SerialName(value = "signature") @Required val signature: Base64ByteArray + @Required + @SerialName(value = "signature") + @Serializable(with = Base64ByteArraySerializer::class) + val signature: Base64ByteArray ) diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/DomainTag.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/DomainTag.kt index 0076b5b..112007a 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/DomainTag.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/DomainTag.kt @@ -9,11 +9,17 @@ sealed class DomainTag { open val bytes: ByteArray get() = tag.toByteArray().paddingZeroRight(32) - data class Transaction(override val tag: String = "FLOW-V0.0-transaction") : DomainTag() + object Transaction : DomainTag() { + override val tag: String = "FLOW-V0.0-transaction" + } - data class User(override val tag: String = "FLOW-V0.0-user") : DomainTag() + object User: DomainTag() { + override val tag: String = "FLOW-V0.0-user" + } - data class AccountProof(override val tag: String = "FCL-ACCOUNT-PROOF-V0.0") : DomainTag() + object AccountProof: DomainTag() { + override val tag: String = "FLOW-V0.0-account-proof" + } data class Custom(override val tag: String): DomainTag() } \ No newline at end of file diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/Extension.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/Extension.kt new file mode 100644 index 0000000..420592a --- /dev/null +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/Extension.kt @@ -0,0 +1,21 @@ +package org.onflow.flow.models + +@OptIn(ExperimentalUnsignedTypes::class) +fun ByteArray.bytesToHex(): String = asUByteArray().joinToString("") { it.toString(16).padStart(2, '0') } + +fun String.hexToBytes(): ByteArray = chunked(2).map { it.toInt(16).toByte() }.toByteArray() + +//fun ByteArray.sha3256Hash(): ByteArray = MessageDigest.getInstance("SHA3-256", "BC").digest(this) +// +//fun ByteArray.sha2256Hash(): ByteArray = MessageDigest.getInstance("SHA2-256", "BC").digest(this) + +fun fixedSize(bytes: ByteArray, size: Int): ByteArray { + if (bytes.size > size) { + throw IllegalArgumentException("must have no more than $size bytes long") + } + return if (bytes.size < size) { + ByteArray(size - bytes.size) + bytes + } else { + bytes + } +} \ No newline at end of file diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/ScriptsPostResponse.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/ScriptsPostResponse.kt index ab8d07b..90e48f7 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/ScriptsPostResponse.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/ScriptsPostResponse.kt @@ -3,6 +3,7 @@ package org.onflow.flow.models import kotlinx.serialization.* import org.onflow.flow.infrastructure.Base64ByteArray +import org.onflow.flow.infrastructure.Base64ByteArraySerializer /** * @@ -11,6 +12,7 @@ import org.onflow.flow.infrastructure.Base64ByteArray */ @Serializable data class ScriptsPostResponse ( + @Serializable(with = Base64ByteArraySerializer::class) val value: Base64ByteArray? = null ) diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/Serializers.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/Serializers.kt new file mode 100644 index 0000000..a732900 --- /dev/null +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/Serializers.kt @@ -0,0 +1,54 @@ +package org.onflow.flow.models + +import io.ktor.util.* +import io.ktor.utils.io.core.* +import kotlinx.serialization.KSerializer +import kotlinx.serialization.builtins.ListSerializer +import kotlinx.serialization.descriptors.PrimitiveKind +import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder +import org.onflow.flow.infrastructure.Cadence +import org.onflow.flow.infrastructure.addHexPrefix +import org.onflow.flow.infrastructure.removeHexPrefix + +object Base64UFT8Serializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("base64ToUTF8", PrimitiveKind.STRING) + override fun serialize(encoder: Encoder, value: String) = encoder.encodeString(value.toByteArray().encodeBase64()) + override fun deserialize(decoder: Decoder): String = decoder.decodeString().decodeBase64Bytes().decodeToString() +} + +object StringIntSerializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("StringInt", PrimitiveKind.STRING) + override fun serialize(encoder: Encoder, value: Int) = encoder.encodeInt(value) + override fun deserialize(decoder: Decoder): Int = decoder.decodeString().toInt() +} + +object Base64HexSerializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("base64ToUTF8", PrimitiveKind.STRING) + override fun serialize(encoder: Encoder, value: String) = encoder.encodeString(hex(value.removeHexPrefix()).encodeBase64()) + override fun deserialize(decoder: Decoder): String = hex(decoder.decodeString().decodeBase64Bytes()).addHexPrefix() +} + +object CadenceBase64Serializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("CadenceBase64", PrimitiveKind.STRING) + override fun serialize(encoder: Encoder, value: Cadence.Value) = encoder.encodeString(value.encodeBase64()) + override fun deserialize(decoder: Decoder): Cadence.Value = Cadence.Value.decodeFromBase64(decoder.decodeString()) +} + +class CadenceBase64ListSerializer : KSerializer> { + private val elementSerializer = ListSerializer(CadenceBase64Serializer) + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("CadenceBase64List", PrimitiveKind.STRING) + + override fun deserialize(decoder: Decoder): List { + return decoder.decodeSerializableValue(elementSerializer) + } + + override fun serialize(encoder: Encoder, value: List) { + encoder.encodeSerializableValue(elementSerializer, value) + } +} + +fun ByteArray.toHexString() = hex(this) +fun ByteArray.toBase64() = encodeBase64() \ No newline at end of file diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/Signer.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/Signer.kt new file mode 100644 index 0000000..0bb95b8 --- /dev/null +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/Signer.kt @@ -0,0 +1,16 @@ +package org.onflow.flow.models + +interface Signer { + var address: String + var keyIndex: Int + suspend fun sign(transaction: Transaction, bytes: ByteArray): ByteArray + suspend fun sign(bytes: ByteArray): ByteArray + suspend fun signWithDomain(bytes: ByteArray, domain: ByteArray): ByteArray = sign(domain + bytes) + suspend fun signAsUser(bytes: ByteArray): ByteArray = signWithDomain(bytes, DomainTag.User.bytes) + suspend fun signAsTransaction(bytes: ByteArray): ByteArray = signWithDomain(bytes, DomainTag.Transaction.bytes) +} + +interface Hasher { + fun hash(bytes: ByteArray): ByteArray + fun hashAsHexString(bytes: ByteArray): String = hash(bytes).toHexString() +} \ No newline at end of file diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/Transaction.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/Transaction.kt index e6b3b8d..310f6f8 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/Transaction.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/Transaction.kt @@ -2,19 +2,11 @@ package org.onflow.flow.models import org.onflow.flow.infrastructure.BigIntegerCadenceSerializer import org.onflow.flow.infrastructure.Cadence -import org.onflow.flow.infrastructure.addHexPrefix -import org.onflow.flow.infrastructure.removeHexPrefix import org.onflow.flow.rlp.* import com.ionspin.kotlin.bignum.integer.BigInteger import io.ktor.util.* import io.ktor.utils.io.core.* import kotlinx.serialization.* -import kotlinx.serialization.builtins.ListSerializer -import kotlinx.serialization.descriptors.PrimitiveKind -import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor -import kotlinx.serialization.descriptors.SerialDescriptor -import kotlinx.serialization.encoding.Decoder -import kotlinx.serialization.encoding.Encoder /** * @@ -37,31 +29,49 @@ import kotlinx.serialization.encoding.Encoder data class Transaction ( /* A 32-byte unique identifier for an entity. */ - @SerialName(value = "id") @Required val id: String? = null, + @SerialName(value = "id") + @Required + val id: String? = null, /* Base64 encoded Cadence script. */ + @SerialName(value = "script") @Serializable(Base64UFT8Serializer::class) - @SerialName(value = "script") @Required val script: String, + @Required + val script: String, /* Array of Base64 encoded arguments with in [JSON-Cadence interchange format](https://docs.onflow.org/cadence/json-cadence-spec/). */ + @SerialName(value = "arguments") @Serializable(CadenceBase64ListSerializer::class) - @SerialName(value = "arguments") @Required val arguments: List, + @Required + val arguments: List, /* A 32-byte unique identifier for an entity. */ - @SerialName(value = "reference_block_id") @Required val referenceBlockId: String, + @SerialName(value = "reference_block_id") + @Required + val referenceBlockId: String, /* The limit on the amount of computation a transaction is allowed to preform. */ @Serializable(BigIntegerCadenceSerializer::class) - @SerialName(value = "gas_limit") @Required val gasLimit: BigInteger, + @SerialName(value = "gas_limit") + @Required + val gasLimit: BigInteger, /* The 8-byte address of an account. */ - @SerialName(value = "payer") @Required val payer: String, + @SerialName(value = "payer") + @Required + val payer: String, - @SerialName(value = "proposal_key") @Required val proposalKey: ProposalKey, + @SerialName(value = "proposal_key") + @Required + val proposalKey: ProposalKey, - @SerialName(value = "authorizers") @Required val authorizers: List, + @SerialName(value = "authorizers") + @Required + val authorizers: List, - @SerialName(value = "payload_signatures") @Required val payloadSignatures: List = emptyList(), + @SerialName(value = "payload_signatures") + @Required + val payloadSignatures: List = emptyList(), @SerialName(value = "envelope_signatures") @Required val envelopeSignatures: List = emptyList(), @@ -79,6 +89,80 @@ data class Transaction ( item to index } .toMap() + + private fun findSigners(address: String, signers: List): List { + return signers.filter { signer -> + signer.address == address + } + } + + suspend fun signPayload(signers: List): Transaction { + val payloadMessage = payloadMessage() + val payloadSignatures = mutableListOf() + + // Sign with the proposal key first. + // If proposer is same as payer, we skip this step + if (proposalKey.address != payer) { + val signerList = findSigners(proposalKey.address, signers) + for (signUser in signerList) { + val signature = signUser.sign(payloadMessage) + val txSignature = TransactionSignature( + address = signUser.address, + keyIndex = signUser.keyIndex, + signature = signature.toHexString(), + signerIndex = this.signers[signUser.address] ?: -1 + ) + payloadSignatures.add(txSignature) + } + } + + // Sign the transaction with each authorizer + for (authorizer in authorizers) { + if (proposalKey.address == authorizer || payer == authorizer) { + continue + } + + val signerList = findSigners(authorizer, signers) + for (signUser in signerList) { + val signature = signUser.sign(payloadMessage) + val txSignature = TransactionSignature( + address = signUser.address, + keyIndex = signUser.keyIndex, + signature = signature.toHexString(), + signerIndex = this.signers[signUser.address] ?: -1 + ) + payloadSignatures.add(txSignature) + } + } + + payloadSignatures.sortWith(CompareTransactionSignature) + return copy(payloadSignatures = payloadSignatures) + } + + suspend fun signEnvelope(signers: List): Transaction { + val envelopeMessage = envelopeMessage() + val envelopeSignatures = mutableListOf() + + // Sign the transaction with payer + val signerList = findSigners(payer, signers) + for (signUser in signerList) { + val signature = signUser.sign(envelopeMessage) + val txSignature = TransactionSignature( + address = signUser.address, + keyIndex = signUser.keyIndex, + signature = signature.toHexString(), + signerIndex = this.signers[signUser.address] ?: -1 + ) + envelopeSignatures.add(txSignature) + } + + envelopeSignatures.sortWith(CompareTransactionSignature) + return copy(envelopeSignatures = envelopeSignatures) + } + + suspend fun sign(signers: List): Transaction { + return signPayload(signers).signEnvelope(signers) + } } fun Transaction.payload(): List = listOf( @@ -96,7 +180,7 @@ fun Transaction.payload(): List = listOf( fun Transaction.toRLP(): RLPElement = payload().toRLP() fun Transaction.payloadMessage(): ByteArray = - DomainTag.Transaction().bytes + + DomainTag.Transaction.bytes + (RLPList( listOf( RLPList(payload()), @@ -108,35 +192,20 @@ fun Transaction.payloadMessage(): ByteArray = ) )).encode() -object Base64UFT8Serializer : KSerializer { - override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("base64ToUTF8", PrimitiveKind.STRING) - override fun serialize(encoder: Encoder, value: String) = encoder.encodeString(value.toByteArray().encodeBase64()) - override fun deserialize(decoder: Decoder): String = decoder.decodeString().decodeBase64Bytes().decodeToString() -} - -object Base64HexSerializer : KSerializer { - override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("base64ToUTF8", PrimitiveKind.STRING) - override fun serialize(encoder: Encoder, value: String) = encoder.encodeString(hex(value.removeHexPrefix()).encodeBase64()) - override fun deserialize(decoder: Decoder): String = hex(decoder.decodeString().decodeBase64Bytes()).addHexPrefix() -} - -object CadenceBase64Serializer : KSerializer { - override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("CadenceBase64", PrimitiveKind.STRING) - override fun serialize(encoder: Encoder, value: Cadence.Value) = encoder.encodeString(value.encodeBase64()) - override fun deserialize(decoder: Decoder): Cadence.Value = Cadence.Value.decodeFromBase64(decoder.decodeString()) -} - -class CadenceBase64ListSerializer : KSerializer> { - private val elementSerializer = ListSerializer(CadenceBase64Serializer) - override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("CadenceBase64List", PrimitiveKind.STRING) - - override fun deserialize(decoder: Decoder): List { - return decoder.decodeSerializableValue(elementSerializer) - } - - override fun serialize(encoder: Encoder, value: List) { - encoder.encodeSerializableValue(elementSerializer, value) - } -} - - +fun Transaction.envelopeMessage(): ByteArray = + DomainTag.Transaction.bytes + + (RLPList( + listOf( + RLPList(payload()), + RLPList( + payloadSignatures.map { + listOf((signers[it.address] ?: -1).toRLP(), it.keyIndex.toRLP(), hex(it.signature).toRLP()).toRLP() + } + ), + RLPList( + envelopeSignatures.map { + listOf((signers[it.address] ?: -1).toRLP(), it.keyIndex.toRLP(), hex(it.signature).toRLP()).toRLP() + } + ) + ) + )).encode() diff --git a/flow/src/commonMain/kotlin/org/onflow/flow/models/TransactionSignature.kt b/flow/src/commonMain/kotlin/org/onflow/flow/models/TransactionSignature.kt index bc183c0..1b607d9 100644 --- a/flow/src/commonMain/kotlin/org/onflow/flow/models/TransactionSignature.kt +++ b/flow/src/commonMain/kotlin/org/onflow/flow/models/TransactionSignature.kt @@ -16,11 +16,21 @@ data class TransactionSignature ( /* The 8-byte address of an account. */ @SerialName(value = "address") @Required val address: String, - @SerialName(value = "key_index") @Required val keyIndex: String, + @Serializable(StringIntSerializer::class) + @SerialName(value = "key_index") @Required val keyIndex: Int, /* A variable length signature. */ @Serializable(Base64HexSerializer::class) - @SerialName(value = "signature") @Required val signature: String + @SerialName(value = "signature") @Required val signature: String, + var signerIndex: Int = -1 ) +class CompareTransactionSignature { + companion object : Comparator { + override fun compare(a: TransactionSignature, b: TransactionSignature): Int = when { + a.keyIndex == b.keyIndex -> a.signerIndex - b.signerIndex + else -> a.keyIndex - b.keyIndex + } + } +} diff --git a/flow/src/commonTest/kotlin/org/onflow/flow/FlowApiTests.kt b/flow/src/commonTest/kotlin/org/onflow/flow/FlowApiTests.kt index d40268d..5cbebaa 100644 --- a/flow/src/commonTest/kotlin/org/onflow/flow/FlowApiTests.kt +++ b/flow/src/commonTest/kotlin/org/onflow/flow/FlowApiTests.kt @@ -1,13 +1,9 @@ package org.onflow.flow -import org.onflow.flow.cadence.TestStruct import kotlinx.coroutines.runBlocking import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import org.onflow.flow.infrastructure.Cadence -import org.onflow.flow.infrastructure.toJsonElement -import kotlinx.serialization.Serializable -import kotlin.test.Ignore import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertTrue @@ -18,7 +14,6 @@ class FlowApiTests { private val format = Json { prettyPrint = true } @Test - @Ignore fun testGetAccount() { runBlocking { val account = api.getAccount("0x328649a25184b171") @@ -29,7 +24,6 @@ class FlowApiTests { } @Test - @Ignore fun testGetBlock() { runBlocking { val block = api.getBlock() @@ -39,15 +33,15 @@ class FlowApiTests { } @Test - @Ignore fun testRunScript() { runBlocking { + val a = Cadence.string("Ryan") val response = api.executeScript(""" - pub fun main(name: String): String { + access(all) fun main(name: String): String { let greeting = "Hello, " return greeting.concat(name) } - """.trimIndent(), listOf(Cadence.string("Ryan"))) + """.trimIndent(), listOf(a)) println(format.encodeToString(response)) val result = response.decode() assertTrue(result == "Hello, Ryan") diff --git a/flow/src/commonTest/kotlin/org/onflow/flow/FlowMainnetApiTests.kt b/flow/src/commonTest/kotlin/org/onflow/flow/FlowMainnetApiTests.kt index 37dfff2..ead7a56 100644 --- a/flow/src/commonTest/kotlin/org/onflow/flow/FlowMainnetApiTests.kt +++ b/flow/src/commonTest/kotlin/org/onflow/flow/FlowMainnetApiTests.kt @@ -14,18 +14,15 @@ class FlowMainnetApiTests { val api = FlowApi(ChainId.Mainnet) @Test - @Ignore fun testGetTransactionID() { runBlocking { - val tx = api.getTransaction("663869d910278d7b6caf793396f6f2c5b91aace7180c2c70cfb3b0b6efd7a049") - assertEquals(1, tx.arguments.count()) - assertEquals(291975851UL, tx.arguments.first().decode()) - assertTrue( tx.payloadSignatures.first().signature.startsWith("0xfe25c43444") ) + val tx = api.getTransaction("e5b5fe5457e7d3594d9cf581cee74af1a589fbc37b70952b2223d714894d2849") + assertEquals(4, tx.arguments.count()) + assertEquals("0x779ffd206566b382", tx.arguments.last().decode()) } } @Test - @Ignore fun testGetEvents() { runBlocking { val result = api.getTransactionResult("663869d910278d7b6caf793396f6f2c5b91aace7180c2c70cfb3b0b6efd7a049") @@ -36,15 +33,14 @@ class FlowMainnetApiTests { } @Test - @Ignore fun decodeStruct() { runBlocking { val result = api.executeScript( """ - pub struct StorageInfo { - pub let capacity: Int - pub let used: Int - pub let available: Int + access(all) struct StorageInfo { + access(all) let capacity: Int + access(all) let used: Int + access(all) let available: Int init(capacity: Int, used: Int, available: Int) { self.capacity = capacity @@ -53,7 +49,7 @@ class FlowMainnetApiTests { } } - pub fun main(addr: Address): [StorageInfo] { + access(all) fun main(addr: Address): [StorageInfo] { let acct = getAccount(addr) return [StorageInfo(capacity: 1, used: 2, diff --git a/flow/src/commonTest/kotlin/org/onflow/flow/FlowTransactionTests.kt b/flow/src/commonTest/kotlin/org/onflow/flow/FlowTransactionTests.kt new file mode 100644 index 0000000..10f6f65 --- /dev/null +++ b/flow/src/commonTest/kotlin/org/onflow/flow/FlowTransactionTests.kt @@ -0,0 +1,46 @@ +package org.onflow.flow + +import kotlinx.coroutines.runBlocking +import org.onflow.flow.models.Signer +import org.onflow.flow.models.Transaction +import kotlin.test.Test + +class FlowTransactionTests { + + private val api = FlowApi(ChainId.Testnet) + + @Test + fun testSignTestnet() { + runBlocking { + val account = api.getAccount("0x328649a25184b171") + val key = account.keys!!.first() + val signer = object : Signer { + override var address: String = account.address + override var keyIndex: Int = key.index.toInt() + override suspend fun sign(transaction: Transaction, bytes: ByteArray): ByteArray { + return key.sign(bytes) + } + override suspend fun sign(bytes: ByteArray): ByteArray { + return key.sign(bytes) + } + } + val tx = Transaction( + script = """ + access(all) transaction { + prepare(signer: AuthAccount) { + log(signer.address) + } + } + """.trimIndent(), + arguments = emptyList(), + referenceBlockId = null, + payerAddress = account.address, + authorizers = listOf(account.address), + payloadSignatures = emptyList() + ) + val signedTx = tx.sign(signer) + val result = api.sendTransaction(signedTx) + println(result) + } + } +} \ No newline at end of file diff --git a/flow/src/commonTest/kotlin/org/onflow/flow/cadence/CadenceTests.kt b/flow/src/commonTest/kotlin/org/onflow/flow/cadence/CadenceTests.kt index a490c34..cc6873e 100644 --- a/flow/src/commonTest/kotlin/org/onflow/flow/cadence/CadenceTests.kt +++ b/flow/src/commonTest/kotlin/org/onflow/flow/cadence/CadenceTests.kt @@ -25,174 +25,174 @@ data class TestStruct( class CadenceTests { - @Test - fun testVoid() { - val rawValue: Unit? = null - val field = Cadence.void() - val jsonString = "{\"type\":\"Void\"}" - genericCadenceTest(field, null, jsonString, rawValue) - } - - @Test - fun testOptional() { - var rawValue: String? = "bar" - var field = Cadence.optional(Cadence.string("bar")) - var jsonString = "{\"type\":\"Optional\",\"value\":{\"type\":\"String\",\"value\":\"bar\"}}" - genericCadenceTest(field, Cadence.string("bar"), jsonString, rawValue) - - rawValue = null - field = Cadence.optional(null) - jsonString = "{\"type\":\"Optional\",\"value\":null}" - genericCadenceTest(field, null, jsonString, rawValue) - } - - @Test - fun testString() { - val value = "foo" - val field = Cadence.string(value) - val jsonString = "{\"type\":\"String\",\"value\":\"$value\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testAddress() { - val value = "0x84221fe0294044d7" - val field = Cadence.address(value) - val jsonString = "{\"type\":\"Address\",\"value\":\"$value\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testInt() { - val value = 123 - val field = Cadence.int(value) - val jsonString = "{\"type\":\"Int\",\"value\":\"$value\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testUInt() { - val value: UInt = 8u - val field = Cadence.uint(value) - val jsonString = "{\"type\":\"UInt\",\"value\":\"$value\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testWord8() { - val value: UByte = 8u - val field = Cadence.word8(value) - val jsonString = "{\"type\":\"Word8\",\"value\":\"$value\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testUInt128() { - val value: BigInteger = "8507059173023461585662027982108".toBigInteger() - val field = Cadence.uint128(value) - val jsonString = "{\"type\":\"UInt128\",\"value\":\"$value\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testInt256() { - val value: BigInteger = "-85070591730234615856620279821087277056".toBigInteger() - val field = Cadence.int256(value) - val jsonString = "{\"type\":\"Int256\",\"value\":\"$value\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testBoolean() { - val rawValue = true - val field = Cadence.bool(rawValue) - val jsonString = "{\"type\":\"Bool\",\"value\":true}" - genericCadenceTest(field, true, jsonString, rawValue) - } - - @Test - fun testFix64() { - val value = 23.098842 - val field = Cadence.fix64(value) - val jsonString = "{\"type\":\"Fix64\",\"value\":\"23.09884200\"}" - genericCadenceTest(field, value, jsonString, value) - } - - @Test - fun testArray() { - val rawValue = listOf("bar", "foo") - val cadenceInt = Cadence.string("bar") - val cadenceOptional = Cadence.optional(Cadence.string("foo")) - val cadenceList = listOf(cadenceInt, cadenceOptional) - val field = Cadence.array(cadenceList) - val jsonString = "{\"type\":\"Array\",\"value\":[{\"type\":\"String\",\"value\":\"bar\"},{\"type\":\"Optional\",\"value\":{\"type\":\"String\",\"value\":\"foo\"}}]}" - genericCadenceTest>(field, cadenceList, jsonString, rawValue) - } - - @Test - fun testStruct() { - val value = listOf(TestStruct(1,2,3)) - val cadenceStruct = Cadence.struct( - Cadence.CompositeValue( - id = "s.ae201908260897d0362313d810b2e5dc5aa7d48af253e068b716a0ce7ac0212e.StorageInfo", - listOf( - Cadence.CompositeAttribute("capacity", Cadence.int(1)), - Cadence.CompositeAttribute("used", Cadence.int(2)), - Cadence.CompositeAttribute("available", Cadence.int(3)) - ) - ) - ) - val cadenceList = listOf(cadenceStruct) - val field = Cadence.array(cadenceList) - val jsonString = "{\"type\":\"Array\",\"value\":[{\"type\":\"Struct\",\"value\":{\"id\":\"s.ae201908260897d0362313d810b2e5dc5aa7d48af253e068b716a0ce7ac0212e.StorageInfo\",\"fields\":[{\"name\":\"capacity\",\"value\":{\"type\":\"Int\",\"value\":\"1\"}},{\"name\":\"used\",\"value\":{\"type\":\"Int\",\"value\":\"2\"}},{\"name\":\"available\",\"value\":{\"type\":\"Int\",\"value\":\"3\"}}]}}]}" - - genericCadenceTest>(field, cadenceList, jsonString, value) - } - - @Test - fun testDictionary() { - val rawValue = mapOf( - 42 to "foo" - ) - val cadenceInt = Cadence.int(42) - val cadenceOptional = Cadence.optional(Cadence.string("foo")) - val dict = listOf(Cadence.DictionaryFieldEntry(cadenceInt to cadenceOptional)) - val field = Cadence.dictionary(dict) - val jsonString = "{\"type\":\"Dictionary\",\"value\":[{\"key\":{\"type\":\"Int\",\"value\":\"42\"},\"value\":{\"type\":\"Optional\",\"value\":{\"type\":\"String\",\"value\":\"foo\"}}}]}" - genericCadenceTest(field, dict, jsonString, rawValue) - } - - @Test - fun testComposite() { - @Serializable - data class TestContract( - val foo: Int - ) - val rawValue = TestContract(42) - val id = "some.id" - val cadenceInt = Cadence.int(42) - val compositeValue = Cadence.CompositeAttribute("foo", cadenceInt) - val cadenceCompositeValue = Cadence.CompositeValue(id, listOf( compositeValue)) - val field = Cadence.contractValue(cadenceCompositeValue) - val jsonString = "{\"type\":\"Contract\",\"value\":{\"id\":\"some.id\",\"fields\":[{\"name\":\"foo\",\"value\":{\"type\":\"Int\",\"value\":\"42\"}}]}}" - genericCadenceTest(field, cadenceCompositeValue, jsonString, rawValue) - } - - @Test - fun testPath() { - val cadenceValue = Cadence.Path(Cadence.PathDomain.STORAGE, "someIdentifier") - val field = Cadence.path(Cadence.PathDomain.STORAGE, "someIdentifier") - val jsonString = "{\"type\":\"Path\",\"value\":{\"domain\":\"storage\",\"identifier\":\"someIdentifier\"}}" - genericCadenceTest(field, cadenceValue, jsonString, cadenceValue) - } - - @Test - fun testCapability() { - val cadenceValue = Cadence.Capability("/public/someInteger", "0x1", Cadence.Type.INT) - val field = Cadence.capability(cadenceValue) - val jsonString = "{\"type\":\"Capability\",\"value\":{\"path\":\"/public/someInteger\",\"address\":\"0x1\",\"borrowType\":\"Int\"}}" - genericCadenceTest(field, cadenceValue, jsonString, cadenceValue) - } +// @Test +// fun testVoid() { +// val rawValue: Unit? = null +// val field = Cadence.void() +// val jsonString = "{\"type\":\"Void\"}" +// genericCadenceTest(field, null, jsonString, rawValue) +// } +// +// @Test +// fun testOptional() { +// var rawValue: String? = "bar" +// var field = Cadence.optional(Cadence.string("bar")) +// var jsonString = "{\"type\":\"Optional\",\"value\":{\"type\":\"String\",\"value\":\"bar\"}}" +// genericCadenceTest(field, Cadence.string("bar"), jsonString, rawValue) +// +// rawValue = null +// field = Cadence.optional(null) +// jsonString = "{\"type\":\"Optional\",\"value\":null}" +// genericCadenceTest(field, null, jsonString, rawValue) +// } +// +// @Test +// fun testString() { +// val value = "foo" +// val field = Cadence.string(value) +// val jsonString = "{\"type\":\"String\",\"value\":\"$value\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testAddress() { +// val value = "0x84221fe0294044d7" +// val field = Cadence.address(value) +// val jsonString = "{\"type\":\"Address\",\"value\":\"$value\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testInt() { +// val value = 123 +// val field = Cadence.int(value) +// val jsonString = "{\"type\":\"Int\",\"value\":\"$value\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testUInt() { +// val value: UInt = 8u +// val field = Cadence.uint(value) +// val jsonString = "{\"type\":\"UInt\",\"value\":\"$value\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testWord8() { +// val value: UByte = 8u +// val field = Cadence.word8(value) +// val jsonString = "{\"type\":\"Word8\",\"value\":\"$value\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testUInt128() { +// val value: BigInteger = "8507059173023461585662027982108".toBigInteger() +// val field = Cadence.uint128(value) +// val jsonString = "{\"type\":\"UInt128\",\"value\":\"$value\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testInt256() { +// val value: BigInteger = "-85070591730234615856620279821087277056".toBigInteger() +// val field = Cadence.int256(value) +// val jsonString = "{\"type\":\"Int256\",\"value\":\"$value\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testBoolean() { +// val rawValue = true +// val field = Cadence.bool(rawValue) +// val jsonString = "{\"type\":\"Bool\",\"value\":true}" +// genericCadenceTest(field, true, jsonString, rawValue) +// } +// +// @Test +// fun testFix64() { +// val value = 23.098842 +// val field = Cadence.fix64(value) +// val jsonString = "{\"type\":\"Fix64\",\"value\":\"23.09884200\"}" +// genericCadenceTest(field, value, jsonString, value) +// } +// +// @Test +// fun testArray() { +// val rawValue = listOf("bar", "foo") +// val cadenceInt = Cadence.string("bar") +// val cadenceOptional = Cadence.optional(Cadence.string("foo")) +// val cadenceList = listOf(cadenceInt, cadenceOptional) +// val field = Cadence.array(cadenceList) +// val jsonString = "{\"type\":\"Array\",\"value\":[{\"type\":\"String\",\"value\":\"bar\"},{\"type\":\"Optional\",\"value\":{\"type\":\"String\",\"value\":\"foo\"}}]}" +// genericCadenceTest>(field, cadenceList, jsonString, rawValue) +// } +// +// @Test +// fun testStruct() { +// val value = listOf(TestStruct(1,2,3)) +// val cadenceStruct = Cadence.struct( +// Cadence.CompositeValue( +// id = "s.ae201908260897d0362313d810b2e5dc5aa7d48af253e068b716a0ce7ac0212e.StorageInfo", +// listOf( +// Cadence.CompositeAttribute("capacity", Cadence.int(1)), +// Cadence.CompositeAttribute("used", Cadence.int(2)), +// Cadence.CompositeAttribute("available", Cadence.int(3)) +// ) +// ) +// ) +// val cadenceList = listOf(cadenceStruct) +// val field = Cadence.array(cadenceList) +// val jsonString = "{\"type\":\"Array\",\"value\":[{\"type\":\"Struct\",\"value\":{\"id\":\"s.ae201908260897d0362313d810b2e5dc5aa7d48af253e068b716a0ce7ac0212e.StorageInfo\",\"fields\":[{\"name\":\"capacity\",\"value\":{\"type\":\"Int\",\"value\":\"1\"}},{\"name\":\"used\",\"value\":{\"type\":\"Int\",\"value\":\"2\"}},{\"name\":\"available\",\"value\":{\"type\":\"Int\",\"value\":\"3\"}}]}}]}" +// +// genericCadenceTest>(field, cadenceList, jsonString, value) +// } +// +// @Test +// fun testDictionary() { +// val rawValue = mapOf( +// 42 to "foo" +// ) +// val cadenceInt = Cadence.int(42) +// val cadenceOptional = Cadence.optional(Cadence.string("foo")) +// val dict = listOf(Cadence.DictionaryFieldEntry(cadenceInt to cadenceOptional)) +// val field = Cadence.dictionary(dict) +// val jsonString = "{\"type\":\"Dictionary\",\"value\":[{\"key\":{\"type\":\"Int\",\"value\":\"42\"},\"value\":{\"type\":\"Optional\",\"value\":{\"type\":\"String\",\"value\":\"foo\"}}}]}" +// genericCadenceTest(field, dict, jsonString, rawValue) +// } +// +// @Test +// fun testComposite() { +// @Serializable +// data class TestContract( +// val foo: Int +// ) +// val rawValue = TestContract(42) +// val id = "some.id" +// val cadenceInt = Cadence.int(42) +// val compositeValue = Cadence.CompositeAttribute("foo", cadenceInt) +// val cadenceCompositeValue = Cadence.CompositeValue(id, listOf( compositeValue)) +// val field = Cadence.contractValue(cadenceCompositeValue) +// val jsonString = "{\"type\":\"Contract\",\"value\":{\"id\":\"some.id\",\"fields\":[{\"name\":\"foo\",\"value\":{\"type\":\"Int\",\"value\":\"42\"}}]}}" +// genericCadenceTest(field, cadenceCompositeValue, jsonString, rawValue) +// } +// +// @Test +// fun testPath() { +// val cadenceValue = Cadence.Path(Cadence.PathDomain.STORAGE, "someIdentifier") +// val field = Cadence.path(Cadence.PathDomain.STORAGE, "someIdentifier") +// val jsonString = "{\"type\":\"Path\",\"value\":{\"domain\":\"storage\",\"identifier\":\"someIdentifier\"}}" +// genericCadenceTest(field, cadenceValue, jsonString, cadenceValue) +// } +// +// @Test +// fun testCapability() { +// val cadenceValue = Cadence.Capability("/public/someInteger", "0x1", Cadence.Type.INT) +// val field = Cadence.capability(cadenceValue) +// val jsonString = "{\"type\":\"Capability\",\"value\":{\"path\":\"/public/someInteger\",\"address\":\"0x1\",\"borrowType\":\"Int\"}}" +// genericCadenceTest(field, cadenceValue, jsonString, cadenceValue) +// } private inline fun genericCadenceTest(field: Cadence.Value, value: Any?, jsonString: String, rawValue: T) { // Decode Test diff --git a/flow/src/iosMain/kotlin/org.onflow.flow.models/NSData.kt b/flow/src/iosMain/kotlin/org.onflow.flow.models/NSData.kt new file mode 100644 index 0000000..f34de1d --- /dev/null +++ b/flow/src/iosMain/kotlin/org.onflow.flow.models/NSData.kt @@ -0,0 +1,29 @@ +package org.onflow.flow.models + +import kotlinx.cinterop.addressOf +import kotlinx.cinterop.pin +import kotlinx.cinterop.usePinned +import platform.Foundation.NSData +import platform.Foundation.create +import platform.posix.memcpy + +internal inline fun ByteArray.toData(): NSData { + if (isEmpty()) return NSData() + val pinned = pin() + return NSData.create( + bytesNoCopy = pinned.addressOf(0), + length = size.toULong(), + deallocator = { _, _ -> pinned.unpin() } + ) +} + +internal fun NSData.toByteArray(): ByteArray { + val size = length.toInt() + val bytes = ByteArray(size) + if (size > 0) { + bytes.usePinned { pinned -> + memcpy(pinned.addressOf(0), this.bytes, this.length) + } + } + return bytes +} \ No newline at end of file diff --git a/flow/swiftpackage/Flow.xcframework/Info.plist b/flow/swiftpackage/Flow.xcframework/Info.plist deleted file mode 100644 index 0d85292..0000000 --- a/flow/swiftpackage/Flow.xcframework/Info.plist +++ /dev/null @@ -1,43 +0,0 @@ - - - - - AvailableLibraries - - - DebugSymbolsPath - dSYMs - LibraryIdentifier - ios-arm64 - LibraryPath - Flow.framework - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - - - DebugSymbolsPath - dSYMs - LibraryIdentifier - ios-x86_64-simulator - LibraryPath - Flow.framework - SupportedArchitectures - - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Flow b/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Flow deleted file mode 100755 index a120e0d..0000000 Binary files a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Flow and /dev/null differ diff --git a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Headers/Flow.h b/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Headers/Flow.h deleted file mode 100644 index f1bd974..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Headers/Flow.h +++ /dev/null @@ -1,5307 +0,0 @@ -#import -#import -#import -#import -#import -#import -#import - -@class FlowChainId, FlowChainIdCanary, FlowChainIdCustom, FlowChainIdEmulator, FlowChainIdMainnet, FlowChainIdSandboxnet, FlowChainIdTestnet, FlowCadenceValue, FlowAccount, FlowBlock, FlowBlockHeader, FlowCollection, FlowBlockEvents, FlowExecutionResult, FlowTransaction, FlowTransactionResult, FlowKotlinThrowable, FlowKotlinArray, FlowKotlinException, FlowKotlinRuntimeException, FlowKotlinIllegalArgumentException, FlowRLPType, FlowKotlinByteArray, FlowRLPElement, FlowRLPList, FlowApiBaseCompanion, FlowKtor_client_coreHttpClient, FlowBase64ByteArrayCompanion, FlowBase64ByteArray, FlowBigDecimalCadenceSerializer, FlowBignumBigDecimal, FlowBigIntegerCadenceSerializer, FlowBignumBigInteger, FlowByteCadenceSerializer, FlowCadenceCompanion, FlowCadenceType, FlowCadenceCapabilityCompanion, FlowCadenceCapability, FlowCadenceValueAddressValue, FlowCadenceValueArrayValue, FlowCadenceValueBooleanValue, FlowCadenceValueCapabilityValue, FlowCadenceValueContractValue, FlowCadenceCompositeValue, FlowCadenceValueDictionaryValue, FlowCadenceDictionaryFieldEntry, FlowCadenceValueFix64Value, FlowCadenceValueIntValue, FlowCadenceValueInt128Value, FlowCadenceValueInt16Value, FlowCadenceValueInt256Value, FlowCadenceValueInt32Value, FlowCadenceValueInt64Value, FlowCadenceValueInt8Value, FlowCadenceValueOptionalValue, FlowCadenceValuePathValue, FlowCadencePath, FlowCadencePathDomain, FlowCadenceValueStringValue, FlowCadenceValueStructValue, FlowCadenceValueTypeValue, FlowCadenceKind, FlowCadenceTypeEntry, FlowCadenceValueUFix64Value, FlowCadenceValueUIntValue, FlowCadenceValueUInt128Value, FlowCadenceValueUInt16Value, FlowCadenceValueUInt256Value, FlowCadenceValueUInt32Value, FlowCadenceValueUInt64Value, FlowCadenceValueUInt8Value, FlowCadenceValueVoidValue, FlowCadenceValueWord16Value, FlowCadenceValueWord32Value, FlowCadenceValueWord64Value, FlowCadenceValueWord8Value, FlowCadenceCompositeAttributeCompanion, FlowCadenceCompositeAttribute, FlowCadenceCompositeValueCompanion, FlowKotlinPair<__covariant A, __covariant B>, FlowCadenceDictionaryFieldEntryCompanion, FlowCadenceKindCompanion, FlowCadencePathCompanion, FlowKotlinEnumCompanion, FlowKotlinEnum, FlowCadencePathDomainCompanion, FlowCadenceTypeCompanion, FlowCadenceTypeEntryCompanion, FlowCadenceValueCompanion, FlowCadenceValueAddressValueCompanion, FlowCadenceValueArrayValueCompanion, FlowCadenceValueBooleanValueCompanion, FlowCadenceValueCapabilityValueCompanion, FlowKotlinx_serialization_jsonJsonElement, FlowKotlinx_serialization_jsonJson, FlowCadenceValueContractValueCompanion, FlowCadenceValueDictionaryValueCompanion, FlowCadenceValueEnumValueCompanion, FlowCadenceValueEnumValue, FlowCadenceValueEventValueCompanion, FlowCadenceValueEventValue, FlowCadenceValueFix64ValueCompanion, FlowCadenceValueInt128ValueCompanion, FlowCadenceValueInt16ValueCompanion, FlowCadenceValueInt256ValueCompanion, FlowCadenceValueInt32ValueCompanion, FlowCadenceValueInt64ValueCompanion, FlowCadenceValueInt8ValueCompanion, FlowCadenceValueIntValueCompanion, FlowCadenceValueOptionalValueCompanion, FlowCadenceValuePathValueCompanion, FlowCadenceValueResourceValueCompanion, FlowCadenceValueResourceValue, FlowCadenceValueStringValueCompanion, FlowCadenceValueStructValueCompanion, FlowCadenceValueTypeValueCompanion, FlowCadenceValueUFix64ValueCompanion, FlowCadenceValueUInt128ValueCompanion, FlowCadenceValueUInt16ValueCompanion, FlowCadenceValueUInt256ValueCompanion, FlowCadenceValueUInt32ValueCompanion, FlowCadenceValueUInt64ValueCompanion, FlowCadenceValueUInt8ValueCompanion, FlowCadenceValueUIntValueCompanion, FlowKotlinUnit, FlowCadenceValueVoidValueCompanion, FlowCadenceValueWord16ValueCompanion, FlowCadenceValueWord32ValueCompanion, FlowCadenceValueWord64ValueCompanion, FlowCadenceValueWord8ValueCompanion, FlowCadenceTypeSerializer, FlowDoubleCadenceSerializer, FlowFixedPointFormatter, FlowIntCadenceSerializer, FlowLongCadenceSerializer, FlowShortCadenceSerializer, FlowUByteCadenceSerializer, FlowUIntCadenceSerializer, FlowULongCadenceSerializer, FlowUShortCadenceSerializer, FlowAccountExpandable, FlowAccountPublicKey, FlowLinks, FlowAccountCompanion, FlowAccountExpandableCompanion, FlowSigningAlgorithm, FlowHashingAlgorithm, FlowAccountPublicKeyCompanion, FlowAggregatedSignatureCompanion, FlowAggregatedSignature, FlowBase64HexSerializer, FlowBase64UFT8Serializer, FlowBlockExpandable, FlowBlockPayload, FlowBlockCompanion, FlowEvent, FlowBlockEventsCompanion, FlowBlockExpandableCompanion, FlowBlockHeaderCompanion, FlowBlockHeightOneOfCompanion, FlowBlockHeightOneOf, FlowCollectionGuarantee, FlowBlockSeal, FlowBlockPayloadCompanion, FlowBlockSealCompanion, FlowCadenceBase64Serializer, FlowChunkCompanion, FlowChunk, FlowCollectionExpandable, FlowCollectionCompanion, FlowCollectionExpandableCompanion, FlowCollectionGuaranteeCompanion, FlowDomainTag, FlowDomainTagAccountProof, FlowDomainTagCustom, FlowDomainTagTransaction, FlowDomainTagUser, FlowErrorCompanion, FlowError, FlowEventCompanion, FlowExecutionResultCompanion, FlowHashingAlgorithmCompanion, FlowLinksCompanion, FlowProposalKeyCompanion, FlowProposalKey, FlowScriptsPostRequestCompanion, FlowScriptsPostRequest, FlowScriptsPostResponseCompanion, FlowScriptsPostResponse, FlowSigningAlgorithmCompanion, FlowTransactionSignature, FlowTransactionExpandable, FlowTransactionCompanion, FlowTransactionExecutionCompanion, FlowTransactionExecution, FlowTransactionExpandableCompanion, FlowTransactionStatus, FlowTransactionResultCompanion, FlowTransactionSignatureCompanion, FlowTransactionStatusCompanion, FlowFlowApi, FlowKotlinByteIterator, FlowBignumBigIntegerCompanion, FlowBignumBigIntegerQuotientAndRemainder, FlowBignumSign, FlowBignumBigIntegerBigIntegerRange, FlowBignumBigIntegerSqareRootAndRemainder, FlowBignumModularBigInteger, FlowKotlinIllegalStateException, FlowKtor_client_coreHttpClientEngineConfig, FlowKtor_client_coreHttpClientConfig, FlowKtor_eventsEvents, FlowKtor_client_coreHttpReceivePipeline, FlowKtor_client_coreHttpRequestPipeline, FlowKtor_client_coreHttpResponsePipeline, FlowKtor_client_coreHttpSendPipeline, FlowKotlinx_serialization_coreSerializersModule, FlowKotlinx_serialization_coreSerialKind, FlowKotlinNothing, FlowBignumBigDecimalCompanion, FlowBignumDecimalMode, FlowBignumRoundingMode, FlowKotlinx_serialization_jsonJsonElementCompanion, FlowKotlinx_serialization_jsonJsonDefault, FlowKotlinx_serialization_jsonJsonConfiguration, FlowBignumModularBigIntegerCompanion, FlowBignumModularQuotientAndRemainder, FlowKtor_client_coreHttpRequestData, FlowKtor_client_coreHttpResponseData, FlowKotlinx_coroutines_coreCoroutineDispatcher, FlowKtor_client_coreProxyConfig, FlowKtor_utilsAttributeKey, FlowKtor_eventsEventDefinition, FlowKtor_utilsPipelinePhase, FlowKtor_utilsPipeline, FlowKtor_client_coreHttpReceivePipelinePhases, FlowKtor_client_coreHttpResponse, FlowKtor_client_coreHttpRequestPipelinePhases, FlowKtor_client_coreHttpRequestBuilder, FlowKtor_client_coreHttpResponsePipelinePhases, FlowKtor_client_coreHttpResponseContainer, FlowKtor_client_coreHttpClientCall, FlowKtor_client_coreHttpSendPipelinePhases, FlowBignumDecimalModeCompanion, FlowKtor_httpUrl, FlowKtor_httpHttpMethod, FlowKtor_httpOutgoingContent, FlowKtor_httpHttpStatusCode, FlowKtor_utilsGMTDate, FlowKtor_httpHttpProtocolVersion, FlowKotlinAbstractCoroutineContextElement, FlowKotlinx_coroutines_coreCoroutineDispatcherKey, FlowKtor_httpHeadersBuilder, FlowKtor_client_coreHttpRequestBuilderCompanion, FlowKtor_httpURLBuilder, FlowKtor_utilsTypeInfo, FlowKtor_client_coreHttpClientCallCompanion, FlowKtor_httpUrlCompanion, FlowKtor_httpURLProtocol, FlowKtor_httpHttpMethodCompanion, FlowKtor_httpContentType, FlowKotlinCancellationException, FlowKtor_httpHttpStatusCodeCompanion, FlowKtor_utilsGMTDateCompanion, FlowKtor_utilsWeekDay, FlowKtor_utilsMonth, FlowKtor_httpHttpProtocolVersionCompanion, FlowKotlinAbstractCoroutineContextKey, FlowKtor_ioMemory, FlowKtor_ioChunkBuffer, FlowKtor_ioBuffer, FlowKtor_ioByteReadPacket, FlowKtor_utilsStringValuesBuilderImpl, FlowKtor_httpURLBuilderCompanion, FlowKtor_httpURLProtocolCompanion, FlowKtor_httpHeaderValueParam, FlowKtor_httpHeaderValueWithParametersCompanion, FlowKtor_httpHeaderValueWithParameters, FlowKtor_httpContentTypeCompanion, FlowKtor_utilsWeekDayCompanion, FlowKtor_utilsMonthCompanion, FlowKtor_ioMemoryCompanion, FlowKtor_ioBufferCompanion, FlowKtor_ioChunkBufferCompanion, FlowKtor_ioInputCompanion, FlowKtor_ioInput, FlowKtor_ioByteReadPacketCompanion, FlowKotlinKTypeProjection, FlowKotlinx_coroutines_coreAtomicDesc, FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp, FlowKotlinKVariance, FlowKotlinKTypeProjectionCompanion, FlowKotlinx_coroutines_coreAtomicOp<__contravariant T>, FlowKotlinx_coroutines_coreOpDescriptor, FlowKotlinx_coroutines_coreLockFreeLinkedListNode, FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc, FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc, FlowKotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc; - -@protocol FlowChainIdProvider, FlowKotlinx_serialization_coreEncoder, FlowKotlinx_serialization_coreSerialDescriptor, FlowKotlinx_serialization_coreSerializationStrategy, FlowKotlinx_serialization_coreDecoder, FlowKotlinx_serialization_coreDeserializationStrategy, FlowKotlinx_serialization_coreKSerializer, FlowKotlinComparable, FlowBignumBigNumber, FlowBignumBigNumberCreator, FlowBignumBitwiseCapable, FlowBignumByteArraySerializable, FlowKotlinIterator, FlowKotlinCoroutineContext, FlowKotlinx_coroutines_coreCoroutineScope, FlowKtor_ioCloseable, FlowKtor_client_coreHttpClientEngine, FlowKtor_client_coreHttpClientEngineCapability, FlowKtor_utilsAttributes, FlowKotlinx_serialization_coreCompositeEncoder, FlowKotlinAnnotation, FlowKotlinx_serialization_coreCompositeDecoder, FlowKotlinx_serialization_coreSerialFormat, FlowKotlinx_serialization_coreStringFormat, FlowBignumBigNumberUtil, FlowBignumByteArrayDeserializable, FlowKotlinClosedRange, FlowKotlinIterable, FlowKotlinCoroutineContextElement, FlowKotlinCoroutineContextKey, FlowKtor_client_coreHttpClientPlugin, FlowKotlinx_coroutines_coreDisposableHandle, FlowKotlinSuspendFunction2, FlowKotlinx_serialization_coreSerializersModuleCollector, FlowKotlinKClass, FlowKtor_httpHeaders, FlowKotlinx_coroutines_coreJob, FlowKotlinContinuation, FlowKotlinContinuationInterceptor, FlowKotlinx_coroutines_coreRunnable, FlowKotlinFunction, FlowKtor_httpHttpMessage, FlowKtor_ioByteReadChannel, FlowKtor_httpHttpMessageBuilder, FlowKtor_client_coreHttpRequest, FlowKotlinKDeclarationContainer, FlowKotlinKAnnotatedElement, FlowKotlinKClassifier, FlowKtor_httpParameters, FlowKotlinMapEntry, FlowKtor_utilsStringValues, FlowKotlinx_coroutines_coreChildHandle, FlowKotlinx_coroutines_coreChildJob, FlowKotlinSequence, FlowKotlinx_coroutines_coreSelectClause0, FlowKtor_ioReadSession, FlowKotlinSuspendFunction1, FlowKotlinAppendable, FlowKtor_utilsStringValuesBuilder, FlowKtor_httpParametersBuilder, FlowKotlinKType, FlowKotlinx_coroutines_coreParentJob, FlowKotlinx_coroutines_coreSelectInstance, FlowKotlinSuspendFunction0, FlowKtor_ioObjectPool; - -NS_ASSUME_NONNULL_BEGIN -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma clang diagnostic ignored "-Wincompatible-property-type" -#pragma clang diagnostic ignored "-Wnullability" - -#pragma push_macro("_Nullable_result") -#if !__has_feature(nullability_nullable_result) -#undef _Nullable_result -#define _Nullable_result _Nullable -#endif - -__attribute__((swift_name("KotlinBase"))) -@interface FlowBase : NSObject -- (instancetype)init __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -+ (void)initialize __attribute__((objc_requires_super)); -@end; - -@interface FlowBase (FlowBaseCopying) -@end; - -__attribute__((swift_name("KotlinMutableSet"))) -@interface FlowMutableSet : NSMutableSet -@end; - -__attribute__((swift_name("KotlinMutableDictionary"))) -@interface FlowMutableDictionary : NSMutableDictionary -@end; - -@interface NSError (NSErrorFlowKotlinException) -@property (readonly) id _Nullable kotlinException; -@end; - -__attribute__((swift_name("KotlinNumber"))) -@interface FlowNumber : NSNumber -- (instancetype)initWithChar:(char)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); -- (instancetype)initWithShort:(short)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); -- (instancetype)initWithInt:(int)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); -- (instancetype)initWithLong:(long)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); -- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); -- (instancetype)initWithFloat:(float)value __attribute__((unavailable)); -- (instancetype)initWithDouble:(double)value __attribute__((unavailable)); -- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable)); -- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); -+ (instancetype)numberWithChar:(char)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); -+ (instancetype)numberWithShort:(short)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); -+ (instancetype)numberWithInt:(int)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); -+ (instancetype)numberWithLong:(long)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); -+ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); -+ (instancetype)numberWithFloat:(float)value __attribute__((unavailable)); -+ (instancetype)numberWithDouble:(double)value __attribute__((unavailable)); -+ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable)); -+ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); -@end; - -__attribute__((swift_name("KotlinByte"))) -@interface FlowByte : FlowNumber -- (instancetype)initWithChar:(char)value; -+ (instancetype)numberWithChar:(char)value; -@end; - -__attribute__((swift_name("KotlinUByte"))) -@interface FlowUByte : FlowNumber -- (instancetype)initWithUnsignedChar:(unsigned char)value; -+ (instancetype)numberWithUnsignedChar:(unsigned char)value; -@end; - -__attribute__((swift_name("KotlinShort"))) -@interface FlowShort : FlowNumber -- (instancetype)initWithShort:(short)value; -+ (instancetype)numberWithShort:(short)value; -@end; - -__attribute__((swift_name("KotlinUShort"))) -@interface FlowUShort : FlowNumber -- (instancetype)initWithUnsignedShort:(unsigned short)value; -+ (instancetype)numberWithUnsignedShort:(unsigned short)value; -@end; - -__attribute__((swift_name("KotlinInt"))) -@interface FlowInt : FlowNumber -- (instancetype)initWithInt:(int)value; -+ (instancetype)numberWithInt:(int)value; -@end; - -__attribute__((swift_name("KotlinUInt"))) -@interface FlowUInt : FlowNumber -- (instancetype)initWithUnsignedInt:(unsigned int)value; -+ (instancetype)numberWithUnsignedInt:(unsigned int)value; -@end; - -__attribute__((swift_name("KotlinLong"))) -@interface FlowLong : FlowNumber -- (instancetype)initWithLongLong:(long long)value; -+ (instancetype)numberWithLongLong:(long long)value; -@end; - -__attribute__((swift_name("KotlinULong"))) -@interface FlowULong : FlowNumber -- (instancetype)initWithUnsignedLongLong:(unsigned long long)value; -+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value; -@end; - -__attribute__((swift_name("KotlinFloat"))) -@interface FlowFloat : FlowNumber -- (instancetype)initWithFloat:(float)value; -+ (instancetype)numberWithFloat:(float)value; -@end; - -__attribute__((swift_name("KotlinDouble"))) -@interface FlowDouble : FlowNumber -- (instancetype)initWithDouble:(double)value; -+ (instancetype)numberWithDouble:(double)value; -@end; - -__attribute__((swift_name("KotlinBoolean"))) -@interface FlowBoolean : FlowNumber -- (instancetype)initWithBool:(BOOL)value; -+ (instancetype)numberWithBool:(BOOL)value; -@end; - -__attribute__((swift_name("ChainIdProvider"))) -@protocol FlowChainIdProvider -@required -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((swift_name("ChainId"))) -@interface FlowChainId : FlowBase -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Canary"))) -@interface FlowChainIdCanary : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)canary __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdCanary *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Custom"))) -@interface FlowChainIdCustom : FlowChainId -- (instancetype)initWithBaseUrl:(NSString *)baseUrl description:(NSString *)description __attribute__((swift_name("init(baseUrl:description:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowChainIdCustom *)doCopyBaseUrl:(NSString *)baseUrl description:(NSString *)description __attribute__((swift_name("doCopy(baseUrl:description:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Emulator"))) -@interface FlowChainIdEmulator : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)emulator __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdEmulator *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Mainnet"))) -@interface FlowChainIdMainnet : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)mainnet __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdMainnet *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Sandboxnet"))) -@interface FlowChainIdSandboxnet : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)sandboxnet __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdSandboxnet *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Testnet"))) -@interface FlowChainIdTestnet : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)testnet __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdTestnet *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("FlowApi"))) -@interface FlowFlowApi : FlowBase -- (instancetype)initWithChainId:(id)chainId __attribute__((swift_name("init(chainId:)"))) __attribute__((objc_designated_initializer)); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)executeScriptScript:(NSString *)script arguments:(NSArray * _Nullable)arguments blockId:(NSString * _Nullable)blockId blockHeight:(NSString * _Nullable)blockHeight completionHandler:(void (^)(FlowCadenceValue * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("executeScript(script:arguments:blockId:blockHeight:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getAccountAddress:(NSString *)address blockHeight:(NSString * _Nullable)blockHeight sealed:(BOOL)sealed completionHandler:(void (^)(FlowAccount * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getAccount(address:blockHeight:sealed:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getBlockId:(NSString * _Nullable)id blockHeight:(NSString * _Nullable)blockHeight sealed:(BOOL)sealed completionHandler:(void (^)(FlowBlock * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBlock(id:blockHeight:sealed:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getBlockHeaderId:(NSString * _Nullable)id blockHeight:(NSString * _Nullable)blockHeight sealed:(BOOL)sealed completionHandler:(void (^)(FlowBlockHeader * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBlockHeader(id:blockHeight:sealed:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getCollectionId:(NSString *)id completionHandler:(void (^)(FlowCollection * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCollection(id:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getEventsType:(NSString *)type startHeight:(NSString * _Nullable)startHeight endHeight:(NSString * _Nullable)endHeight blockIds:(NSSet * _Nullable)blockIds completionHandler:(void (^)(FlowBlockEvents * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getEvents(type:startHeight:endHeight:blockIds:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getExecutionResultId:(NSString *)id completionHandler:(void (^)(FlowExecutionResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getExecutionResult(id:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getExecutionResultsBlockId:(NSSet *)blockId completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getExecutionResults(blockId:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getTransactionTransactionId:(NSString *)transactionId completionHandler:(void (^)(FlowTransaction * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getTransaction(transactionId:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getTransactionResultTransactionId:(NSString *)transactionId completionHandler:(void (^)(FlowTransactionResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getTransactionResult(transactionId:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)sendTransactionRequest:(FlowTransaction *)request completionHandler:(void (^)(FlowTransaction * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("sendTransaction(request:completionHandler:)"))); -@property (readonly) id chainId __attribute__((swift_name("chainId"))); -@end; - -__attribute__((swift_name("KotlinThrowable"))) -@interface FlowKotlinThrowable : FlowBase -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (FlowKotlinArray *)getStackTrace __attribute__((swift_name("getStackTrace()"))); -- (void)printStackTrace __attribute__((swift_name("printStackTrace()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinThrowable * _Nullable cause __attribute__((swift_name("cause"))); -@property (readonly) NSString * _Nullable message __attribute__((swift_name("message"))); -- (NSError *)asError __attribute__((swift_name("asError()"))); -@end; - -__attribute__((swift_name("KotlinException"))) -@interface FlowKotlinException : FlowKotlinThrowable -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((swift_name("KotlinRuntimeException"))) -@interface FlowKotlinRuntimeException : FlowKotlinException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((swift_name("KotlinIllegalArgumentException"))) -@interface FlowKotlinIllegalArgumentException : FlowKotlinRuntimeException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("IllegalRLPException"))) -@interface FlowIllegalRLPException : FlowKotlinIllegalArgumentException -- (instancetype)initWithMsg:(NSString *)msg __attribute__((swift_name("init(msg:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@end; - -__attribute__((swift_name("RLPType"))) -@interface FlowRLPType : FlowBase -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("RLPElement"))) -@interface FlowRLPElement : FlowRLPType -- (instancetype)initWithBytes:(FlowKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); -- (FlowKotlinByteArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowRLPElement *)doCopyBytes:(FlowKotlinByteArray *)bytes __attribute__((swift_name("doCopy(bytes:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinByteArray *bytes __attribute__((swift_name("bytes"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("RLPList"))) -@interface FlowRLPList : FlowRLPType -- (instancetype)initWithElement:(NSArray *)element __attribute__((swift_name("init(element:)"))) __attribute__((objc_designated_initializer)); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowRLPList *)doCopyElement:(NSArray *)element __attribute__((swift_name("doCopy(element:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *element __attribute__((swift_name("element"))); -@end; - -__attribute__((swift_name("ApiBase"))) -@interface FlowApiBase : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property (class, readonly, getter=companion) FlowApiBaseCompanion *companion __attribute__((swift_name("companion"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ApiBase.Companion"))) -@interface FlowApiBaseCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowApiBaseCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_client_coreHttpClient *client __attribute__((swift_name("client"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64ByteArray"))) -@interface FlowBase64ByteArray : FlowBase -- (instancetype)initWithBytes:(FlowKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBase64ByteArrayCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinByteArray *bytes __attribute__((swift_name("bytes"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerializationStrategy"))) -@protocol FlowKotlinx_serialization_coreSerializationStrategy -@required -- (void)serializeEncoder:(id)encoder value:(id _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreDeserializationStrategy"))) -@protocol FlowKotlinx_serialization_coreDeserializationStrategy -@required -- (id _Nullable)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreKSerializer"))) -@protocol FlowKotlinx_serialization_coreKSerializer -@required -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64ByteArray.Companion"))) -@interface FlowBase64ByteArrayCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBase64ByteArrayCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBase64ByteArray *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowBase64ByteArray *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BigDecimalCadenceSerializer"))) -@interface FlowBigDecimalCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)bigDecimalCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBigDecimalCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigDecimal *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowBignumBigDecimal *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BigIntegerCadenceSerializer"))) -@interface FlowBigIntegerCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)bigIntegerCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBigIntegerCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigInteger *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowBignumBigInteger *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ByteCadenceSerializer"))) -@interface FlowByteCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)byteCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowByteCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowByte *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowByte *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence"))) -@interface FlowCadence : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property (class, readonly, getter=companion) FlowCadenceCompanion *companion __attribute__((swift_name("companion"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Capability"))) -@interface FlowCadenceCapability : FlowBase -- (instancetype)initWithPath:(NSString *)path address:(NSString *)address borrowType:(FlowCadenceType *)borrowType __attribute__((swift_name("init(path:address:borrowType:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceCapabilityCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceType *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceCapability *)doCopyPath:(NSString *)path address:(NSString *)address borrowType:(FlowCadenceType *)borrowType __attribute__((swift_name("doCopy(path:address:borrowType:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) FlowCadenceType *borrowType __attribute__((swift_name("borrowType"))); -@property (readonly) NSString *path __attribute__((swift_name("path"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.CapabilityCompanion"))) -@interface FlowCadenceCapabilityCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCapabilityCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Companion"))) -@interface FlowCadenceCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCompanion *shared __attribute__((swift_name("shared"))); -- (FlowCadenceValueAddressValue *)addressValue:(FlowKotlinByteArray *)value __attribute__((swift_name("address(value:)"))); -- (FlowCadenceValueAddressValue *)addressValue_:(NSString *)value __attribute__((swift_name("address(value_:)"))); -- (FlowCadenceValueArrayValue *)arrayValue:(NSArray *)value __attribute__((swift_name("array(value:)"))); -- (FlowCadenceValueBooleanValue *)boolValue:(BOOL)value __attribute__((swift_name("bool(value:)"))); -- (FlowCadenceValueCapabilityValue *)capabilityPath:(NSString *)path address:(NSString *)address borrowType:(FlowCadenceType *)borrowType __attribute__((swift_name("capability(path:address:borrowType:)"))); -- (FlowCadenceValueCapabilityValue *)capabilityValue:(FlowCadenceCapability *)value __attribute__((swift_name("capability(value:)"))); -- (FlowCadenceValueContractValue *)contractValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("contractValue(value:)"))); -- (FlowCadenceValueDictionaryValue *)dictionaryValue:(NSArray *)value __attribute__((swift_name("dictionary(value:)"))); -- (FlowCadenceValueDictionaryValue *)dictionaryValue_:(NSDictionary *)value __attribute__((swift_name("dictionary(value_:)"))); -- (FlowCadenceValueContractValue *)enumValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("enumValue(value:)"))); -- (FlowCadenceValueContractValue *)eventValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("eventValue(value:)"))); -- (FlowCadenceValueFix64Value *)fix64Value:(double)value __attribute__((swift_name("fix64(value:)"))); -- (FlowCadenceValueFix64Value *)fix64Value_:(id)value __attribute__((swift_name("fix64(value_:)"))); -- (FlowCadenceValueFix64Value *)fix64Value__:(NSString *)value __attribute__((swift_name("fix64(value__:)"))); -- (FlowCadenceValueIntValue *)intValue:(int32_t)value __attribute__((swift_name("int(value:)"))); -- (FlowCadenceValueInt128Value *)int128Value:(FlowBignumBigInteger *)value __attribute__((swift_name("int128(value:)"))); -- (FlowCadenceValueInt16Value *)int16Value:(int16_t)value __attribute__((swift_name("int16(value:)"))); -- (FlowCadenceValueInt256Value *)int256Value:(FlowBignumBigInteger *)value __attribute__((swift_name("int256(value:)"))); -- (FlowCadenceValueInt32Value *)int32Value:(int32_t)value __attribute__((swift_name("int32(value:)"))); -- (FlowCadenceValueInt64Value *)int64Value:(int64_t)value __attribute__((swift_name("int64(value:)"))); -- (FlowCadenceValueInt8Value *)int8Value:(int8_t)value __attribute__((swift_name("int8(value:)"))); -- (FlowCadenceValueOptionalValue *)optionalValue:(FlowCadenceValue * _Nullable)value __attribute__((swift_name("optional(value:)"))); -- (FlowCadenceValuePathValue *)pathValue:(FlowCadencePath *)value __attribute__((swift_name("path(value:)"))); -- (FlowCadenceValuePathValue *)pathDomain:(FlowCadencePathDomain *)domain identifier:(NSString *)identifier __attribute__((swift_name("path(domain:identifier:)"))); -- (FlowCadenceValueContractValue *)resourceValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("resourceValue(value:)"))); -- (FlowCadenceValueStringValue *)stringValue:(NSString *)value __attribute__((swift_name("string(value:)"))); -- (FlowCadenceValueStructValue *)structValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("struct(value:)"))); -- (FlowCadenceValueTypeValue *)typeValue:(FlowCadenceKind *)value __attribute__((swift_name("type(value:)"))); -- (FlowCadenceValueTypeValue *)typeValue_:(FlowCadenceTypeEntry *)value __attribute__((swift_name("type(value_:)"))); -- (FlowCadenceValueUFix64Value *)ufix64Value:(double)value __attribute__((swift_name("ufix64(value:)"))); -- (FlowCadenceValueUFix64Value *)ufix64Value_:(id)value __attribute__((swift_name("ufix64(value_:)"))); -- (FlowCadenceValueUFix64Value *)ufix64Value__:(NSString *)value __attribute__((swift_name("ufix64(value__:)"))); -- (FlowCadenceValueUIntValue *)uintValue:(uint32_t)value __attribute__((swift_name("uint(value:)"))); -- (FlowCadenceValueUInt128Value *)uint128Value:(FlowBignumBigInteger *)value __attribute__((swift_name("uint128(value:)"))); -- (FlowCadenceValueUInt16Value *)uint16Value:(uint16_t)value __attribute__((swift_name("uint16(value:)"))); -- (FlowCadenceValueUInt256Value *)uint256Value:(FlowBignumBigInteger *)value __attribute__((swift_name("uint256(value:)"))); -- (FlowCadenceValueUInt32Value *)uint32Value:(uint32_t)value __attribute__((swift_name("uint32(value:)"))); -- (FlowCadenceValueUInt64Value *)uint64Value:(uint64_t)value __attribute__((swift_name("uint64(value:)"))); -- (FlowCadenceValueUInt8Value *)uint8Value:(uint8_t)value __attribute__((swift_name("uint8(value:)"))); -- (FlowCadenceValueVoidValue *)void __attribute__((swift_name("void()"))); -- (FlowCadenceValueWord16Value *)word16Value:(uint16_t)value __attribute__((swift_name("word16(value:)"))); -- (FlowCadenceValueWord32Value *)word32Value:(uint32_t)value __attribute__((swift_name("word32(value:)"))); -- (FlowCadenceValueWord64Value *)word64Value:(uint64_t)value __attribute__((swift_name("word64(value:)"))); -- (FlowCadenceValueWord8Value *)word8Value:(uint8_t)value __attribute__((swift_name("word8(value:)"))); -@end; - -__attribute__((swift_name("Cadence.CompositeAttribute"))) -@interface FlowCadenceCompositeAttribute : FlowBase -- (instancetype)initWithName:(NSString *)name value:(FlowCadenceValue *)value __attribute__((swift_name("init(name:value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceCompositeAttributeCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@property (readonly) FlowCadenceValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.CompositeAttributeCompanion"))) -@interface FlowCadenceCompositeAttributeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCompositeAttributeCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.CompositeValue"))) -@interface FlowCadenceCompositeValue : FlowBase -- (instancetype)initWithId:(NSString *)id fields:(NSArray *)fields __attribute__((swift_name("init(id:fields:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceCompositeValueCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.CompositeValueCompanion"))) -@interface FlowCadenceCompositeValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCompositeValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.DictionaryFieldEntry"))) -@interface FlowCadenceDictionaryFieldEntry : FlowBase -- (instancetype)initWithPair:(FlowKotlinPair *)pair __attribute__((swift_name("init(pair:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithKey:(FlowCadenceValue *)key value:(FlowCadenceValue *)value __attribute__((swift_name("init(key:value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceDictionaryFieldEntryCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) FlowCadenceValue *key __attribute__((swift_name("key"))); -@property (readonly) FlowCadenceValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.DictionaryFieldEntryCompanion"))) -@interface FlowCadenceDictionaryFieldEntryCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceDictionaryFieldEntryCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Kind"))) -@interface FlowCadenceKind : FlowBase -- (instancetype)initWithKind:(FlowCadenceType *)kind typeID:(NSString * _Nullable)typeID type:(NSString * _Nullable)type __attribute__((swift_name("init(kind:typeID:type:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceKindCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceType *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceKind *)doCopyKind:(FlowCadenceType *)kind typeID:(NSString * _Nullable)typeID type:(NSString * _Nullable)type __attribute__((swift_name("doCopy(kind:typeID:type:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceType *kind __attribute__((swift_name("kind"))); -@property (readonly) NSString * _Nullable type __attribute__((swift_name("type"))); -@property (readonly) NSString * _Nullable typeID __attribute__((swift_name("typeID"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.KindCompanion"))) -@interface FlowCadenceKindCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceKindCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Path"))) -@interface FlowCadencePath : FlowBase -- (instancetype)initWithDomain:(FlowCadencePathDomain *)domain identifier:(NSString *)identifier __attribute__((swift_name("init(domain:identifier:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadencePathCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadencePathDomain *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadencePath *)doCopyDomain:(FlowCadencePathDomain *)domain identifier:(NSString *)identifier __attribute__((swift_name("doCopy(domain:identifier:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadencePathDomain *domain __attribute__((swift_name("domain"))); -@property (readonly) NSString *identifier __attribute__((swift_name("identifier"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.PathCompanion"))) -@interface FlowCadencePathCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadencePathCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("KotlinComparable"))) -@protocol FlowKotlinComparable -@required -- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)"))); -@end; - -__attribute__((swift_name("KotlinEnum"))) -@interface FlowKotlinEnum : FlowBase -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKotlinEnumCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.PathDomain"))) -@interface FlowCadencePathDomain : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowCadencePathDomainCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowCadencePathDomain *storage __attribute__((swift_name("storage"))); -@property (class, readonly) FlowCadencePathDomain *private_ __attribute__((swift_name("private_"))); -@property (class, readonly) FlowCadencePathDomain *public_ __attribute__((swift_name("public_"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.PathDomainCompanion"))) -@interface FlowCadencePathDomainCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadencePathDomainCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Type_"))) -@interface FlowCadenceType : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowCadenceTypeCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowCadenceType *void_ __attribute__((swift_name("void_"))); -@property (class, readonly) FlowCadenceType *optional __attribute__((swift_name("optional"))); -@property (class, readonly) FlowCadenceType *boolean __attribute__((swift_name("boolean"))); -@property (class, readonly) FlowCadenceType *string __attribute__((swift_name("string"))); -@property (class, readonly) FlowCadenceType *int_ __attribute__((swift_name("int_"))); -@property (class, readonly) FlowCadenceType *uint __attribute__((swift_name("uint"))); -@property (class, readonly) FlowCadenceType *int8 __attribute__((swift_name("int8"))); -@property (class, readonly) FlowCadenceType *uint8 __attribute__((swift_name("uint8"))); -@property (class, readonly) FlowCadenceType *int16 __attribute__((swift_name("int16"))); -@property (class, readonly) FlowCadenceType *uint16 __attribute__((swift_name("uint16"))); -@property (class, readonly) FlowCadenceType *int32 __attribute__((swift_name("int32"))); -@property (class, readonly) FlowCadenceType *uint32 __attribute__((swift_name("uint32"))); -@property (class, readonly) FlowCadenceType *int64 __attribute__((swift_name("int64"))); -@property (class, readonly) FlowCadenceType *uint64 __attribute__((swift_name("uint64"))); -@property (class, readonly) FlowCadenceType *int128 __attribute__((swift_name("int128"))); -@property (class, readonly) FlowCadenceType *uint128 __attribute__((swift_name("uint128"))); -@property (class, readonly) FlowCadenceType *int256 __attribute__((swift_name("int256"))); -@property (class, readonly) FlowCadenceType *uint256 __attribute__((swift_name("uint256"))); -@property (class, readonly) FlowCadenceType *word8 __attribute__((swift_name("word8"))); -@property (class, readonly) FlowCadenceType *word16 __attribute__((swift_name("word16"))); -@property (class, readonly) FlowCadenceType *word32 __attribute__((swift_name("word32"))); -@property (class, readonly) FlowCadenceType *word64 __attribute__((swift_name("word64"))); -@property (class, readonly) FlowCadenceType *fix64 __attribute__((swift_name("fix64"))); -@property (class, readonly) FlowCadenceType *ufix64 __attribute__((swift_name("ufix64"))); -@property (class, readonly) FlowCadenceType *array __attribute__((swift_name("array"))); -@property (class, readonly) FlowCadenceType *dictionary __attribute__((swift_name("dictionary"))); -@property (class, readonly) FlowCadenceType *address __attribute__((swift_name("address"))); -@property (class, readonly) FlowCadenceType *path __attribute__((swift_name("path"))); -@property (class, readonly) FlowCadenceType *capability __attribute__((swift_name("capability"))); -@property (class, readonly) FlowCadenceType *struct_ __attribute__((swift_name("struct_"))); -@property (class, readonly) FlowCadenceType *resource __attribute__((swift_name("resource"))); -@property (class, readonly) FlowCadenceType *event __attribute__((swift_name("event"))); -@property (class, readonly) FlowCadenceType *contract __attribute__((swift_name("contract"))); -@property (class, readonly) FlowCadenceType *enum_ __attribute__((swift_name("enum_"))); -@property (class, readonly) FlowCadenceType *type __attribute__((swift_name("type"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Type_Companion"))) -@interface FlowCadenceTypeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceTypeCompanion *shared __attribute__((swift_name("shared"))); -- (FlowCadenceType *)findByKeyValue:(NSString *)value default:(FlowCadenceType *)default_ __attribute__((swift_name("findByKey(value:default:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.TypeEntry"))) -@interface FlowCadenceTypeEntry : FlowBase -- (instancetype)initWithStaticType:(FlowCadenceKind *)staticType __attribute__((swift_name("init(staticType:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceTypeEntryCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceKind *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceTypeEntry *)doCopyStaticType:(FlowCadenceKind *)staticType __attribute__((swift_name("doCopy(staticType:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceKind *staticType __attribute__((swift_name("staticType"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.TypeEntryCompanion"))) -@interface FlowCadenceTypeEntryCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceTypeEntryCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.Value"))) -@interface FlowCadenceValue : FlowBase -@property (class, readonly, getter=companion) FlowCadenceValueCompanion *companion __attribute__((swift_name("companion"))); - -/** - @note This method converts instances of Exception to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (id _Nullable)decodeAndReturnError:(NSError * _Nullable * _Nullable)error __attribute__((swift_name("decode()"))) __attribute__((swift_error(nonnull_error))); -- (id _Nullable)decodeToAny __attribute__((swift_name("decodeToAny()"))); -- (NSString *)encode __attribute__((swift_name("encode()"))); -- (NSString *)encodeBase64 __attribute__((swift_name("encodeBase64()"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) id _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueAddressValue"))) -@interface FlowCadenceValueAddressValue : FlowCadenceValue -- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueAddressValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueAddressValue *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueAddressValueCompanion"))) -@interface FlowCadenceValueAddressValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueAddressValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueArrayValue"))) -@interface FlowCadenceValueArrayValue : FlowCadenceValue -- (instancetype)initWithValue:(NSArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueArrayValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueArrayValue *)doCopyValue:(NSArray *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueArrayValueCompanion"))) -@interface FlowCadenceValueArrayValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueArrayValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueBooleanValue"))) -@interface FlowCadenceValueBooleanValue : FlowCadenceValue -- (instancetype)initWithValue:(BOOL)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueBooleanValueCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueBooleanValue *)doCopyValue:(BOOL)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBoolean *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueBooleanValueCompanion"))) -@interface FlowCadenceValueBooleanValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueBooleanValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValueCapabilityValue"))) -@interface FlowCadenceValueCapabilityValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCapability *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueCapabilityValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadenceCapability *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueCapabilityValueCompanion"))) -@interface FlowCadenceValueCapabilityValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueCapabilityValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueCompanion"))) -@interface FlowCadenceValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueCompanion *shared __attribute__((swift_name("shared"))); -- (FlowCadenceValue *)decodeFromBase64Base64String:(NSString *)base64String __attribute__((swift_name("decodeFromBase64(base64String:)"))); -- (FlowCadenceValue *)decodeFromJsonJsonString:(NSString *)jsonString __attribute__((swift_name("decodeFromJson(jsonString:)"))); -- (FlowCadenceValue *)decodeFromJsonElementJsonElement:(FlowKotlinx_serialization_jsonJsonElement *)jsonElement __attribute__((swift_name("decodeFromJsonElement(jsonElement:)"))); -- (NSString *)encodeToJsonStringValue:(FlowCadenceValue *)Value __attribute__((swift_name("encodeToJsonString(Value:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -- (id)serializerTypeParamsSerializers:(FlowKotlinArray> *)typeParamsSerializers __attribute__((swift_name("serializer(typeParamsSerializers:)"))); -@property (readonly) FlowKotlinx_serialization_jsonJson *jsonSerializer __attribute__((swift_name("jsonSerializer"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueContractValue"))) -@interface FlowCadenceValueContractValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueContractValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueContractValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueContractValueCompanion"))) -@interface FlowCadenceValueContractValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueContractValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueDictionaryValue"))) -@interface FlowCadenceValueDictionaryValue : FlowCadenceValue -- (instancetype)initWithValue:(NSArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueDictionaryValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueDictionaryValue *)doCopyValue:(NSArray *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueDictionaryValueCompanion"))) -@interface FlowCadenceValueDictionaryValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueDictionaryValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEnumValue"))) -@interface FlowCadenceValueEnumValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueEnumValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueEnumValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEnumValueCompanion"))) -@interface FlowCadenceValueEnumValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueEnumValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEventValue"))) -@interface FlowCadenceValueEventValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueEventValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueEventValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEventValueCompanion"))) -@interface FlowCadenceValueEventValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueEventValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueFix64Value"))) -@interface FlowCadenceValueFix64Value : FlowCadenceValue -- (instancetype)initWithValue:(double)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueFix64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (double)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueFix64Value *)doCopyValue:(double)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowDouble *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueFix64ValueCompanion"))) -@interface FlowCadenceValueFix64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueFix64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt128Value"))) -@interface FlowCadenceValueInt128Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt128ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt128Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt128ValueCompanion"))) -@interface FlowCadenceValueInt128ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt128ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt16Value"))) -@interface FlowCadenceValueInt16Value : FlowCadenceValue -- (instancetype)initWithValue:(int16_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt16ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int16_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt16Value *)doCopyValue:(int16_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowShort *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt16ValueCompanion"))) -@interface FlowCadenceValueInt16ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt16ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt256Value"))) -@interface FlowCadenceValueInt256Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt256ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt256Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt256ValueCompanion"))) -@interface FlowCadenceValueInt256ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt256ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt32Value"))) -@interface FlowCadenceValueInt32Value : FlowCadenceValue -- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt32ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt32Value *)doCopyValue:(int32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt32ValueCompanion"))) -@interface FlowCadenceValueInt32ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt32ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt64Value"))) -@interface FlowCadenceValueInt64Value : FlowCadenceValue -- (instancetype)initWithValue:(int64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt64Value *)doCopyValue:(int64_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowLong *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt64ValueCompanion"))) -@interface FlowCadenceValueInt64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt8Value"))) -@interface FlowCadenceValueInt8Value : FlowCadenceValue -- (instancetype)initWithValue:(int8_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt8ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int8_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt8Value *)doCopyValue:(int8_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowByte *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt8ValueCompanion"))) -@interface FlowCadenceValueInt8ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt8ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueIntValue"))) -@interface FlowCadenceValueIntValue : FlowCadenceValue -- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueIntValueCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueIntValue *)doCopyValue:(int32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueIntValueCompanion"))) -@interface FlowCadenceValueIntValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueIntValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueOptionalValue"))) -@interface FlowCadenceValueOptionalValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceValue * _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueOptionalValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceValue * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueOptionalValue *)doCopyValue:(FlowCadenceValue * _Nullable)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceValue * _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueOptionalValueCompanion"))) -@interface FlowCadenceValueOptionalValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueOptionalValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValuePathValue"))) -@interface FlowCadenceValuePathValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadencePath *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValuePathValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadencePath *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValuePathValueCompanion"))) -@interface FlowCadenceValuePathValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValuePathValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueResourceValue"))) -@interface FlowCadenceValueResourceValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueResourceValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueResourceValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueResourceValueCompanion"))) -@interface FlowCadenceValueResourceValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueResourceValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueStringValue"))) -@interface FlowCadenceValueStringValue : FlowCadenceValue -- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueStringValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueStringValue *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueStringValueCompanion"))) -@interface FlowCadenceValueStringValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueStringValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValueStructValue"))) -@interface FlowCadenceValueStructValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueStructValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueStructValueCompanion"))) -@interface FlowCadenceValueStructValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueStructValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValueTypeValue"))) -@interface FlowCadenceValueTypeValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceTypeEntry *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueTypeValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadenceTypeEntry *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueTypeValueCompanion"))) -@interface FlowCadenceValueTypeValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueTypeValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUFix64Value"))) -@interface FlowCadenceValueUFix64Value : FlowCadenceValue -- (instancetype)initWithValue:(double)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUFix64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (double)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUFix64Value *)doCopyValue:(double)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowDouble *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUFix64ValueCompanion"))) -@interface FlowCadenceValueUFix64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUFix64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt128Value"))) -@interface FlowCadenceValueUInt128Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt128ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt128Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt128ValueCompanion"))) -@interface FlowCadenceValueUInt128ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt128ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt16Value"))) -@interface FlowCadenceValueUInt16Value : FlowCadenceValue -- (instancetype)initWithValue:(uint16_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt16ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint16_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt16Value *)doCopyValue:(uint16_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUShort *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt16ValueCompanion"))) -@interface FlowCadenceValueUInt16ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt16ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt256Value"))) -@interface FlowCadenceValueUInt256Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt256ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt256Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt256ValueCompanion"))) -@interface FlowCadenceValueUInt256ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt256ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt32Value"))) -@interface FlowCadenceValueUInt32Value : FlowCadenceValue -- (instancetype)initWithValue:(uint32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt32ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt32Value *)doCopyValue:(uint32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt32ValueCompanion"))) -@interface FlowCadenceValueUInt32ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt32ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt64Value"))) -@interface FlowCadenceValueUInt64Value : FlowCadenceValue -- (instancetype)initWithValue:(uint64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt64Value *)doCopyValue:(uint64_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowULong *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt64ValueCompanion"))) -@interface FlowCadenceValueUInt64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt8Value"))) -@interface FlowCadenceValueUInt8Value : FlowCadenceValue -- (instancetype)initWithValue:(uint8_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt8ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint8_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt8Value *)doCopyValue:(uint8_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUByte *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt8ValueCompanion"))) -@interface FlowCadenceValueUInt8ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt8ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUIntValue"))) -@interface FlowCadenceValueUIntValue : FlowCadenceValue -- (instancetype)initWithValue:(uint32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUIntValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUIntValue *)doCopyValue:(uint32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUIntValueCompanion"))) -@interface FlowCadenceValueUIntValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUIntValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueVoidValue"))) -@interface FlowCadenceValueVoidValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowKotlinUnit * _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueVoidValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKotlinUnit * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueVoidValue *)doCopyValue:(FlowKotlinUnit * _Nullable)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinUnit * _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueVoidValueCompanion"))) -@interface FlowCadenceValueVoidValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueVoidValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord16Value"))) -@interface FlowCadenceValueWord16Value : FlowCadenceValue -- (instancetype)initWithValue:(uint16_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord16ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint16_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord16Value *)doCopyValue:(uint16_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUShort *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord16ValueCompanion"))) -@interface FlowCadenceValueWord16ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord16ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord32Value"))) -@interface FlowCadenceValueWord32Value : FlowCadenceValue -- (instancetype)initWithValue:(uint32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord32ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord32Value *)doCopyValue:(uint32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord32ValueCompanion"))) -@interface FlowCadenceValueWord32ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord32ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord64Value"))) -@interface FlowCadenceValueWord64Value : FlowCadenceValue -- (instancetype)initWithValue:(uint64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord64Value *)doCopyValue:(uint64_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowULong *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord64ValueCompanion"))) -@interface FlowCadenceValueWord64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord8Value"))) -@interface FlowCadenceValueWord8Value : FlowCadenceValue -- (instancetype)initWithValue:(uint8_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord8ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint8_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord8Value *)doCopyValue:(uint8_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUByte *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord8ValueCompanion"))) -@interface FlowCadenceValueWord8ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord8ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceTypeSerializer"))) -@interface FlowCadenceTypeSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)cadenceTypeSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceTypeSerializer *shared __attribute__((swift_name("shared"))); -- (FlowCadenceType *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowCadenceType *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DoubleCadenceSerializer"))) -@interface FlowDoubleCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)doubleCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowDoubleCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowDouble *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowDouble *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("FixedPointFormatter"))) -@interface FlowFixedPointFormatter : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)fixedPointFormatter __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowFixedPointFormatter *shared __attribute__((swift_name("shared"))); -- (NSString * _Nullable)formatNum:(NSString *)num precision:(uint64_t)precision __attribute__((swift_name("format(num:precision:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("IntCadenceSerializer"))) -@interface FlowIntCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)intCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowIntCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowInt *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowInt *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("LongCadenceSerializer"))) -@interface FlowLongCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)longCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowLongCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowLong *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowLong *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ShortCadenceSerializer"))) -@interface FlowShortCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)shortCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowShortCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowShort *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowShort *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("UByteCadenceSerializer"))) -@interface FlowUByteCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uByteCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowUByteCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowUByte *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowUByte *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("UIntCadenceSerializer"))) -@interface FlowUIntCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uIntCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowUIntCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowUInt *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowUInt *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ULongCadenceSerializer"))) -@interface FlowULongCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uLongCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowULongCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowULong *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowULong *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("UShortCadenceSerializer"))) -@interface FlowUShortCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uShortCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowUShortCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowUShort *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowUShort *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Account"))) -@interface FlowAccount : FlowBase -- (instancetype)initWithAddress:(NSString *)address balance:(NSString *)balance expandable:(FlowAccountExpandable *)expandable keys:(NSSet * _Nullable)keys contracts:(NSDictionary * _Nullable)contracts links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(address:balance:expandable:keys:contracts:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAccountCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccountExpandable *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSSet * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSDictionary * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccount *)doCopyAddress:(NSString *)address balance:(NSString *)balance expandable:(FlowAccountExpandable *)expandable keys:(NSSet * _Nullable)keys contracts:(NSDictionary * _Nullable)contracts links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(address:balance:expandable:keys:contracts:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) NSString *balance __attribute__((swift_name("balance"))); -@property (readonly) NSDictionary * _Nullable contracts __attribute__((swift_name("contracts"))); -@property (readonly) FlowAccountExpandable *expandable __attribute__((swift_name("expandable"))); -@property (readonly) NSSet * _Nullable keys __attribute__((swift_name("keys"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Account.Companion"))) -@interface FlowAccountCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAccountCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountExpandable"))) -@interface FlowAccountExpandable : FlowBase -- (instancetype)initWithPropertyKeys:(NSString * _Nullable)propertyKeys contracts:(NSString * _Nullable)contracts __attribute__((swift_name("init(propertyKeys:contracts:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAccountExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccountExpandable *)doCopyPropertyKeys:(NSString * _Nullable)propertyKeys contracts:(NSString * _Nullable)contracts __attribute__((swift_name("doCopy(propertyKeys:contracts:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable contracts __attribute__((swift_name("contracts"))); -@property (readonly) NSString * _Nullable propertyKeys __attribute__((swift_name("propertyKeys"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountExpandable.Companion"))) -@interface FlowAccountExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAccountExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountPublicKey"))) -@interface FlowAccountPublicKey : FlowBase -- (instancetype)initWithIndex:(NSString *)index publicKey:(NSString *)publicKey signingAlgorithm:(FlowSigningAlgorithm *)signingAlgorithm hashingAlgorithm:(FlowHashingAlgorithm *)hashingAlgorithm sequenceNumber:(NSString *)sequenceNumber weight:(NSString *)weight revoked:(BOOL)revoked __attribute__((swift_name("init(index:publicKey:signingAlgorithm:hashingAlgorithm:sequenceNumber:weight:revoked:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAccountPublicKeyCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowSigningAlgorithm *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowHashingAlgorithm *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (BOOL)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccountPublicKey *)doCopyIndex:(NSString *)index publicKey:(NSString *)publicKey signingAlgorithm:(FlowSigningAlgorithm *)signingAlgorithm hashingAlgorithm:(FlowHashingAlgorithm *)hashingAlgorithm sequenceNumber:(NSString *)sequenceNumber weight:(NSString *)weight revoked:(BOOL)revoked __attribute__((swift_name("doCopy(index:publicKey:signingAlgorithm:hashingAlgorithm:sequenceNumber:weight:revoked:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowHashingAlgorithm *hashingAlgorithm __attribute__((swift_name("hashingAlgorithm"))); -@property (readonly) NSString *index __attribute__((swift_name("index"))); -@property (readonly) NSString *publicKey __attribute__((swift_name("publicKey"))); -@property (readonly) BOOL revoked __attribute__((swift_name("revoked"))); -@property (readonly) NSString *sequenceNumber __attribute__((swift_name("sequenceNumber"))); -@property (readonly) FlowSigningAlgorithm *signingAlgorithm __attribute__((swift_name("signingAlgorithm"))); -@property (readonly) NSString *weight __attribute__((swift_name("weight"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountPublicKey.Companion"))) -@interface FlowAccountPublicKeyCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAccountPublicKeyCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AggregatedSignature"))) -@interface FlowAggregatedSignature : FlowBase -- (instancetype)initWithVerifierSignatures:(NSArray *)verifierSignatures signerIds:(NSArray *)signerIds __attribute__((swift_name("init(verifierSignatures:signerIds:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAggregatedSignatureCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAggregatedSignature *)doCopyVerifierSignatures:(NSArray *)verifierSignatures signerIds:(NSArray *)signerIds __attribute__((swift_name("doCopy(verifierSignatures:signerIds:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *signerIds __attribute__((swift_name("signerIds"))); -@property (readonly) NSArray *verifierSignatures __attribute__((swift_name("verifierSignatures"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AggregatedSignature.Companion"))) -@interface FlowAggregatedSignatureCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAggregatedSignatureCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64HexSerializer"))) -@interface FlowBase64HexSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)base64HexSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBase64HexSerializer *shared __attribute__((swift_name("shared"))); -- (NSString *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(NSString *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64UFT8Serializer"))) -@interface FlowBase64UFT8Serializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)base64UFT8Serializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBase64UFT8Serializer *shared __attribute__((swift_name("shared"))); -- (NSString *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(NSString *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Block"))) -@interface FlowBlock : FlowBase -- (instancetype)initWithHeader:(FlowBlockHeader *)header expandable:(FlowBlockExpandable *)expandable payload:(FlowBlockPayload * _Nullable)payload executionResult:(FlowExecutionResult * _Nullable)executionResult links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(header:expandable:payload:executionResult:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBlockHeader *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockExpandable *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockPayload * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowExecutionResult * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlock *)doCopyHeader:(FlowBlockHeader *)header expandable:(FlowBlockExpandable *)expandable payload:(FlowBlockPayload * _Nullable)payload executionResult:(FlowExecutionResult * _Nullable)executionResult links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(header:expandable:payload:executionResult:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowExecutionResult * _Nullable executionResult __attribute__((swift_name("executionResult"))); -@property (readonly) FlowBlockExpandable *expandable __attribute__((swift_name("expandable"))); -@property (readonly) FlowBlockHeader *header __attribute__((swift_name("header"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) FlowBlockPayload * _Nullable payload __attribute__((swift_name("payload"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Block.Companion"))) -@interface FlowBlockCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockEvents"))) -@interface FlowBlockEvents : FlowBase -- (instancetype)initWithBlockId:(NSString * _Nullable)blockId blockHeight:(NSString * _Nullable)blockHeight blockTimestamp:(NSString * _Nullable)blockTimestamp events:(NSArray * _Nullable)events links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(blockId:blockHeight:blockTimestamp:events:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockEventsCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockEvents *)doCopyBlockId:(NSString * _Nullable)blockId blockHeight:(NSString * _Nullable)blockHeight blockTimestamp:(NSString * _Nullable)blockTimestamp events:(NSArray * _Nullable)events links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(blockId:blockHeight:blockTimestamp:events:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable blockHeight __attribute__((swift_name("blockHeight"))); -@property (readonly) NSString * _Nullable blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString * _Nullable blockTimestamp __attribute__((swift_name("blockTimestamp"))); -@property (readonly) NSArray * _Nullable events __attribute__((swift_name("events"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockEvents.Companion"))) -@interface FlowBlockEventsCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockEventsCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockExpandable"))) -@interface FlowBlockExpandable : FlowBase -- (instancetype)initWithPayload:(NSString * _Nullable)payload executionResult:(NSString * _Nullable)executionResult __attribute__((swift_name("init(payload:executionResult:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockExpandable *)doCopyPayload:(NSString * _Nullable)payload executionResult:(NSString * _Nullable)executionResult __attribute__((swift_name("doCopy(payload:executionResult:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable executionResult __attribute__((swift_name("executionResult"))); -@property (readonly) NSString * _Nullable payload __attribute__((swift_name("payload"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockExpandable.Companion"))) -@interface FlowBlockExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeader"))) -@interface FlowBlockHeader : FlowBase -- (instancetype)initWithId:(NSString *)id parentId:(NSString *)parentId height:(NSString *)height timestamp:(NSString *)timestamp parentVoterSignature:(FlowBase64ByteArray *)parentVoterSignature __attribute__((swift_name("init(id:parentId:height:timestamp:parentVoterSignature:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockHeaderCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockHeader *)doCopyId:(NSString *)id parentId:(NSString *)parentId height:(NSString *)height timestamp:(NSString *)timestamp parentVoterSignature:(FlowBase64ByteArray *)parentVoterSignature __attribute__((swift_name("doCopy(id:parentId:height:timestamp:parentVoterSignature:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *height __attribute__((swift_name("height"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@property (readonly) NSString *parentId __attribute__((swift_name("parentId"))); -@property (readonly) FlowBase64ByteArray *parentVoterSignature __attribute__((swift_name("parentVoterSignature"))); -@property (readonly) NSString *timestamp __attribute__((swift_name("timestamp"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeader.Companion"))) -@interface FlowBlockHeaderCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockHeaderCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeightOneOf"))) -@interface FlowBlockHeightOneOf : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowBlockHeightOneOfCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowBlockHeightOneOf *final __attribute__((swift_name("final"))); -@property (class, readonly) FlowBlockHeightOneOf *sealed __attribute__((swift_name("sealed"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeightOneOf.Companion"))) -@interface FlowBlockHeightOneOfCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockHeightOneOfCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBlockHeightOneOf * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockPayload"))) -@interface FlowBlockPayload : FlowBase -- (instancetype)initWithCollectionGuarantees:(NSArray *)collectionGuarantees blockSeals:(NSArray *)blockSeals __attribute__((swift_name("init(collectionGuarantees:blockSeals:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockPayloadCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockPayload *)doCopyCollectionGuarantees:(NSArray *)collectionGuarantees blockSeals:(NSArray *)blockSeals __attribute__((swift_name("doCopy(collectionGuarantees:blockSeals:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *blockSeals __attribute__((swift_name("blockSeals"))); -@property (readonly) NSArray *collectionGuarantees __attribute__((swift_name("collectionGuarantees"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockPayload.Companion"))) -@interface FlowBlockPayloadCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockPayloadCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockSeal"))) -@interface FlowBlockSeal : FlowBase -- (instancetype)initWithBlockId:(NSString *)blockId resultId:(NSString *)resultId finalState:(NSString *)finalState aggregatedApprovalSignatures:(NSArray *)aggregatedApprovalSignatures __attribute__((swift_name("init(blockId:resultId:finalState:aggregatedApprovalSignatures:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockSealCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockSeal *)doCopyBlockId:(NSString *)blockId resultId:(NSString *)resultId finalState:(NSString *)finalState aggregatedApprovalSignatures:(NSArray *)aggregatedApprovalSignatures __attribute__((swift_name("doCopy(blockId:resultId:finalState:aggregatedApprovalSignatures:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *aggregatedApprovalSignatures __attribute__((swift_name("aggregatedApprovalSignatures"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString *finalState __attribute__((swift_name("finalState"))); -@property (readonly) NSString *resultId __attribute__((swift_name("resultId"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockSeal.Companion"))) -@interface FlowBlockSealCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockSealCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceBase64ListSerializer"))) -@interface FlowCadenceBase64ListSerializer : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (NSArray *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(NSArray *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceBase64Serializer"))) -@interface FlowCadenceBase64Serializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)cadenceBase64Serializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceBase64Serializer *shared __attribute__((swift_name("shared"))); -- (FlowCadenceValue *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowCadenceValue *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Chunk"))) -@interface FlowChunk : FlowBase -- (instancetype)initWithBlockId:(NSString *)blockId collectionIndex:(NSString *)collectionIndex startState:(FlowBase64ByteArray *)startState endState:(FlowBase64ByteArray *)endState eventCollection:(FlowBase64ByteArray *)eventCollection index:(NSString *)index numberOfTransactions:(NSString *)numberOfTransactions totalComputationUsed:(NSString *)totalComputationUsed __attribute__((swift_name("init(blockId:collectionIndex:startState:endState:eventCollection:index:numberOfTransactions:totalComputationUsed:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowChunkCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowChunk *)doCopyBlockId:(NSString *)blockId collectionIndex:(NSString *)collectionIndex startState:(FlowBase64ByteArray *)startState endState:(FlowBase64ByteArray *)endState eventCollection:(FlowBase64ByteArray *)eventCollection index:(NSString *)index numberOfTransactions:(NSString *)numberOfTransactions totalComputationUsed:(NSString *)totalComputationUsed __attribute__((swift_name("doCopy(blockId:collectionIndex:startState:endState:eventCollection:index:numberOfTransactions:totalComputationUsed:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString *collectionIndex __attribute__((swift_name("collectionIndex"))); -@property (readonly) FlowBase64ByteArray *endState __attribute__((swift_name("endState"))); -@property (readonly) FlowBase64ByteArray *eventCollection __attribute__((swift_name("eventCollection"))); -@property (readonly) NSString *index __attribute__((swift_name("index"))); -@property (readonly) NSString *numberOfTransactions __attribute__((swift_name("numberOfTransactions"))); -@property (readonly) FlowBase64ByteArray *startState __attribute__((swift_name("startState"))); -@property (readonly) NSString *totalComputationUsed __attribute__((swift_name("totalComputationUsed"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Chunk.Companion"))) -@interface FlowChunkCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChunkCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Collection"))) -@interface FlowCollection : FlowBase -- (instancetype)initWithId:(NSString *)id expandable:(FlowCollectionExpandable *)expandable transactions:(NSArray * _Nullable)transactions links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(id:expandable:transactions:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCollectionCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollectionExpandable *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollection *)doCopyId:(NSString *)id expandable:(FlowCollectionExpandable *)expandable transactions:(NSArray * _Nullable)transactions links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(id:expandable:transactions:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCollectionExpandable *expandable __attribute__((swift_name("expandable"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) NSArray * _Nullable transactions __attribute__((swift_name("transactions"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Collection.Companion"))) -@interface FlowCollectionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCollectionCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionExpandable"))) -@interface FlowCollectionExpandable : FlowBase -- (instancetype)initWithTransactions:(NSArray * _Nullable)transactions __attribute__((swift_name("init(transactions:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCollectionExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollectionExpandable *)doCopyTransactions:(NSArray * _Nullable)transactions __attribute__((swift_name("doCopy(transactions:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray * _Nullable transactions __attribute__((swift_name("transactions"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionExpandable.Companion"))) -@interface FlowCollectionExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCollectionExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionGuarantee"))) -@interface FlowCollectionGuarantee : FlowBase -- (instancetype)initWithCollectionId:(NSString *)collectionId signerIds:(NSArray * _Nullable)signerIds signature:(FlowBase64ByteArray *)signature __attribute__((swift_name("init(collectionId:signerIds:signature:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCollectionGuaranteeCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollectionGuarantee *)doCopyCollectionId:(NSString *)collectionId signerIds:(NSArray * _Nullable)signerIds signature:(FlowBase64ByteArray *)signature __attribute__((swift_name("doCopy(collectionId:signerIds:signature:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *collectionId __attribute__((swift_name("collectionId"))); -@property (readonly) FlowBase64ByteArray *signature __attribute__((swift_name("signature"))); -@property (readonly) NSArray * _Nullable signerIds __attribute__((swift_name("signerIds"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionGuarantee.Companion"))) -@interface FlowCollectionGuaranteeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCollectionGuaranteeCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("DomainTag"))) -@interface FlowDomainTag : FlowBase -@property (readonly) FlowKotlinByteArray *bytes __attribute__((swift_name("bytes"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.AccountProof"))) -@interface FlowDomainTagAccountProof : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagAccountProof *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.Custom"))) -@interface FlowDomainTagCustom : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagCustom *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.Transaction"))) -@interface FlowDomainTagTransaction : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagTransaction *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.User"))) -@interface FlowDomainTagUser : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagUser *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Error"))) -@interface FlowError : FlowBase -- (instancetype)initWithCode:(FlowInt * _Nullable)code message:(NSString * _Nullable)message __attribute__((swift_name("init(code:message:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowErrorCompanion *companion __attribute__((swift_name("companion"))); -- (FlowInt * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowError *)doCopyCode:(FlowInt * _Nullable)code message:(NSString * _Nullable)message __attribute__((swift_name("doCopy(code:message:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowInt * _Nullable code __attribute__((swift_name("code"))); -@property (readonly) NSString * _Nullable message __attribute__((swift_name("message"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Error.Companion"))) -@interface FlowErrorCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowErrorCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Event"))) -@interface FlowEvent : FlowBase -- (instancetype)initWithType:(NSString *)type transactionId:(NSString *)transactionId transactionIndex:(NSString *)transactionIndex eventIndex:(NSString *)eventIndex payload:(FlowCadenceValue *)payload __attribute__((swift_name("init(type:transactionId:transactionIndex:eventIndex:payload:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowEventCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValue *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowEvent *)doCopyType:(NSString *)type transactionId:(NSString *)transactionId transactionIndex:(NSString *)transactionIndex eventIndex:(NSString *)eventIndex payload:(FlowCadenceValue *)payload __attribute__((swift_name("doCopy(type:transactionId:transactionIndex:eventIndex:payload:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *eventIndex __attribute__((swift_name("eventIndex"))); -@property (readonly) FlowCadenceValue *payload __attribute__((swift_name("payload"))); -@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); -@property (readonly) NSString *transactionIndex __attribute__((swift_name("transactionIndex"))); -@property (readonly) NSString *type __attribute__((swift_name("type"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Event.Companion"))) -@interface FlowEventCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowEventCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ExecutionResult"))) -@interface FlowExecutionResult : FlowBase -- (instancetype)initWithId:(NSString *)id blockId:(NSString *)blockId events:(NSArray *)events previousResultId:(NSString * _Nullable)previousResultId chunks:(NSArray * _Nullable)chunks links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(id:blockId:events:previousResultId:chunks:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowExecutionResultCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowExecutionResult *)doCopyId:(NSString *)id blockId:(NSString *)blockId events:(NSArray *)events previousResultId:(NSString * _Nullable)previousResultId chunks:(NSArray * _Nullable)chunks links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(id:blockId:events:previousResultId:chunks:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSArray * _Nullable chunks __attribute__((swift_name("chunks"))); -@property (readonly) NSArray *events __attribute__((swift_name("events"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) NSString * _Nullable previousResultId __attribute__((swift_name("previousResultId"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ExecutionResult.Companion"))) -@interface FlowExecutionResultCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowExecutionResultCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("HashingAlgorithm"))) -@interface FlowHashingAlgorithm : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowHashingAlgorithmCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowHashingAlgorithm *sha2256 __attribute__((swift_name("sha2256"))); -@property (class, readonly) FlowHashingAlgorithm *sha2384 __attribute__((swift_name("sha2384"))); -@property (class, readonly) FlowHashingAlgorithm *sha3256 __attribute__((swift_name("sha3256"))); -@property (class, readonly) FlowHashingAlgorithm *sha3384 __attribute__((swift_name("sha3384"))); -@property (class, readonly) FlowHashingAlgorithm *kmac128BlsBls12381 __attribute__((swift_name("kmac128BlsBls12381"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("HashingAlgorithm.Companion"))) -@interface FlowHashingAlgorithmCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowHashingAlgorithmCompanion *shared __attribute__((swift_name("shared"))); -- (FlowHashingAlgorithm * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Links"))) -@interface FlowLinks : FlowBase -- (instancetype)initWithSelf:(NSString * _Nullable)self __attribute__((swift_name("init(self:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowLinksCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks *)doCopySelf:(NSString * _Nullable)self __attribute__((swift_name("doCopy(self:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable self __attribute__((swift_name("self"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Links.Companion"))) -@interface FlowLinksCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowLinksCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ProposalKey"))) -@interface FlowProposalKey : FlowBase -- (instancetype)initWithAddress:(NSString *)address keyIndex:(int32_t)keyIndex sequenceNumber:(FlowBignumBigInteger *)sequenceNumber __attribute__((swift_name("init(address:keyIndex:sequenceNumber:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowProposalKeyCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowProposalKey *)doCopyAddress:(NSString *)address keyIndex:(int32_t)keyIndex sequenceNumber:(FlowBignumBigInteger *)sequenceNumber __attribute__((swift_name("doCopy(address:keyIndex:sequenceNumber:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) int32_t keyIndex __attribute__((swift_name("keyIndex"))); -@property (readonly) FlowBignumBigInteger *sequenceNumber __attribute__((swift_name("sequenceNumber"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ProposalKey.Companion"))) -@interface FlowProposalKeyCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowProposalKeyCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostRequest"))) -@interface FlowScriptsPostRequest : FlowBase -- (instancetype)initWithScript:(NSString * _Nullable)script arguments:(NSArray * _Nullable)arguments __attribute__((swift_name("init(script:arguments:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowScriptsPostRequestCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowScriptsPostRequest *)doCopyScript:(NSString * _Nullable)script arguments:(NSArray * _Nullable)arguments __attribute__((swift_name("doCopy(script:arguments:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray * _Nullable arguments __attribute__((swift_name("arguments"))); -@property (readonly) NSString * _Nullable script __attribute__((swift_name("script"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostRequest.Companion"))) -@interface FlowScriptsPostRequestCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowScriptsPostRequestCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostResponse"))) -@interface FlowScriptsPostResponse : FlowBase -- (instancetype)initWithValue:(FlowBase64ByteArray * _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowScriptsPostResponseCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBase64ByteArray * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowScriptsPostResponse *)doCopyValue:(FlowBase64ByteArray * _Nullable)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBase64ByteArray * _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostResponse.Companion"))) -@interface FlowScriptsPostResponseCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowScriptsPostResponseCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("SigningAlgorithm"))) -@interface FlowSigningAlgorithm : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowSigningAlgorithmCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowSigningAlgorithm *blsBls12381 __attribute__((swift_name("blsBls12381"))); -@property (class, readonly) FlowSigningAlgorithm *ecdsaP256 __attribute__((swift_name("ecdsaP256"))); -@property (class, readonly) FlowSigningAlgorithm *ecdsaSecp256k1 __attribute__((swift_name("ecdsaSecp256k1"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("SigningAlgorithm.Companion"))) -@interface FlowSigningAlgorithmCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowSigningAlgorithmCompanion *shared __attribute__((swift_name("shared"))); -- (FlowSigningAlgorithm * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Transaction"))) -@interface FlowTransaction : FlowBase -- (instancetype)initWithId:(NSString * _Nullable)id script:(NSString *)script arguments:(NSArray *)arguments referenceBlockId:(NSString *)referenceBlockId gasLimit:(FlowBignumBigInteger *)gasLimit payer:(NSString *)payer proposalKey:(FlowProposalKey *)proposalKey authorizers:(NSArray *)authorizers payloadSignatures:(NSArray *)payloadSignatures envelopeSignatures:(NSArray *)envelopeSignatures expandable:(FlowTransactionExpandable * _Nullable)expandable result:(FlowTransactionResult * _Nullable)result links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(id:script:arguments:referenceBlockId:gasLimit:payer:proposalKey:authorizers:payloadSignatures:envelopeSignatures:expandable:result:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component10 __attribute__((swift_name("component10()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionExpandable * _Nullable)component11 __attribute__((swift_name("component11()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionResult * _Nullable)component12 __attribute__((swift_name("component12()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component13 __attribute__((swift_name("component13()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowProposalKey *)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component9 __attribute__((swift_name("component9()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransaction *)doCopyId:(NSString * _Nullable)id script:(NSString *)script arguments:(NSArray *)arguments referenceBlockId:(NSString *)referenceBlockId gasLimit:(FlowBignumBigInteger *)gasLimit payer:(NSString *)payer proposalKey:(FlowProposalKey *)proposalKey authorizers:(NSArray *)authorizers payloadSignatures:(NSArray *)payloadSignatures envelopeSignatures:(NSArray *)envelopeSignatures expandable:(FlowTransactionExpandable * _Nullable)expandable result:(FlowTransactionResult * _Nullable)result links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(id:script:arguments:referenceBlockId:gasLimit:payer:proposalKey:authorizers:payloadSignatures:envelopeSignatures:expandable:result:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *arguments __attribute__((swift_name("arguments"))); -@property (readonly) NSArray *authorizers __attribute__((swift_name("authorizers"))); -@property (readonly) NSArray *envelopeSignatures __attribute__((swift_name("envelopeSignatures"))); -@property (readonly) FlowTransactionExpandable * _Nullable expandable __attribute__((swift_name("expandable"))); -@property (readonly) FlowBignumBigInteger *gasLimit __attribute__((swift_name("gasLimit"))); -@property (readonly) NSString * _Nullable id __attribute__((swift_name("id"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) NSString *payer __attribute__((swift_name("payer"))); -@property (readonly) NSArray *payloadSignatures __attribute__((swift_name("payloadSignatures"))); -@property (readonly) FlowProposalKey *proposalKey __attribute__((swift_name("proposalKey"))); -@property (readonly) NSString *referenceBlockId __attribute__((swift_name("referenceBlockId"))); -@property (readonly) FlowTransactionResult * _Nullable result __attribute__((swift_name("result"))); -@property (readonly) NSString *script __attribute__((swift_name("script"))); -@property (readonly) NSDictionary *signers __attribute__((swift_name("signers"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Transaction.Companion"))) -@interface FlowTransactionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExecution"))) -@interface FlowTransactionExecution : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowTransactionExecutionCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowTransactionExecution *pending __attribute__((swift_name("pending"))); -@property (class, readonly) FlowTransactionExecution *success __attribute__((swift_name("success"))); -@property (class, readonly) FlowTransactionExecution *failure __attribute__((swift_name("failure"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExecution.Companion"))) -@interface FlowTransactionExecutionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionExecutionCompanion *shared __attribute__((swift_name("shared"))); -- (FlowTransactionExecution * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExpandable"))) -@interface FlowTransactionExpandable : FlowBase -- (instancetype)initWithResult:(NSString * _Nullable)result __attribute__((swift_name("init(result:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionExpandable *)doCopyResult:(NSString * _Nullable)result __attribute__((swift_name("doCopy(result:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable result __attribute__((swift_name("result"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExpandable.Companion"))) -@interface FlowTransactionExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionResult"))) -@interface FlowTransactionResult : FlowBase -- (instancetype)initWithBlockId:(NSString *)blockId status:(FlowTransactionStatus *)status statusCode:(int32_t)statusCode errorMessage:(NSString *)errorMessage computationUsed:(NSString *)computationUsed events:(NSArray *)events execution:(FlowTransactionExecution * _Nullable)execution links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(blockId:status:statusCode:errorMessage:computationUsed:events:execution:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionResultCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionStatus *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionExecution * _Nullable)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionResult *)doCopyBlockId:(NSString *)blockId status:(FlowTransactionStatus *)status statusCode:(int32_t)statusCode errorMessage:(NSString *)errorMessage computationUsed:(NSString *)computationUsed events:(NSArray *)events execution:(FlowTransactionExecution * _Nullable)execution links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(blockId:status:statusCode:errorMessage:computationUsed:events:execution:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString *computationUsed __attribute__((swift_name("computationUsed"))); -@property (readonly) NSString *errorMessage __attribute__((swift_name("errorMessage"))); -@property (readonly) NSArray *events __attribute__((swift_name("events"))); -@property (readonly) FlowTransactionExecution * _Nullable execution __attribute__((swift_name("execution"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) FlowTransactionStatus *status __attribute__((swift_name("status"))); -@property (readonly) int32_t statusCode __attribute__((swift_name("statusCode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionResult.Companion"))) -@interface FlowTransactionResultCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionResultCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionSignature"))) -@interface FlowTransactionSignature : FlowBase -- (instancetype)initWithAddress:(NSString *)address keyIndex:(NSString *)keyIndex signature:(NSString *)signature __attribute__((swift_name("init(address:keyIndex:signature:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionSignatureCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionSignature *)doCopyAddress:(NSString *)address keyIndex:(NSString *)keyIndex signature:(NSString *)signature __attribute__((swift_name("doCopy(address:keyIndex:signature:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) NSString *keyIndex __attribute__((swift_name("keyIndex"))); -@property (readonly) NSString *signature __attribute__((swift_name("signature"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionSignature.Companion"))) -@interface FlowTransactionSignatureCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionSignatureCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionStatus"))) -@interface FlowTransactionStatus : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowTransactionStatusCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowTransactionStatus *pending __attribute__((swift_name("pending"))); -@property (class, readonly) FlowTransactionStatus *finalized __attribute__((swift_name("finalized"))); -@property (class, readonly) FlowTransactionStatus *executed __attribute__((swift_name("executed"))); -@property (class, readonly) FlowTransactionStatus *sealed __attribute__((swift_name("sealed"))); -@property (class, readonly) FlowTransactionStatus *expired __attribute__((swift_name("expired"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionStatus.Companion"))) -@interface FlowTransactionStatusCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionStatusCompanion *shared __attribute__((swift_name("shared"))); -- (FlowTransactionStatus * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -@interface FlowFlowApi (Extensions) - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getAccountAddress:(NSString *)address completionHandler:(void (^)(FlowAccount * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getAccount(address:completionHandler:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinByteArray"))) -@interface FlowKotlinByteArray : FlowBase -+ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); -+ (instancetype)arrayWithSize:(int32_t)size init:(FlowByte *(^)(FlowInt *))init __attribute__((swift_name("init(size:init:)"))); -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); -- (FlowKotlinByteIterator *)iterator __attribute__((swift_name("iterator()"))); -- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)"))); -@property (readonly) int32_t size __attribute__((swift_name("size"))); -@end; - -@interface FlowKotlinByteArray (Extensions) -- (FlowRLPType *)decodeRLP __attribute__((swift_name("decodeRLP()"))); -- (FlowKotlinByteArray *)paddingZeroLeftBlockSize:(int32_t)blockSize __attribute__((swift_name("paddingZeroLeft(blockSize:)"))); -- (FlowKotlinByteArray *)paddingZeroRightBlockSize:(int32_t)blockSize __attribute__((swift_name("paddingZeroRight(blockSize:)"))); -- (FlowKotlinByteArray *)removeLeadingZero __attribute__((swift_name("removeLeadingZero()"))); -- (FlowRLPElement *)toRLP __attribute__((swift_name("toRLP()"))); -@end; - -@interface FlowRLPType (Extensions) -- (FlowKotlinByteArray *)encode __attribute__((swift_name("encode()"))); -@end; - -@interface FlowRLPElement (Extensions) -- (int8_t)toByteFromRLP __attribute__((swift_name("toByteFromRLP()"))); -- (int32_t)toIntFromRLP __attribute__((swift_name("toIntFromRLP()"))); -- (NSString *)toStringFromRLP __attribute__((swift_name("toStringFromRLP()"))); -- (FlowBignumBigInteger *)toUnsignedBigIntegerFromRLP __attribute__((swift_name("toUnsignedBigIntegerFromRLP()"))); -@end; - -__attribute__((swift_name("BignumBigNumber"))) -@protocol FlowBignumBigNumber -@required -- (id)abs __attribute__((swift_name("abs()"))); -- (id)addOther:(id)other __attribute__((swift_name("add(other:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (id)divideOther:(id)other __attribute__((swift_name("divide(other:)"))); -- (FlowKotlinPair, id> *)divideAndRemainderOther:(id)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (id)multiplyOther:(id)other __attribute__((swift_name("multiply(other:)"))); -- (id)negate __attribute__((swift_name("negate()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (id)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (id)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (id)remainderOther:(id)other __attribute__((swift_name("remainder(other:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (id)subtractOther:(id)other __attribute__((swift_name("subtract(other:)"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (id)unaryMinus __attribute__((swift_name("unaryMinus()"))); -@property (readonly) BOOL isNegative __attribute__((swift_name("isNegative"))); -@property (readonly) BOOL isPositive __attribute__((swift_name("isPositive"))); -@end; - -__attribute__((swift_name("BignumBitwiseCapable"))) -@protocol FlowBignumBitwiseCapable -@required -- (id _Nullable)andOther:(id _Nullable)other __attribute__((swift_name("and(other:)"))); -- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); -- (id _Nullable)not __attribute__((swift_name("not()"))); -- (id _Nullable)orOther:(id _Nullable)other __attribute__((swift_name("or(other:)"))); -- (id _Nullable)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); -- (id _Nullable)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); -- (id _Nullable)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); -- (id _Nullable)xorOther:(id _Nullable)other __attribute__((swift_name("xor(other:)"))); -@end; - -__attribute__((swift_name("BignumByteArraySerializable"))) -@protocol FlowBignumByteArraySerializable -@required -- (FlowKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); -- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger"))) -@interface FlowBignumBigInteger : FlowBase -- (instancetype)initWithLong:(int64_t)long_ __attribute__((swift_name("init(long:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithInt:(int32_t)int_ __attribute__((swift_name("init(int:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithShort:(int16_t)short_ __attribute__((swift_name("init(short:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithByte:(int8_t)byte __attribute__((swift_name("init(byte:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBignumBigIntegerCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)abs __attribute__((swift_name("abs()"))); -- (FlowBignumBigInteger *)addOther:(FlowBignumBigInteger *)other __attribute__((swift_name("add(other:)"))); -- (FlowBignumBigInteger *)andOther:(FlowBignumBigInteger *)other __attribute__((swift_name("and(other:)"))); -- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); -- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); -- (int32_t)compareOther:(FlowBignumBigInteger *)other __attribute__((swift_name("compare(other:)"))); -- (int32_t)compareDoubleAndBigIntDouble:(double)double_ comparisonBlock:(FlowInt *(^)(FlowBignumBigInteger *))comparisonBlock __attribute__((swift_name("compareDoubleAndBigInt(double:comparisonBlock:)"))); -- (int32_t)compareFloatAndBigIntFloat:(float)float_ comparisonBlock:(FlowInt *(^)(FlowBignumBigInteger *))comparisonBlock __attribute__((swift_name("compareFloatAndBigInt(float:comparisonBlock:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); -- (FlowBignumBigInteger *)dec __attribute__((swift_name("dec()"))); -- (FlowBignumBigInteger *)divideOther:(FlowBignumBigInteger *)other __attribute__((swift_name("divide(other:)"))); -- (FlowKotlinPair *)divideAndRemainderOther:(FlowBignumBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (FlowBignumBigIntegerQuotientAndRemainder *)divremOther:(FlowBignumBigInteger *)other __attribute__((swift_name("divrem(other:)"))); -- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (FlowBignumBigInteger *)factorial __attribute__((swift_name("factorial()"))); -- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); -- (FlowBignumBigInteger *)gcdOther:(FlowBignumBigInteger *)other __attribute__((swift_name("gcd(other:)"))); -- (id)getBackingArrayCopy __attribute__((swift_name("getBackingArrayCopy()"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (FlowBignumBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); -- (FlowBignumSign *)getSign __attribute__((swift_name("getSign()"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (FlowBignumBigInteger *)inc __attribute__((swift_name("inc()"))); -- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); -- (FlowBignumBigInteger *)modModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("mod(modulo:)"))); -- (FlowBignumBigInteger *)modInverseModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("modInverse(modulo:)"))); -- (FlowBignumBigInteger *)multiplyOther:(FlowBignumBigInteger *)other __attribute__((swift_name("multiply(other:)"))); -- (FlowBignumBigInteger *)negate __attribute__((swift_name("negate()"))); -- (FlowBignumBigInteger *)not __attribute__((swift_name("not()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (FlowBignumBigInteger *)orOther:(FlowBignumBigInteger *)other __attribute__((swift_name("or(other:)"))); -- (FlowBignumBigInteger *)powExponent__:(FlowBignumBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); -- (FlowBignumBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (FlowBignumBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (FlowBignumBigIntegerBigIntegerRange *)rangeToOther:(FlowBignumBigInteger *)other __attribute__((swift_name("rangeTo(other:)"))); -- (FlowBignumBigInteger *)remainderOther:(FlowBignumBigInteger *)other __attribute__((swift_name("remainder(other:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (FlowBignumBigInteger *)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); -- (FlowBignumBigInteger *)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); -- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); -- (FlowBignumBigInteger *)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (FlowBignumBigInteger *)sqrt __attribute__((swift_name("sqrt()"))); -- (FlowBignumBigIntegerSqareRootAndRemainder *)sqrtAndRemainder __attribute__((swift_name("sqrtAndRemainder()"))); -- (FlowBignumBigInteger *)subtractOther:(FlowBignumBigInteger *)other __attribute__((swift_name("subtract(other:)"))); -- (NSString *)timesChar:(unichar)char_ __attribute__((swift_name("times(char:)"))); -- (FlowKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); -- (FlowBignumModularBigInteger *)toModularBigIntegerModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("toModularBigInteger(modulo:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); -- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); -- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); -- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); -- (FlowBignumBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); -- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); -- (FlowBignumBigInteger *)xorOther:(FlowBignumBigInteger *)other __attribute__((swift_name("xor(other:)"))); -@property (readonly) int32_t numberOfWords __attribute__((swift_name("numberOfWords"))); -@property NSString * _Nullable stringRepresentation __attribute__((swift_name("stringRepresentation"))); -@end; - -@interface FlowBignumBigInteger (Extensions) -- (FlowRLPElement *)toRLP __attribute__((swift_name("toRLP()"))); -@end; - -@interface FlowCadenceCompositeValue (Extensions) -- (id _Nullable)getFieldKey:(NSString *)key __attribute__((swift_name("getField(key:)"))); -- (NSDictionary *)toMap __attribute__((swift_name("toMap()"))); -@end; - -@interface FlowTransaction (Extensions) -- (NSArray *)payload __attribute__((swift_name("payload()"))); -- (FlowKotlinByteArray *)payloadMessage __attribute__((swift_name("payloadMessage()"))); -- (FlowRLPElement *)toRLP __attribute__((swift_name("toRLP()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("RLPTypeConverterKt"))) -@interface FlowRLPTypeConverterKt : FlowBase -+ (FlowKotlinByteArray *)toByteArray:(int32_t)receiver __attribute__((swift_name("toByteArray(_:)"))); -+ (FlowKotlinByteArray *)toMinimalByteArray:(int32_t)receiver __attribute__((swift_name("toMinimalByteArray(_:)"))); -+ (FlowRLPElement *)toRLP:(int8_t)receiver __attribute__((swift_name("toRLP(_:)"))); -+ (FlowRLPElement *)toRLP_:(int32_t)receiver __attribute__((swift_name("toRLP(__:)"))); -+ (FlowRLPElement *)toRLP__:(NSString *)receiver __attribute__((swift_name("toRLP(___:)"))); -+ (FlowRLPElement *)toRLP___:(NSArray *)receiver __attribute__((swift_name("toRLP(____:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceTypeKt"))) -@interface FlowCadenceTypeKt : FlowBase -@property (class, readonly) NSString *TYPE_ACCOUNTKEY __attribute__((swift_name("TYPE_ACCOUNTKEY"))); -@property (class, readonly) NSString *TYPE_ADDRESS __attribute__((swift_name("TYPE_ADDRESS"))); -@property (class, readonly) NSString *TYPE_ANY __attribute__((swift_name("TYPE_ANY"))); -@property (class, readonly) NSString *TYPE_ANYRESOURCE __attribute__((swift_name("TYPE_ANYRESOURCE"))); -@property (class, readonly) NSString *TYPE_ANYSTRUCT __attribute__((swift_name("TYPE_ANYSTRUCT"))); -@property (class, readonly) NSString *TYPE_ARRAY __attribute__((swift_name("TYPE_ARRAY"))); -@property (class, readonly) NSString *TYPE_AUTHACCOUNT __attribute__((swift_name("TYPE_AUTHACCOUNT"))); -@property (class, readonly) NSString *TYPE_AUTHACCOUNT_CONTRACTS __attribute__((swift_name("TYPE_AUTHACCOUNT_CONTRACTS"))); -@property (class, readonly) NSString *TYPE_AUTHACCOUNT_KEYS __attribute__((swift_name("TYPE_AUTHACCOUNT_KEYS"))); -@property (class, readonly) NSString *TYPE_BLOCK __attribute__((swift_name("TYPE_BLOCK"))); -@property (class, readonly) NSString *TYPE_BOOLEAN __attribute__((swift_name("TYPE_BOOLEAN"))); -@property (class, readonly) NSString *TYPE_BYTES __attribute__((swift_name("TYPE_BYTES"))); -@property (class, readonly) NSString *TYPE_CAPABILITY __attribute__((swift_name("TYPE_CAPABILITY"))); -@property (class, readonly) NSString *TYPE_CAPABILITYPATH __attribute__((swift_name("TYPE_CAPABILITYPATH"))); -@property (class, readonly) NSString *TYPE_CHARACTER __attribute__((swift_name("TYPE_CHARACTER"))); -@property (class, readonly) NSString *TYPE_CONSTANT_SIZED_ARRAY __attribute__((swift_name("TYPE_CONSTANT_SIZED_ARRAY"))); -@property (class, readonly) NSString *TYPE_CONTRACT __attribute__((swift_name("TYPE_CONTRACT"))); -@property (class, readonly) NSString *TYPE_CONTRACT_INTERFACE __attribute__((swift_name("TYPE_CONTRACT_INTERFACE"))); -@property (class, readonly) NSString *TYPE_DEPLOYEDCONTRACT __attribute__((swift_name("TYPE_DEPLOYEDCONTRACT"))); -@property (class, readonly) NSString *TYPE_DICTIONARY __attribute__((swift_name("TYPE_DICTIONARY"))); -@property (class, readonly) NSString *TYPE_ENUM __attribute__((swift_name("TYPE_ENUM"))); -@property (class, readonly) NSString *TYPE_EVENT __attribute__((swift_name("TYPE_EVENT"))); -@property (class, readonly) NSString *TYPE_FIX64 __attribute__((swift_name("TYPE_FIX64"))); -@property (class, readonly) NSString *TYPE_FIXEDPOINT __attribute__((swift_name("TYPE_FIXEDPOINT"))); -@property (class, readonly) NSString *TYPE_FUNCTION __attribute__((swift_name("TYPE_FUNCTION"))); -@property (class, readonly) NSString *TYPE_INT __attribute__((swift_name("TYPE_INT"))); -@property (class, readonly) NSString *TYPE_INT128 __attribute__((swift_name("TYPE_INT128"))); -@property (class, readonly) NSString *TYPE_INT16 __attribute__((swift_name("TYPE_INT16"))); -@property (class, readonly) NSString *TYPE_INT256 __attribute__((swift_name("TYPE_INT256"))); -@property (class, readonly) NSString *TYPE_INT32 __attribute__((swift_name("TYPE_INT32"))); -@property (class, readonly) NSString *TYPE_INT64 __attribute__((swift_name("TYPE_INT64"))); -@property (class, readonly) NSString *TYPE_INT8 __attribute__((swift_name("TYPE_INT8"))); -@property (class, readonly) NSString *TYPE_INTEGER __attribute__((swift_name("TYPE_INTEGER"))); -@property (class, readonly) NSString *TYPE_NEVER __attribute__((swift_name("TYPE_NEVER"))); -@property (class, readonly) NSString *TYPE_NUMBER __attribute__((swift_name("TYPE_NUMBER"))); -@property (class, readonly) NSString *TYPE_OPTIONAL __attribute__((swift_name("TYPE_OPTIONAL"))); -@property (class, readonly) NSString *TYPE_PATH __attribute__((swift_name("TYPE_PATH"))); -@property (class, readonly) NSString *TYPE_PRIVATEPATH __attribute__((swift_name("TYPE_PRIVATEPATH"))); -@property (class, readonly) NSString *TYPE_PUBLICACCOUNT __attribute__((swift_name("TYPE_PUBLICACCOUNT"))); -@property (class, readonly) NSString *TYPE_PUBLICACCOUNT_CONTRACTS __attribute__((swift_name("TYPE_PUBLICACCOUNT_CONTRACTS"))); -@property (class, readonly) NSString *TYPE_PUBLICACCOUNT_KEYS __attribute__((swift_name("TYPE_PUBLICACCOUNT_KEYS"))); -@property (class, readonly) NSString *TYPE_PUBLICPATH __attribute__((swift_name("TYPE_PUBLICPATH"))); -@property (class, readonly) NSString *TYPE_REFERENCE __attribute__((swift_name("TYPE_REFERENCE"))); -@property (class, readonly) NSString *TYPE_RESOURCE __attribute__((swift_name("TYPE_RESOURCE"))); -@property (class, readonly) NSString *TYPE_RESOURCE_INTERFACE __attribute__((swift_name("TYPE_RESOURCE_INTERFACE"))); -@property (class, readonly) NSString *TYPE_RESTRICTION __attribute__((swift_name("TYPE_RESTRICTION"))); -@property (class, readonly) NSString *TYPE_SIGNEDFIXEDPOINT __attribute__((swift_name("TYPE_SIGNEDFIXEDPOINT"))); -@property (class, readonly) NSString *TYPE_SIGNEDINTEGER __attribute__((swift_name("TYPE_SIGNEDINTEGER"))); -@property (class, readonly) NSString *TYPE_SIGNEDNUMBER __attribute__((swift_name("TYPE_SIGNEDNUMBER"))); -@property (class, readonly) NSString *TYPE_STORAGEPATH __attribute__((swift_name("TYPE_STORAGEPATH"))); -@property (class, readonly) NSString *TYPE_STRING __attribute__((swift_name("TYPE_STRING"))); -@property (class, readonly) NSString *TYPE_STRUCT __attribute__((swift_name("TYPE_STRUCT"))); -@property (class, readonly) NSString *TYPE_STRUCT_INTERFACE __attribute__((swift_name("TYPE_STRUCT_INTERFACE"))); -@property (class, readonly) NSString *TYPE_TYPE __attribute__((swift_name("TYPE_TYPE"))); -@property (class, readonly) NSString *TYPE_UFIX64 __attribute__((swift_name("TYPE_UFIX64"))); -@property (class, readonly) NSString *TYPE_UINT __attribute__((swift_name("TYPE_UINT"))); -@property (class, readonly) NSString *TYPE_UINT128 __attribute__((swift_name("TYPE_UINT128"))); -@property (class, readonly) NSString *TYPE_UINT16 __attribute__((swift_name("TYPE_UINT16"))); -@property (class, readonly) NSString *TYPE_UINT256 __attribute__((swift_name("TYPE_UINT256"))); -@property (class, readonly) NSString *TYPE_UINT32 __attribute__((swift_name("TYPE_UINT32"))); -@property (class, readonly) NSString *TYPE_UINT64 __attribute__((swift_name("TYPE_UINT64"))); -@property (class, readonly) NSString *TYPE_UINT8 __attribute__((swift_name("TYPE_UINT8"))); -@property (class, readonly) NSString *TYPE_VARIABLE_SIZED_ARRAY __attribute__((swift_name("TYPE_VARIABLE_SIZED_ARRAY"))); -@property (class, readonly) NSString *TYPE_VOID __attribute__((swift_name("TYPE_VOID"))); -@property (class, readonly) NSString *TYPE_WORD16 __attribute__((swift_name("TYPE_WORD16"))); -@property (class, readonly) NSString *TYPE_WORD32 __attribute__((swift_name("TYPE_WORD32"))); -@property (class, readonly) NSString *TYPE_WORD64 __attribute__((swift_name("TYPE_WORD64"))); -@property (class, readonly) NSString *TYPE_WORD8 __attribute__((swift_name("TYPE_WORD8"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ApiAbstractionsKt"))) -@interface FlowApiAbstractionsKt : FlowBase -+ (NSString *)collectionDelimiterCollectionFormat:(NSString *)collectionFormat __attribute__((swift_name("collectionDelimiter(collectionFormat:)"))); -+ (NSArray *)toMultiValueItems:(FlowKotlinArray *)items collectionFormat:(NSString *)collectionFormat map:(NSString *(^)(id _Nullable))map __attribute__((swift_name("toMultiValue(items:collectionFormat:map:)"))); -+ (NSArray *)toMultiValueItems:(id)items collectionFormat:(NSString *)collectionFormat map_:(NSString *(^)(id _Nullable))map __attribute__((swift_name("toMultiValue(items:collectionFormat:map_:)"))); -@property (class, readonly) NSString *(^defaultMultiValueConverter)(id _Nullable) __attribute__((swift_name("defaultMultiValueConverter"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceDecodeKt"))) -@interface FlowCadenceDecodeKt : FlowBase -+ (NSString *)addHexPrefix:(NSString *)receiver __attribute__((swift_name("addHexPrefix(_:)"))); -+ (NSArray *)decode:(NSArray *)receiver __attribute__((swift_name("decode(_:)"))); -+ (NSArray *)decodeToAny:(NSArray *)receiver __attribute__((swift_name("decodeToAny(_:)"))); -+ (NSArray *)encodeBase64:(NSArray *)receiver __attribute__((swift_name("encodeBase64(_:)"))); -+ (NSString *)removeHexPrefix:(NSString *)receiver __attribute__((swift_name("removeHexPrefix(_:)"))); -+ (FlowKotlinx_serialization_jsonJsonElement *)toJsonElement:(id _Nullable)receiver __attribute__((swift_name("toJsonElement(_:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceKt"))) -@interface FlowCadenceKt : FlowBase -+ (id _Nullable)getField:(NSArray *)receiver key:(NSString *)key __attribute__((swift_name("getField(_:key:)"))); -@end; - -__attribute__((swift_name("KotlinIllegalStateException"))) -@interface FlowKotlinIllegalStateException : FlowKotlinRuntimeException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((swift_name("KotlinCancellationException"))) -@interface FlowKotlinCancellationException : FlowKotlinIllegalStateException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinArray"))) -@interface FlowKotlinArray : FlowBase -+ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(FlowInt *))init __attribute__((swift_name("init(size:init:)"))); -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); -- (id)iterator __attribute__((swift_name("iterator()"))); -- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)"))); -@property (readonly) int32_t size __attribute__((swift_name("size"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreCoroutineScope"))) -@protocol FlowKotlinx_coroutines_coreCoroutineScope -@required -@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); -@end; - -__attribute__((swift_name("Ktor_ioCloseable"))) -@protocol FlowKtor_ioCloseable -@required -- (void)close __attribute__((swift_name("close()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpClient"))) -@interface FlowKtor_client_coreHttpClient : FlowBase -- (instancetype)initWithEngine:(id)engine userConfig:(FlowKtor_client_coreHttpClientConfig *)userConfig __attribute__((swift_name("init(engine:userConfig:)"))) __attribute__((objc_designated_initializer)); -- (void)close __attribute__((swift_name("close()"))); -- (FlowKtor_client_coreHttpClient *)configBlock:(void (^)(FlowKtor_client_coreHttpClientConfig *))block __attribute__((swift_name("config(block:)"))); -- (BOOL)isSupportedCapability:(id)capability __attribute__((swift_name("isSupported(capability:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); -@property (readonly) id engine __attribute__((swift_name("engine"))); -@property (readonly) FlowKtor_client_coreHttpClientEngineConfig *engineConfig __attribute__((swift_name("engineConfig"))); -@property (readonly) FlowKtor_eventsEvents *monitor __attribute__((swift_name("monitor"))); -@property (readonly) FlowKtor_client_coreHttpReceivePipeline *receivePipeline __attribute__((swift_name("receivePipeline"))); -@property (readonly) FlowKtor_client_coreHttpRequestPipeline *requestPipeline __attribute__((swift_name("requestPipeline"))); -@property (readonly) FlowKtor_client_coreHttpResponsePipeline *responsePipeline __attribute__((swift_name("responsePipeline"))); -@property (readonly) FlowKtor_client_coreHttpSendPipeline *sendPipeline __attribute__((swift_name("sendPipeline"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreEncoder"))) -@protocol FlowKotlinx_serialization_coreEncoder -@required -- (id)beginCollectionDescriptor:(id)descriptor collectionSize:(int32_t)collectionSize __attribute__((swift_name("beginCollection(descriptor:collectionSize:)"))); -- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); -- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); -- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); -- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); -- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); -- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); -- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); -- (id)encodeInlineDescriptor:(id)descriptor __attribute__((swift_name("encodeInline(descriptor:)"))); -- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); -- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); -- (void)encodeNotNullMark __attribute__((swift_name("encodeNotNullMark()"))); -- (void)encodeNull __attribute__((swift_name("encodeNull()"))); -- (void)encodeNullableSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableValue(serializer:value:)"))); -- (void)encodeSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableValue(serializer:value:)"))); -- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); -- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerialDescriptor"))) -@protocol FlowKotlinx_serialization_coreSerialDescriptor -@required -- (NSArray> *)getElementAnnotationsIndex:(int32_t)index __attribute__((swift_name("getElementAnnotations(index:)"))); -- (id)getElementDescriptorIndex:(int32_t)index __attribute__((swift_name("getElementDescriptor(index:)"))); -- (int32_t)getElementIndexName:(NSString *)name __attribute__((swift_name("getElementIndex(name:)"))); -- (NSString *)getElementNameIndex:(int32_t)index __attribute__((swift_name("getElementName(index:)"))); -- (BOOL)isElementOptionalIndex:(int32_t)index __attribute__((swift_name("isElementOptional(index:)"))); -@property (readonly) NSArray> *annotations __attribute__((swift_name("annotations"))); -@property (readonly) int32_t elementsCount __attribute__((swift_name("elementsCount"))); -@property (readonly) BOOL isInline __attribute__((swift_name("isInline"))); -@property (readonly) BOOL isNullable __attribute__((swift_name("isNullable"))); -@property (readonly) FlowKotlinx_serialization_coreSerialKind *kind __attribute__((swift_name("kind"))); -@property (readonly) NSString *serialName __attribute__((swift_name("serialName"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreDecoder"))) -@protocol FlowKotlinx_serialization_coreDecoder -@required -- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); -- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); -- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); -- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); -- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); -- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); -- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); -- (id)decodeInlineDescriptor:(id)descriptor __attribute__((swift_name("decodeInline(descriptor:)"))); -- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); -- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); -- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); -- (FlowKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); -- (id _Nullable)decodeNullableSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeNullableSerializableValue(deserializer:)"))); -- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeSerializableValue(deserializer:)"))); -- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); -- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigDecimal"))) -@interface FlowBignumBigDecimal : FlowBase -@property (class, readonly, getter=companion) FlowBignumBigDecimalCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigDecimal *)abs __attribute__((swift_name("abs()"))); -- (FlowBignumBigDecimal *)addOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("add(other:)"))); -- (FlowBignumBigDecimal *)addOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("add(other:decimalMode:)"))); -- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)ceil __attribute__((swift_name("ceil()"))); -- (int32_t)compareOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("compare(other:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); -- (FlowBignumBigDecimal *)doCopySignificand:(FlowBignumBigInteger *)significand exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("doCopy(significand:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)dec __attribute__((swift_name("dec()"))); -- (FlowBignumBigDecimal *)divOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("div(other:)"))); -- (FlowBignumBigDecimal *)divideOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("divide(other:)"))); -- (FlowBignumBigDecimal *)divideOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("divide(other:decimalMode:)"))); -- (FlowKotlinPair *)divideAndRemainderOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (FlowKotlinPair *)divremOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("divrem(other:)"))); -- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)floor __attribute__((swift_name("floor()"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (FlowBignumBigDecimal *)getInstance __attribute__((swift_name("getInstance()"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (FlowBignumBigDecimal *)inc __attribute__((swift_name("inc()"))); -- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); -- (BOOL)isWholeNumber __attribute__((swift_name("isWholeNumber()"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)minusOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("minus(other:)"))); -- (FlowBignumBigDecimal *)moveDecimalPointPlaces:(int32_t)places __attribute__((swift_name("moveDecimalPoint(places:)"))); -- (FlowBignumBigDecimal *)moveDecimalPointPlaces_:(int64_t)places __attribute__((swift_name("moveDecimalPoint(places_:)"))); -- (FlowBignumBigDecimal *)multiplyOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("multiply(other:)"))); -- (FlowBignumBigDecimal *)multiplyOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("multiply(other:decimalMode:)"))); -- (FlowBignumBigDecimal *)negate __attribute__((swift_name("negate()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (FlowBignumBigDecimal *)plusOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("plus(other:)"))); -- (FlowBignumBigDecimal *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (FlowBignumBigDecimal *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (FlowBignumBigDecimal *)remOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("rem(other:)"))); -- (FlowBignumBigDecimal *)remainderOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("remainder(other:)"))); -- (FlowBignumBigDecimal *)removeScale __attribute__((swift_name("removeScale()"))); -- (FlowBignumBigDecimal *)roundSignificandDecimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("roundSignificand(decimalMode:)"))); -- (FlowBignumBigDecimal *)roundToDigitPositionDigitPosition:(int64_t)digitPosition roundingMode:(FlowBignumRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPosition(digitPosition:roundingMode:)"))); -- (FlowBignumBigDecimal *)roundToDigitPositionAfterDecimalPointDigitPosition:(int64_t)digitPosition roundingMode:(FlowBignumRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPositionAfterDecimalPoint(digitPosition:roundingMode:)"))); -- (FlowBignumBigDecimal *)scaleScale:(int64_t)scale __attribute__((swift_name("scale(scale:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (FlowBignumBigDecimal *)subtractOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("subtract(other:)"))); -- (FlowBignumBigDecimal *)subtractOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("subtract(other:decimalMode:)"))); -- (FlowBignumBigDecimal *)timesOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("times(other:)"))); -- (FlowBignumBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); -- (NSString *)toPlainString __attribute__((swift_name("toPlainString()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (NSString *)toStringExpanded __attribute__((swift_name("toStringExpanded()"))); -- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); -- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); -- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)unaryMinus __attribute__((swift_name("unaryMinus()"))); -- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); -- (NSString *)times:(int64_t)receiver char:(unichar)char_ __attribute__((swift_name("times(_:char:)"))); -@property (readonly) FlowBignumDecimalMode * _Nullable decimalMode __attribute__((swift_name("decimalMode"))); -@property (readonly) int64_t exponent __attribute__((swift_name("exponent"))); -@property (readonly) int64_t precision __attribute__((swift_name("precision"))); -@property (readonly) int64_t precisionLimit __attribute__((swift_name("precisionLimit"))); -@property (readonly) FlowBignumRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); -@property (readonly) int64_t scale __attribute__((swift_name("scale"))); -@property (readonly) FlowBignumBigInteger *significand __attribute__((swift_name("significand"))); -@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinPair"))) -@interface FlowKotlinPair<__covariant A, __covariant B> : FlowBase -- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer)); -- (A _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (B _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKotlinPair *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)"))); -- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)"))); -- (int32_t)hashCode __attribute__((swift_name("hashCode()"))); -- (NSString *)toString __attribute__((swift_name("toString()"))); -@property (readonly) A _Nullable first __attribute__((swift_name("first"))); -@property (readonly) B _Nullable second __attribute__((swift_name("second"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinEnumCompanion"))) -@interface FlowKotlinEnumCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinEnumCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_jsonJsonElement"))) -@interface FlowKotlinx_serialization_jsonJsonElement : FlowBase -@property (class, readonly, getter=companion) FlowKotlinx_serialization_jsonJsonElementCompanion *companion __attribute__((swift_name("companion"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerialFormat"))) -@protocol FlowKotlinx_serialization_coreSerialFormat -@required -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreStringFormat"))) -@protocol FlowKotlinx_serialization_coreStringFormat -@required -- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); -- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_jsonJson"))) -@interface FlowKotlinx_serialization_jsonJson : FlowBase -@property (class, readonly, getter=companion) FlowKotlinx_serialization_jsonJsonDefault *companion __attribute__((swift_name("companion"))); -- (id _Nullable)decodeFromJsonElementDeserializer:(id)deserializer element:(FlowKotlinx_serialization_jsonJsonElement *)element __attribute__((swift_name("decodeFromJsonElement(deserializer:element:)"))); -- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); -- (FlowKotlinx_serialization_jsonJsonElement *)encodeToJsonElementSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToJsonElement(serializer:value:)"))); -- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); -- (FlowKotlinx_serialization_jsonJsonElement *)parseToJsonElementString:(NSString *)string __attribute__((swift_name("parseToJsonElement(string:)"))); -@property (readonly) FlowKotlinx_serialization_jsonJsonConfiguration *configuration __attribute__((swift_name("configuration"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinUnit"))) -@interface FlowKotlinUnit : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)unit __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinUnit *shared __attribute__((swift_name("shared"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((swift_name("KotlinIterator"))) -@protocol FlowKotlinIterator -@required -- (BOOL)hasNext __attribute__((swift_name("hasNext()"))); -- (id _Nullable)next __attribute__((swift_name("next()"))); -@end; - -__attribute__((swift_name("KotlinByteIterator"))) -@interface FlowKotlinByteIterator : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (FlowByte *)next __attribute__((swift_name("next()"))); -- (int8_t)nextByte __attribute__((swift_name("nextByte()"))); -@end; - -__attribute__((swift_name("BignumBigNumberCreator"))) -@protocol FlowBignumBigNumberCreator -@required -- (id _Nullable)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); -- (id _Nullable)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); -- (id _Nullable)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); -- (id _Nullable)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); -- (id _Nullable)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); -- (id _Nullable)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); -- (id _Nullable)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); -- (id _Nullable)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); -- (id _Nullable)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); -- (id _Nullable)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); -- (id _Nullable)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); -- (id _Nullable)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); -@property (readonly) id _Nullable ONE __attribute__((swift_name("ONE"))); -@property (readonly) id _Nullable TEN __attribute__((swift_name("TEN"))); -@property (readonly) id _Nullable TWO __attribute__((swift_name("TWO"))); -@property (readonly) id _Nullable ZERO __attribute__((swift_name("ZERO"))); -@end; - -__attribute__((swift_name("BignumBigNumberUtil"))) -@protocol FlowBignumBigNumberUtil -@required -- (id _Nullable)maxFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("max(first:second:)"))); -- (id _Nullable)minFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("min(first:second:)"))); -@end; - -__attribute__((swift_name("BignumByteArrayDeserializable"))) -@protocol FlowBignumByteArrayDeserializable -@required -- (id)fromByteArraySource:(FlowKotlinByteArray *)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); -- (id)fromUByteArraySource:(id)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.Companion"))) -@interface FlowBignumBigIntegerCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumBigIntegerCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigInteger *)createFromWordArrayWordArray:(id)wordArray requestedSign:(FlowBignumSign *)requestedSign __attribute__((swift_name("createFromWordArray(wordArray:requestedSign:)"))); -- (FlowBignumBigInteger *)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); -- (FlowBignumBigInteger *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); -- (FlowBignumBigInteger *)fromByteArraySource:(FlowKotlinByteArray *)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); -- (FlowBignumBigInteger *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); -- (FlowBignumBigInteger *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); -- (FlowBignumBigInteger *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); -- (FlowBignumBigInteger *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); -- (FlowBignumBigInteger *)fromUByteArraySource:(id)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); -- (FlowBignumBigInteger *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); -- (FlowBignumBigInteger *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); -- (FlowBignumBigInteger *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); -- (FlowBignumBigInteger *)maxFirst:(FlowBignumBigInteger *)first second:(FlowBignumBigInteger *)second __attribute__((swift_name("max(first:second:)"))); -- (FlowBignumBigInteger *)minFirst:(FlowBignumBigInteger *)first second:(FlowBignumBigInteger *)second __attribute__((swift_name("min(first:second:)"))); -- (FlowBignumBigInteger *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); -- (FlowBignumBigInteger *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); -- (FlowBignumBigInteger *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); -@property (readonly) double LOG_10_OF_2 __attribute__((swift_name("LOG_10_OF_2"))); -@property (readonly) FlowBignumBigInteger *ONE __attribute__((swift_name("ONE"))); -@property (readonly) FlowBignumBigInteger *TEN __attribute__((swift_name("TEN"))); -@property (readonly) FlowBignumBigInteger *TWO __attribute__((swift_name("TWO"))); -@property (readonly) FlowBignumBigInteger *ZERO __attribute__((swift_name("ZERO"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.QuotientAndRemainder"))) -@interface FlowBignumBigIntegerQuotientAndRemainder : FlowBase -- (instancetype)initWithQuotient:(FlowBignumBigInteger *)quotient remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigIntegerQuotientAndRemainder *)doCopyQuotient:(FlowBignumBigInteger *)quotient remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *quotient __attribute__((swift_name("quotient"))); -@property (readonly) FlowBignumBigInteger *remainder __attribute__((swift_name("remainder"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumSign"))) -@interface FlowBignumSign : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly) FlowBignumSign *positive __attribute__((swift_name("positive"))); -@property (class, readonly) FlowBignumSign *negative __attribute__((swift_name("negative"))); -@property (class, readonly) FlowBignumSign *zero __attribute__((swift_name("zero"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (FlowBignumSign *)not __attribute__((swift_name("not()"))); -- (int32_t)toInt __attribute__((swift_name("toInt()"))); -@end; - -__attribute__((swift_name("KotlinClosedRange"))) -@protocol FlowKotlinClosedRange -@required -- (BOOL)containsValue:(id)value __attribute__((swift_name("contains(value:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -@property (readonly) id endInclusive __attribute__((swift_name("endInclusive"))); -@property (readonly) id start __attribute__((swift_name("start"))); -@end; - -__attribute__((swift_name("KotlinIterable"))) -@protocol FlowKotlinIterable -@required -- (id)iterator __attribute__((swift_name("iterator()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.BigIntegerRange"))) -@interface FlowBignumBigIntegerBigIntegerRange : FlowBase -- (instancetype)initWithStart:(FlowBignumBigInteger *)start endInclusive:(FlowBignumBigInteger *)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); -- (id)iterator __attribute__((swift_name("iterator()"))); -@property (readonly) FlowBignumBigInteger *endInclusive __attribute__((swift_name("endInclusive"))); -@property (readonly) FlowBignumBigInteger *start __attribute__((swift_name("start"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.SqareRootAndRemainder"))) -@interface FlowBignumBigIntegerSqareRootAndRemainder : FlowBase -- (instancetype)initWithSquareRoot:(FlowBignumBigInteger *)squareRoot remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("init(squareRoot:remainder:)"))) __attribute__((objc_designated_initializer)); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigIntegerSqareRootAndRemainder *)doCopySquareRoot:(FlowBignumBigInteger *)squareRoot remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("doCopy(squareRoot:remainder:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *remainder __attribute__((swift_name("remainder"))); -@property (readonly) FlowBignumBigInteger *squareRoot __attribute__((swift_name("squareRoot"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumModularBigInteger"))) -@interface FlowBignumModularBigInteger : FlowBase -@property (class, readonly, getter=companion) FlowBignumModularBigIntegerCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumModularBigInteger *)abs __attribute__((swift_name("abs()"))); -- (FlowBignumModularBigInteger *)addOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("add(other:)"))); -- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); -- (int32_t)compareOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("compare(other:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (FlowBignumModularBigInteger *)divideOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("divide(other:)"))); -- (FlowKotlinPair *)divideAndRemainderOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (FlowBignumModularQuotientAndRemainder *)divremOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("divrem(other:)"))); -- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (FlowBignumModularBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); -- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); -- (FlowBignumModularBigInteger *)inverse __attribute__((swift_name("inverse()"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); -- (FlowBignumModularBigInteger *)multiplyOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("multiply(other:)"))); -- (FlowBignumModularBigInteger *)negate __attribute__((swift_name("negate()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (FlowBignumModularBigInteger *)powExponent__:(FlowBignumBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); -- (FlowBignumModularBigInteger *)powExponent___:(FlowBignumModularBigInteger *)exponent __attribute__((swift_name("pow(exponent___:)"))); -- (FlowBignumModularBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (FlowBignumModularBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (FlowBignumModularBigInteger *)remOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("rem(other:)"))); -- (FlowBignumModularBigInteger *)remainderOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("remainder(other:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (FlowBignumModularBigInteger *)subtractOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("subtract(other:)"))); -- (FlowBignumBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); -- (FlowKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (NSString *)toStringWithModuloBase:(int32_t)base __attribute__((swift_name("toStringWithModulo(base:)"))); -- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); -- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); -- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); -- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); -- (FlowBignumModularBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); -- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); -@property (readonly) FlowBignumBigInteger *modulus __attribute__((swift_name("modulus"))); -@property (readonly) FlowBignumBigInteger *residue __attribute__((swift_name("residue"))); -@end; - -__attribute__((swift_name("KotlinCoroutineContext"))) -@protocol FlowKotlinCoroutineContext -@required -- (id _Nullable)foldInitial:(id _Nullable)initial operation:(id _Nullable (^)(id _Nullable, id))operation __attribute__((swift_name("fold(initial:operation:)"))); -- (id _Nullable)getKey:(id)key __attribute__((swift_name("get(key:)"))); -- (id)minusKeyKey:(id)key __attribute__((swift_name("minusKey(key:)"))); -- (id)plusContext:(id)context __attribute__((swift_name("plus(context:)"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientEngine"))) -@protocol FlowKtor_client_coreHttpClientEngine -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)executeData:(FlowKtor_client_coreHttpRequestData *)data completionHandler:(void (^)(FlowKtor_client_coreHttpResponseData * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("execute(data:completionHandler:)"))); -- (void)installClient:(FlowKtor_client_coreHttpClient *)client __attribute__((swift_name("install(client:)"))); -@property (readonly) FlowKtor_client_coreHttpClientEngineConfig *config __attribute__((swift_name("config"))); -@property (readonly) FlowKotlinx_coroutines_coreCoroutineDispatcher *dispatcher __attribute__((swift_name("dispatcher"))); -@property (readonly) NSSet> *supportedCapabilities __attribute__((swift_name("supportedCapabilities"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientEngineConfig"))) -@interface FlowKtor_client_coreHttpClientEngineConfig : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property BOOL pipelining __attribute__((swift_name("pipelining"))); -@property FlowKtor_client_coreProxyConfig * _Nullable proxy __attribute__((swift_name("proxy"))); -@property int32_t threadsCount __attribute__((swift_name("threadsCount"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpClientConfig"))) -@interface FlowKtor_client_coreHttpClientConfig : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (FlowKtor_client_coreHttpClientConfig *)clone __attribute__((swift_name("clone()"))); -- (void)engineBlock:(void (^)(T))block __attribute__((swift_name("engine(block:)"))); -- (void)installClient:(FlowKtor_client_coreHttpClient *)client __attribute__((swift_name("install(client:)"))); -- (void)installPlugin:(id)plugin configure:(void (^)(id))configure __attribute__((swift_name("install(plugin:configure:)"))); -- (void)installKey:(NSString *)key block:(void (^)(FlowKtor_client_coreHttpClient *))block __attribute__((swift_name("install(key:block:)"))); -- (void)plusAssignOther:(FlowKtor_client_coreHttpClientConfig *)other __attribute__((swift_name("plusAssign(other:)"))); -@property BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@property BOOL expectSuccess __attribute__((swift_name("expectSuccess"))); -@property BOOL followRedirects __attribute__((swift_name("followRedirects"))); -@property BOOL useDefaultTransformers __attribute__((swift_name("useDefaultTransformers"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientEngineCapability"))) -@protocol FlowKtor_client_coreHttpClientEngineCapability -@required -@end; - -__attribute__((swift_name("Ktor_utilsAttributes"))) -@protocol FlowKtor_utilsAttributes -@required -- (id)computeIfAbsentKey:(FlowKtor_utilsAttributeKey *)key block:(id (^)(void))block __attribute__((swift_name("computeIfAbsent(key:block:)"))); -- (BOOL)containsKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("contains(key:)"))); -- (id)getKey_:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("get(key_:)"))); -- (id _Nullable)getOrNullKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("getOrNull(key:)"))); -- (void)putKey:(FlowKtor_utilsAttributeKey *)key value:(id)value __attribute__((swift_name("put(key:value:)"))); -- (void)removeKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("remove(key:)"))); -- (id)takeKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("take(key:)"))); -- (id _Nullable)takeOrNullKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("takeOrNull(key:)"))); -@property (readonly) NSArray *> *allKeys __attribute__((swift_name("allKeys"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_eventsEvents"))) -@interface FlowKtor_eventsEvents : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)raiseDefinition:(FlowKtor_eventsEventDefinition *)definition value:(id _Nullable)value __attribute__((swift_name("raise(definition:value:)"))); -- (id)subscribeDefinition:(FlowKtor_eventsEventDefinition *)definition handler:(void (^)(id _Nullable))handler __attribute__((swift_name("subscribe(definition:handler:)"))); -- (void)unsubscribeDefinition:(FlowKtor_eventsEventDefinition *)definition handler:(void (^)(id _Nullable))handler __attribute__((swift_name("unsubscribe(definition:handler:)"))); -@end; - -__attribute__((swift_name("Ktor_utilsPipeline"))) -@interface FlowKtor_utilsPipeline : FlowBase -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)); -- (void)addPhasePhase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("addPhase(phase:)"))); -- (void)afterIntercepted __attribute__((swift_name("afterIntercepted()"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)executeContext:(TContext)context subject:(TSubject)subject completionHandler:(void (^)(TSubject _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("execute(context:subject:completionHandler:)"))); -- (void)insertPhaseAfterReference:(FlowKtor_utilsPipelinePhase *)reference phase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("insertPhaseAfter(reference:phase:)"))); -- (void)insertPhaseBeforeReference:(FlowKtor_utilsPipelinePhase *)reference phase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("insertPhaseBefore(reference:phase:)"))); -- (void)interceptPhase:(FlowKtor_utilsPipelinePhase *)phase block:(id)block __attribute__((swift_name("intercept(phase:block:)"))); -- (NSArray> *)interceptorsForPhasePhase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("interceptorsForPhase(phase:)"))); -- (void)mergeFrom:(FlowKtor_utilsPipeline *)from __attribute__((swift_name("merge(from:)"))); -- (void)mergePhasesFrom:(FlowKtor_utilsPipeline *)from __attribute__((swift_name("mergePhases(from:)"))); -- (void)resetFromFrom:(FlowKtor_utilsPipeline *)from __attribute__((swift_name("resetFrom(from:)"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@property (readonly, getter=isEmpty_) BOOL isEmpty __attribute__((swift_name("isEmpty"))); -@property (readonly) NSArray *items __attribute__((swift_name("items"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpReceivePipeline"))) -@interface FlowKtor_client_coreHttpReceivePipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpReceivePipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestPipeline"))) -@interface FlowKtor_client_coreHttpRequestPipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpRequestPipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponsePipeline"))) -@interface FlowKtor_client_coreHttpResponsePipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpResponsePipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpSendPipeline"))) -@interface FlowKtor_client_coreHttpSendPipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpSendPipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreCompositeEncoder"))) -@protocol FlowKotlinx_serialization_coreCompositeEncoder -@required -- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); -- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); -- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); -- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); -- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); -- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); -- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); -- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); -- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); -- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); -- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); -- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); -- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); -- (BOOL)shouldEncodeElementDefaultDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("shouldEncodeElementDefault(descriptor:index:)"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerializersModule"))) -@interface FlowKotlinx_serialization_coreSerializersModule : FlowBase -- (void)dumpToCollector:(id)collector __attribute__((swift_name("dumpTo(collector:)"))); -- (id _Nullable)getContextualKClass:(id)kClass typeArgumentsSerializers:(NSArray> *)typeArgumentsSerializers __attribute__((swift_name("getContextual(kClass:typeArgumentsSerializers:)"))); -- (id _Nullable)getPolymorphicBaseClass:(id)baseClass value:(id)value __attribute__((swift_name("getPolymorphic(baseClass:value:)"))); -- (id _Nullable)getPolymorphicBaseClass:(id)baseClass serializedClassName:(NSString * _Nullable)serializedClassName __attribute__((swift_name("getPolymorphic(baseClass:serializedClassName:)"))); -@end; - -__attribute__((swift_name("KotlinAnnotation"))) -@protocol FlowKotlinAnnotation -@required -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerialKind"))) -@interface FlowKotlinx_serialization_coreSerialKind : FlowBase -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreCompositeDecoder"))) -@protocol FlowKotlinx_serialization_coreCompositeDecoder -@required -- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); -- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); -- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); -- (int32_t)decodeCollectionSizeDescriptor:(id)descriptor __attribute__((swift_name("decodeCollectionSize(descriptor:)"))); -- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); -- (int32_t)decodeElementIndexDescriptor:(id)descriptor __attribute__((swift_name("decodeElementIndex(descriptor:)"))); -- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); -- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); -- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); -- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); -- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); -- (BOOL)decodeSequentially __attribute__((swift_name("decodeSequentially()"))); -- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); -- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); -- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); -- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinNothing"))) -@interface FlowKotlinNothing : FlowBase -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigDecimal.Companion"))) -@interface FlowBignumBigDecimalCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumBigDecimalCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigDecimal *)fromBigDecimalBigDecimal:(FlowBignumBigDecimal *)bigDecimal decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigDecimal(bigDecimal:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); -- (FlowBignumBigDecimal *)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigInteger(bigInteger:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromBigIntegerWithExponentBigInteger:(FlowBignumBigInteger *)bigInteger exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigIntegerWithExponent(bigInteger:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); -- (FlowBignumBigDecimal *)fromByteByte:(int8_t)byte decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByte(byte:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromByteAsSignificandByte:(int8_t)byte decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteAsSignificand(byte:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromByteWithExponentByte:(int8_t)byte exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteWithExponent(byte:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromDoubleDouble:(double)double_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromDouble(double:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromFloatFloat:(float)float_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromFloat(float:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); -- (FlowBignumBigDecimal *)fromIntInt:(int32_t)int_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromInt(int:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromIntAsSignificandInt:(int32_t)int_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntAsSignificand(int:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromIntWithExponentInt:(int32_t)int_ exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntWithExponent(int:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); -- (FlowBignumBigDecimal *)fromLongLong:(int64_t)long_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLong(long:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromLongAsSignificandLong:(int64_t)long_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongAsSignificand(long:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromLongWithExponentLong:(int64_t)long_ exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongWithExponent(long:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); -- (FlowBignumBigDecimal *)fromShortShort:(int16_t)short_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShort(short:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromShortAsSignificandShort:(int16_t)short_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortAsSignificand(short:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromShortWithExponentShort:(int16_t)short_ exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortWithExponent(short:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); -- (FlowBignumBigDecimal *)fromUByteUByte:(uint8_t)uByte decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUByte(uByte:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); -- (FlowBignumBigDecimal *)fromUIntUInt:(uint32_t)uInt decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUInt(uInt:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); -- (FlowBignumBigDecimal *)fromULongULong:(uint64_t)uLong decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromULong(uLong:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); -- (FlowBignumBigDecimal *)fromUShortUShort:(uint16_t)uShort decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUShort(uShort:decimalMode:)"))); -- (FlowBignumBigDecimal *)handleZeroRoundingSignificand:(FlowBignumBigInteger *)significand exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode *)decimalMode __attribute__((swift_name("handleZeroRounding(significand:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)parseStringString:(NSString *)string __attribute__((swift_name("parseString(string:)"))); -- (FlowBignumBigDecimal *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); -- (FlowBignumBigDecimal *)parseStringWithModeFloatingPointString:(NSString *)floatingPointString decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("parseStringWithMode(floatingPointString:decimalMode:)"))); -- (FlowBignumBigDecimal *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); -- (FlowBignumBigDecimal *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); -@property (readonly) FlowBignumBigDecimal *ONE __attribute__((swift_name("ONE"))); -@property (readonly) FlowBignumBigDecimal *TEN __attribute__((swift_name("TEN"))); -@property (readonly) FlowBignumBigDecimal *TWO __attribute__((swift_name("TWO"))); -@property (readonly) FlowBignumBigDecimal *ZERO __attribute__((swift_name("ZERO"))); -@property BOOL useToStringExpanded __attribute__((swift_name("useToStringExpanded"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumDecimalMode"))) -@interface FlowBignumDecimalMode : FlowBase -- (instancetype)initWithDecimalPrecision:(int64_t)decimalPrecision roundingMode:(FlowBignumRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("init(decimalPrecision:roundingMode:scale:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBignumDecimalModeCompanion *companion __attribute__((swift_name("companion"))); -- (int64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumRoundingMode *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int64_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumDecimalMode *)doCopyDecimalPrecision:(int64_t)decimalPrecision roundingMode:(FlowBignumRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("doCopy(decimalPrecision:roundingMode:scale:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int64_t decimalPrecision __attribute__((swift_name("decimalPrecision"))); -@property (readonly) BOOL isPrecisionUnlimited __attribute__((swift_name("isPrecisionUnlimited"))); -@property (readonly) FlowBignumRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); -@property (readonly) int64_t scale __attribute__((swift_name("scale"))); -@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumRoundingMode"))) -@interface FlowBignumRoundingMode : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly) FlowBignumRoundingMode *floor __attribute__((swift_name("floor"))); -@property (class, readonly) FlowBignumRoundingMode *ceiling __attribute__((swift_name("ceiling"))); -@property (class, readonly) FlowBignumRoundingMode *awayFromZero __attribute__((swift_name("awayFromZero"))); -@property (class, readonly) FlowBignumRoundingMode *towardsZero __attribute__((swift_name("towardsZero"))); -@property (class, readonly) FlowBignumRoundingMode *none __attribute__((swift_name("none"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfAwayFromZero __attribute__((swift_name("roundHalfAwayFromZero"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfTowardsZero __attribute__((swift_name("roundHalfTowardsZero"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfCeiling __attribute__((swift_name("roundHalfCeiling"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfFloor __attribute__((swift_name("roundHalfFloor"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfToEven __attribute__((swift_name("roundHalfToEven"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfToOdd __attribute__((swift_name("roundHalfToOdd"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_serialization_jsonJsonElement.Companion"))) -@interface FlowKotlinx_serialization_jsonJsonElementCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinx_serialization_jsonJsonElementCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_serialization_jsonJson.Default"))) -@interface FlowKotlinx_serialization_jsonJsonDefault : FlowKotlinx_serialization_jsonJson -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)default_ __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinx_serialization_jsonJsonDefault *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_serialization_jsonJsonConfiguration"))) -@interface FlowKotlinx_serialization_jsonJsonConfiguration : FlowBase -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL allowSpecialFloatingPointValues __attribute__((swift_name("allowSpecialFloatingPointValues"))); -@property (readonly) BOOL allowStructuredMapKeys __attribute__((swift_name("allowStructuredMapKeys"))); -@property (readonly) NSString *classDiscriminator __attribute__((swift_name("classDiscriminator"))); -@property (readonly) BOOL coerceInputValues __attribute__((swift_name("coerceInputValues"))); -@property (readonly) BOOL encodeDefaults __attribute__((swift_name("encodeDefaults"))); -@property (readonly) BOOL explicitNulls __attribute__((swift_name("explicitNulls"))); -@property (readonly) BOOL ignoreUnknownKeys __attribute__((swift_name("ignoreUnknownKeys"))); -@property (readonly) BOOL isLenient __attribute__((swift_name("isLenient"))); -@property (readonly) BOOL prettyPrint __attribute__((swift_name("prettyPrint"))); -@property (readonly) NSString *prettyPrintIndent __attribute__((swift_name("prettyPrintIndent"))); -@property (readonly) BOOL useAlternativeNames __attribute__((swift_name("useAlternativeNames"))); -@property (readonly) BOOL useArrayPolymorphism __attribute__((swift_name("useArrayPolymorphism"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumModularBigInteger.Companion"))) -@interface FlowBignumModularBigIntegerCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumModularBigIntegerCompanion *shared __attribute__((swift_name("shared"))); -- (id)creatorForModuloModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("creatorForModulo(modulo:)"))); -- (id)creatorForModuloModulo_:(int8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_:)"))); -- (id)creatorForModuloModulo__:(int32_t)modulo __attribute__((swift_name("creatorForModulo(modulo__:)"))); -- (id)creatorForModuloModulo___:(int64_t)modulo __attribute__((swift_name("creatorForModulo(modulo___:)"))); -- (id)creatorForModuloModulo____:(int16_t)modulo __attribute__((swift_name("creatorForModulo(modulo____:)"))); -- (id)creatorForModuloModulo_____:(uint8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_____:)"))); -- (id)creatorForModuloModulo______:(uint32_t)modulo __attribute__((swift_name("creatorForModulo(modulo______:)"))); -- (id)creatorForModuloModulo_______:(uint64_t)modulo __attribute__((swift_name("creatorForModulo(modulo_______:)"))); -- (id)creatorForModuloModulo________:(uint16_t)modulo __attribute__((swift_name("creatorForModulo(modulo________:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumModularQuotientAndRemainder"))) -@interface FlowBignumModularQuotientAndRemainder : FlowBase -- (instancetype)initWithQuotient:(FlowBignumModularBigInteger *)quotient remainder:(FlowBignumModularBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); -- (FlowBignumModularBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumModularBigInteger *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumModularQuotientAndRemainder *)doCopyQuotient:(FlowBignumModularBigInteger *)quotient remainder:(FlowBignumModularBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumModularBigInteger *quotient __attribute__((swift_name("quotient"))); -@property (readonly) FlowBignumModularBigInteger *remainder __attribute__((swift_name("remainder"))); -@end; - -__attribute__((swift_name("KotlinCoroutineContextElement"))) -@protocol FlowKotlinCoroutineContextElement -@required -@property (readonly) id key __attribute__((swift_name("key"))); -@end; - -__attribute__((swift_name("KotlinCoroutineContextKey"))) -@protocol FlowKotlinCoroutineContextKey -@required -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestData"))) -@interface FlowKtor_client_coreHttpRequestData : FlowBase -- (instancetype)initWithUrl:(FlowKtor_httpUrl *)url method:(FlowKtor_httpHttpMethod *)method headers:(id)headers body:(FlowKtor_httpOutgoingContent *)body executionContext:(id)executionContext attributes:(id)attributes __attribute__((swift_name("init(url:method:headers:body:executionContext:attributes:)"))) __attribute__((objc_designated_initializer)); -- (id _Nullable)getCapabilityOrNullKey:(id)key __attribute__((swift_name("getCapabilityOrNull(key:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) FlowKtor_httpOutgoingContent *body __attribute__((swift_name("body"))); -@property (readonly) id executionContext __attribute__((swift_name("executionContext"))); -@property (readonly) id headers __attribute__((swift_name("headers"))); -@property (readonly) FlowKtor_httpHttpMethod *method __attribute__((swift_name("method"))); -@property (readonly) FlowKtor_httpUrl *url __attribute__((swift_name("url"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponseData"))) -@interface FlowKtor_client_coreHttpResponseData : FlowBase -- (instancetype)initWithStatusCode:(FlowKtor_httpHttpStatusCode *)statusCode requestTime:(FlowKtor_utilsGMTDate *)requestTime headers:(id)headers version:(FlowKtor_httpHttpProtocolVersion *)version body:(id)body callContext:(id)callContext __attribute__((swift_name("init(statusCode:requestTime:headers:version:body:callContext:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id body __attribute__((swift_name("body"))); -@property (readonly) id callContext __attribute__((swift_name("callContext"))); -@property (readonly) id headers __attribute__((swift_name("headers"))); -@property (readonly) FlowKtor_utilsGMTDate *requestTime __attribute__((swift_name("requestTime"))); -@property (readonly) FlowKtor_utilsGMTDate *responseTime __attribute__((swift_name("responseTime"))); -@property (readonly) FlowKtor_httpHttpStatusCode *statusCode __attribute__((swift_name("statusCode"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *version __attribute__((swift_name("version"))); -@end; - -__attribute__((swift_name("KotlinAbstractCoroutineContextElement"))) -@interface FlowKotlinAbstractCoroutineContextElement : FlowBase -- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); -@property (readonly) id key __attribute__((swift_name("key"))); -@end; - -__attribute__((swift_name("KotlinContinuationInterceptor"))) -@protocol FlowKotlinContinuationInterceptor -@required -- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); -- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreCoroutineDispatcher"))) -@interface FlowKotlinx_coroutines_coreCoroutineDispatcher : FlowKotlinAbstractCoroutineContextElement -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKotlinx_coroutines_coreCoroutineDispatcherKey *companion __attribute__((swift_name("companion"))); -- (void)dispatchContext:(id)context block:(id)block __attribute__((swift_name("dispatch(context:block:)"))); -- (void)dispatchYieldContext:(id)context block:(id)block __attribute__((swift_name("dispatchYield(context:block:)"))); -- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); -- (BOOL)isDispatchNeededContext:(id)context __attribute__((swift_name("isDispatchNeeded(context:)"))); -- (FlowKotlinx_coroutines_coreCoroutineDispatcher *)limitedParallelismParallelism:(int32_t)parallelism __attribute__((swift_name("limitedParallelism(parallelism:)"))); -- (FlowKotlinx_coroutines_coreCoroutineDispatcher *)plusOther:(FlowKotlinx_coroutines_coreCoroutineDispatcher *)other __attribute__((swift_name("plus(other:)"))) __attribute__((unavailable("Operator '+' on two CoroutineDispatcher objects is meaningless. CoroutineDispatcher is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The dispatcher to the right of `+` just replaces the dispatcher to the left."))); -- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreProxyConfig"))) -@interface FlowKtor_client_coreProxyConfig : FlowBase -- (instancetype)initWithUrl:(FlowKtor_httpUrl *)url __attribute__((swift_name("init(url:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKtor_httpUrl *url __attribute__((swift_name("url"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientPlugin"))) -@protocol FlowKtor_client_coreHttpClientPlugin -@required -- (void)installPlugin:(id)plugin scope:(FlowKtor_client_coreHttpClient *)scope __attribute__((swift_name("install(plugin:scope:)"))); -- (id)prepareBlock:(void (^)(id))block __attribute__((swift_name("prepare(block:)"))); -@property (readonly) FlowKtor_utilsAttributeKey *key __attribute__((swift_name("key"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsAttributeKey"))) -@interface FlowKtor_utilsAttributeKey : FlowBase -- (instancetype)initWithName:(NSString *)name __attribute__((swift_name("init(name:)"))) __attribute__((objc_designated_initializer)); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((swift_name("Ktor_eventsEventDefinition"))) -@interface FlowKtor_eventsEventDefinition : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreDisposableHandle"))) -@protocol FlowKotlinx_coroutines_coreDisposableHandle -@required -- (void)dispose __attribute__((swift_name("dispose()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsPipelinePhase"))) -@interface FlowKtor_utilsPipelinePhase : FlowBase -- (instancetype)initWithName:(NSString *)name __attribute__((swift_name("init(name:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((swift_name("KotlinFunction"))) -@protocol FlowKotlinFunction -@required -@end; - -__attribute__((swift_name("KotlinSuspendFunction2"))) -@protocol FlowKotlinSuspendFunction2 -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:completionHandler:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpReceivePipeline.Phases"))) -@interface FlowKtor_client_coreHttpReceivePipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpReceivePipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *After __attribute__((swift_name("After"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Before __attribute__((swift_name("Before"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@end; - -__attribute__((swift_name("Ktor_httpHttpMessage"))) -@protocol FlowKtor_httpHttpMessage -@required -@property (readonly) id headers __attribute__((swift_name("headers"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpResponse"))) -@interface FlowKtor_client_coreHttpResponse : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKtor_client_coreHttpClientCall *call __attribute__((swift_name("call"))); -@property (readonly) id content __attribute__((swift_name("content"))); -@property (readonly) FlowKtor_utilsGMTDate *requestTime __attribute__((swift_name("requestTime"))); -@property (readonly) FlowKtor_utilsGMTDate *responseTime __attribute__((swift_name("responseTime"))); -@property (readonly) FlowKtor_httpHttpStatusCode *status __attribute__((swift_name("status"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *version __attribute__((swift_name("version"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestPipeline.Phases"))) -@interface FlowKtor_client_coreHttpRequestPipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpRequestPipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Before __attribute__((swift_name("Before"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Render __attribute__((swift_name("Render"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Send __attribute__((swift_name("Send"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Transform __attribute__((swift_name("Transform"))); -@end; - -__attribute__((swift_name("Ktor_httpHttpMessageBuilder"))) -@protocol FlowKtor_httpHttpMessageBuilder -@required -@property (readonly) FlowKtor_httpHeadersBuilder *headers __attribute__((swift_name("headers"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestBuilder"))) -@interface FlowKtor_client_coreHttpRequestBuilder : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpRequestBuilderCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKtor_client_coreHttpRequestData *)build __attribute__((swift_name("build()"))); -- (id _Nullable)getCapabilityOrNullKey:(id)key __attribute__((swift_name("getCapabilityOrNull(key:)"))); -- (void)setAttributesBlock:(void (^)(id))block __attribute__((swift_name("setAttributes(block:)"))); -- (void)setCapabilityKey:(id)key capability:(id)capability __attribute__((swift_name("setCapability(key:capability:)"))); -- (FlowKtor_client_coreHttpRequestBuilder *)takeFromBuilder:(FlowKtor_client_coreHttpRequestBuilder *)builder __attribute__((swift_name("takeFrom(builder:)"))); -- (FlowKtor_client_coreHttpRequestBuilder *)takeFromWithExecutionContextBuilder:(FlowKtor_client_coreHttpRequestBuilder *)builder __attribute__((swift_name("takeFromWithExecutionContext(builder:)"))); -- (void)urlBlock:(void (^)(FlowKtor_httpURLBuilder *, FlowKtor_httpURLBuilder *))block __attribute__((swift_name("url(block:)"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property id body __attribute__((swift_name("body"))); -@property FlowKtor_utilsTypeInfo * _Nullable bodyType __attribute__((swift_name("bodyType"))); -@property (readonly) id executionContext __attribute__((swift_name("executionContext"))); -@property (readonly) FlowKtor_httpHeadersBuilder *headers __attribute__((swift_name("headers"))); -@property FlowKtor_httpHttpMethod *method __attribute__((swift_name("method"))); -@property (readonly) FlowKtor_httpURLBuilder *url __attribute__((swift_name("url"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponsePipeline.Phases"))) -@interface FlowKtor_client_coreHttpResponsePipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpResponsePipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *After __attribute__((swift_name("After"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Parse __attribute__((swift_name("Parse"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Receive __attribute__((swift_name("Receive"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Transform __attribute__((swift_name("Transform"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponseContainer"))) -@interface FlowKtor_client_coreHttpResponseContainer : FlowBase -- (instancetype)initWithExpectedType:(FlowKtor_utilsTypeInfo *)expectedType response:(id)response __attribute__((swift_name("init(expectedType:response:)"))) __attribute__((objc_designated_initializer)); -- (FlowKtor_utilsTypeInfo *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_client_coreHttpResponseContainer *)doCopyExpectedType:(FlowKtor_utilsTypeInfo *)expectedType response:(id)response __attribute__((swift_name("doCopy(expectedType:response:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKtor_utilsTypeInfo *expectedType __attribute__((swift_name("expectedType"))); -@property (readonly) id response __attribute__((swift_name("response"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientCall"))) -@interface FlowKtor_client_coreHttpClientCall : FlowBase -- (instancetype)initWithClient:(FlowKtor_client_coreHttpClient *)client requestData:(FlowKtor_client_coreHttpRequestData *)requestData responseData:(FlowKtor_client_coreHttpResponseData *)responseData __attribute__((swift_name("init(client:requestData:responseData:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithClient:(FlowKtor_client_coreHttpClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpClientCallCompanion *companion __attribute__((swift_name("companion"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)bodyInfo:(FlowKtor_utilsTypeInfo *)info completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("body(info:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)bodyNullableInfo:(FlowKtor_utilsTypeInfo *)info completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("bodyNullable(info:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getResponseContentWithCompletionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getResponseContent(completionHandler:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL allowDoubleReceive __attribute__((swift_name("allowDoubleReceive"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) FlowKtor_client_coreHttpClient *client __attribute__((swift_name("client"))); -@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); -@property id request __attribute__((swift_name("request"))); -@property FlowKtor_client_coreHttpResponse *response __attribute__((swift_name("response"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpSendPipeline.Phases"))) -@interface FlowKtor_client_coreHttpSendPipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpSendPipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Before __attribute__((swift_name("Before"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Engine __attribute__((swift_name("Engine"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Monitoring __attribute__((swift_name("Monitoring"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Receive __attribute__((swift_name("Receive"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerializersModuleCollector"))) -@protocol FlowKotlinx_serialization_coreSerializersModuleCollector -@required -- (void)contextualKClass:(id)kClass provider:(id (^)(NSArray> *))provider __attribute__((swift_name("contextual(kClass:provider:)"))); -- (void)contextualKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("contextual(kClass:serializer:)"))); -- (void)polymorphicBaseClass:(id)baseClass actualClass:(id)actualClass actualSerializer:(id)actualSerializer __attribute__((swift_name("polymorphic(baseClass:actualClass:actualSerializer:)"))); -- (void)polymorphicDefaultBaseClass:(id)baseClass defaultDeserializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultDeserializerProvider __attribute__((swift_name("polymorphicDefault(baseClass:defaultDeserializerProvider:)"))); -- (void)polymorphicDefaultDeserializerBaseClass:(id)baseClass defaultDeserializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultDeserializerProvider __attribute__((swift_name("polymorphicDefaultDeserializer(baseClass:defaultDeserializerProvider:)"))); -- (void)polymorphicDefaultSerializerBaseClass:(id)baseClass defaultSerializerProvider:(id _Nullable (^)(id))defaultSerializerProvider __attribute__((swift_name("polymorphicDefaultSerializer(baseClass:defaultSerializerProvider:)"))); -@end; - -__attribute__((swift_name("KotlinKDeclarationContainer"))) -@protocol FlowKotlinKDeclarationContainer -@required -@end; - -__attribute__((swift_name("KotlinKAnnotatedElement"))) -@protocol FlowKotlinKAnnotatedElement -@required -@end; - -__attribute__((swift_name("KotlinKClassifier"))) -@protocol FlowKotlinKClassifier -@required -@end; - -__attribute__((swift_name("KotlinKClass"))) -@protocol FlowKotlinKClass -@required -- (BOOL)isInstanceValue:(id _Nullable)value __attribute__((swift_name("isInstance(value:)"))); -@property (readonly) NSString * _Nullable qualifiedName __attribute__((swift_name("qualifiedName"))); -@property (readonly) NSString * _Nullable simpleName __attribute__((swift_name("simpleName"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumDecimalMode.Companion"))) -@interface FlowBignumDecimalModeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumDecimalModeCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowBignumDecimalMode *DEFAULT __attribute__((swift_name("DEFAULT"))); -@property (readonly) FlowBignumDecimalMode *US_CURRENCY __attribute__((swift_name("US_CURRENCY"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpUrl"))) -@interface FlowKtor_httpUrl : FlowBase -@property (class, readonly, getter=companion) FlowKtor_httpUrlCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *encodedFragment __attribute__((swift_name("encodedFragment"))); -@property (readonly) NSString * _Nullable encodedPassword __attribute__((swift_name("encodedPassword"))); -@property (readonly) NSString *encodedPath __attribute__((swift_name("encodedPath"))); -@property (readonly) NSString *encodedPathAndQuery __attribute__((swift_name("encodedPathAndQuery"))); -@property (readonly) NSString *encodedQuery __attribute__((swift_name("encodedQuery"))); -@property (readonly) NSString * _Nullable encodedUser __attribute__((swift_name("encodedUser"))); -@property (readonly) NSString *fragment __attribute__((swift_name("fragment"))); -@property (readonly) NSString *host __attribute__((swift_name("host"))); -@property (readonly) id parameters __attribute__((swift_name("parameters"))); -@property (readonly) NSString * _Nullable password __attribute__((swift_name("password"))); -@property (readonly) NSArray *pathSegments __attribute__((swift_name("pathSegments"))); -@property (readonly) int32_t port __attribute__((swift_name("port"))); -@property (readonly) FlowKtor_httpURLProtocol *protocol __attribute__((swift_name("protocol"))); -@property (readonly) int32_t specifiedPort __attribute__((swift_name("specifiedPort"))); -@property (readonly) BOOL trailingQuery __attribute__((swift_name("trailingQuery"))); -@property (readonly) NSString * _Nullable user __attribute__((swift_name("user"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpMethod"))) -@interface FlowKtor_httpHttpMethod : FlowBase -- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHttpMethodCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHttpMethod *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((swift_name("Ktor_utilsStringValues"))) -@protocol FlowKtor_utilsStringValues -@required -- (BOOL)containsName:(NSString *)name __attribute__((swift_name("contains(name:)"))); -- (BOOL)containsName:(NSString *)name value:(NSString *)value __attribute__((swift_name("contains(name:value:)"))); -- (NSSet> *)entries __attribute__((swift_name("entries()"))); -- (void)forEachBody:(void (^)(NSString *, NSArray *))body __attribute__((swift_name("forEach(body:)"))); -- (NSString * _Nullable)getName:(NSString *)name __attribute__((swift_name("get(name:)"))); -- (NSArray * _Nullable)getAllName:(NSString *)name __attribute__((swift_name("getAll(name:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -- (NSSet *)names __attribute__((swift_name("names()"))); -@property (readonly) BOOL caseInsensitiveName __attribute__((swift_name("caseInsensitiveName"))); -@end; - -__attribute__((swift_name("Ktor_httpHeaders"))) -@protocol FlowKtor_httpHeaders -@required -@end; - -__attribute__((swift_name("Ktor_httpOutgoingContent"))) -@interface FlowKtor_httpOutgoingContent : FlowBase -- (id _Nullable)getPropertyKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("getProperty(key:)"))); -- (void)setPropertyKey:(FlowKtor_utilsAttributeKey *)key value:(id _Nullable)value __attribute__((swift_name("setProperty(key:value:)"))); -- (id _Nullable)trailers __attribute__((swift_name("trailers()"))); -@property (readonly) FlowLong * _Nullable contentLength __attribute__((swift_name("contentLength"))); -@property (readonly) FlowKtor_httpContentType * _Nullable contentType __attribute__((swift_name("contentType"))); -@property (readonly) id headers __attribute__((swift_name("headers"))); -@property (readonly) FlowKtor_httpHttpStatusCode * _Nullable status __attribute__((swift_name("status"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreJob"))) -@protocol FlowKotlinx_coroutines_coreJob -@required -- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))); -- (void)cancelCause:(FlowKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); -- (FlowKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))); -- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(FlowKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))); -- (id)invokeOnCompletionHandler:(void (^)(FlowKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)joinWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))); -- (id)plusOther_:(id)other __attribute__((swift_name("plus(other_:)"))) __attribute__((unavailable("Operator '+' on two Job objects is meaningless. Job is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The job to the right of `+` just replaces the job the left of `+`."))); -- (BOOL)start_ __attribute__((swift_name("start()"))); -@property (readonly) id children __attribute__((swift_name("children"))); -@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); -@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); -@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); -@property (readonly) id onJoin __attribute__((swift_name("onJoin"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpStatusCode"))) -@interface FlowKtor_httpHttpStatusCode : FlowBase -- (instancetype)initWithValue:(int32_t)value description:(NSString *)description __attribute__((swift_name("init(value:description:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHttpStatusCodeCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHttpStatusCode *)doCopyValue:(int32_t)value description:(NSString *)description __attribute__((swift_name("doCopy(value:description:)"))); -- (FlowKtor_httpHttpStatusCode *)descriptionValue:(NSString *)value __attribute__((swift_name("description(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@property (readonly) int32_t value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsGMTDate"))) -@interface FlowKtor_utilsGMTDate : FlowBase -@property (class, readonly, getter=companion) FlowKtor_utilsGMTDateCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)compareToOther:(FlowKtor_utilsGMTDate *)other __attribute__((swift_name("compareTo(other:)"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsWeekDay *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsMonth *)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int64_t)component9 __attribute__((swift_name("component9()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsGMTDate *)doCopySeconds:(int32_t)seconds minutes:(int32_t)minutes hours:(int32_t)hours dayOfWeek:(FlowKtor_utilsWeekDay *)dayOfWeek dayOfMonth:(int32_t)dayOfMonth dayOfYear:(int32_t)dayOfYear month:(FlowKtor_utilsMonth *)month year:(int32_t)year timestamp:(int64_t)timestamp __attribute__((swift_name("doCopy(seconds:minutes:hours:dayOfWeek:dayOfMonth:dayOfYear:month:year:timestamp:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int32_t dayOfMonth __attribute__((swift_name("dayOfMonth"))); -@property (readonly) FlowKtor_utilsWeekDay *dayOfWeek __attribute__((swift_name("dayOfWeek"))); -@property (readonly) int32_t dayOfYear __attribute__((swift_name("dayOfYear"))); -@property (readonly) int32_t hours __attribute__((swift_name("hours"))); -@property (readonly) int32_t minutes __attribute__((swift_name("minutes"))); -@property (readonly) FlowKtor_utilsMonth *month __attribute__((swift_name("month"))); -@property (readonly) int32_t seconds __attribute__((swift_name("seconds"))); -@property (readonly) int64_t timestamp __attribute__((swift_name("timestamp"))); -@property (readonly) int32_t year __attribute__((swift_name("year"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpProtocolVersion"))) -@interface FlowKtor_httpHttpProtocolVersion : FlowBase -- (instancetype)initWithName:(NSString *)name major:(int32_t)major minor:(int32_t)minor __attribute__((swift_name("init(name:major:minor:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHttpProtocolVersionCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHttpProtocolVersion *)doCopyName:(NSString *)name major:(int32_t)major minor:(int32_t)minor __attribute__((swift_name("doCopy(name:major:minor:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int32_t major __attribute__((swift_name("major"))); -@property (readonly) int32_t minor __attribute__((swift_name("minor"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((swift_name("KotlinContinuation"))) -@protocol FlowKotlinContinuation -@required -- (void)resumeWithResult:(id _Nullable)result __attribute__((swift_name("resumeWith(result:)"))); -@property (readonly) id context __attribute__((swift_name("context"))); -@end; - -__attribute__((swift_name("KotlinAbstractCoroutineContextKey"))) -@interface FlowKotlinAbstractCoroutineContextKey : FlowBase -- (instancetype)initWithBaseKey:(id)baseKey safeCast:(E _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_coroutines_coreCoroutineDispatcher.Key"))) -@interface FlowKotlinx_coroutines_coreCoroutineDispatcherKey : FlowKotlinAbstractCoroutineContextKey, FlowKotlinx_coroutines_coreCoroutineDispatcher *> -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithBaseKey:(id)baseKey safeCast:(id _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)key __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinx_coroutines_coreCoroutineDispatcherKey *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreRunnable"))) -@protocol FlowKotlinx_coroutines_coreRunnable -@required -- (void)run __attribute__((swift_name("run()"))); -@end; - -__attribute__((swift_name("Ktor_ioByteReadChannel"))) -@protocol FlowKtor_ioByteReadChannel -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)awaitContentWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("awaitContent(completionHandler:)"))); -- (BOOL)cancelCause_:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)discardMax:(int64_t)max completionHandler:(void (^)(FlowLong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(max:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)peekToDestination:(FlowKtor_ioMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max completionHandler:(void (^)(FlowLong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(FlowKtor_ioChunkBuffer *)dst completionHandler:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(FlowKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler:)"))); -- (int32_t)readAvailableMin:(int32_t)min block:(void (^)(FlowKtor_ioBuffer *))block __attribute__((swift_name("readAvailable(min:block:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler_:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler__:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readBooleanWithCompletionHandler:(void (^)(FlowBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readBoolean(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readByteWithCompletionHandler:(void (^)(FlowByte * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readByte(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readDoubleWithCompletionHandler:(void (^)(FlowDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFloatWithCompletionHandler:(void (^)(FlowFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(FlowKtor_ioChunkBuffer *)dst n:(int32_t)n completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:n:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(FlowKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler_:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler__:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readIntWithCompletionHandler:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readLongWithCompletionHandler:(void (^)(FlowLong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readPacketSize:(int32_t)size completionHandler:(void (^)(FlowKtor_ioByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(size:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readRemainingLimit:(int64_t)limit completionHandler:(void (^)(FlowKtor_ioByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(limit:completionHandler:)"))); -- (void)readSessionConsumer:(void (^)(id))consumer __attribute__((swift_name("readSession(consumer:)"))) __attribute__((deprecated("Use read { } instead."))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readShortWithCompletionHandler:(void (^)(FlowShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readSuspendableSessionConsumer:(id)consumer completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readSuspendableSession(consumer:completionHandler:)"))) __attribute__((deprecated("Use read { } instead."))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readUTF8LineLimit:(int32_t)limit completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(limit:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readUTF8LineToOut:(id)out limit:(int32_t)limit completionHandler:(void (^)(FlowBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(out:limit:completionHandler:)"))); -@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); -@property (readonly) FlowKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); -@property (readonly) BOOL isClosedForRead __attribute__((swift_name("isClosedForRead"))); -@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); -@property (readonly) int64_t totalBytesRead __attribute__((swift_name("totalBytesRead"))); -@end; - -__attribute__((swift_name("Ktor_utilsStringValuesBuilder"))) -@protocol FlowKtor_utilsStringValuesBuilder -@required -- (void)appendName:(NSString *)name value:(NSString *)value __attribute__((swift_name("append(name:value:)"))); -- (void)appendAllStringValues:(id)stringValues __attribute__((swift_name("appendAll(stringValues:)"))); -- (void)appendAllName:(NSString *)name values:(id)values __attribute__((swift_name("appendAll(name:values:)"))); -- (void)appendMissingStringValues:(id)stringValues __attribute__((swift_name("appendMissing(stringValues:)"))); -- (void)appendMissingName:(NSString *)name values:(id)values __attribute__((swift_name("appendMissing(name:values:)"))); -- (id)build __attribute__((swift_name("build()"))); -- (void)clear __attribute__((swift_name("clear()"))); -- (BOOL)containsName:(NSString *)name __attribute__((swift_name("contains(name:)"))); -- (BOOL)containsName:(NSString *)name value:(NSString *)value __attribute__((swift_name("contains(name:value:)"))); -- (NSSet> *)entries __attribute__((swift_name("entries()"))); -- (NSString * _Nullable)getName:(NSString *)name __attribute__((swift_name("get(name:)"))); -- (NSArray * _Nullable)getAllName:(NSString *)name __attribute__((swift_name("getAll(name:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -- (NSSet *)names __attribute__((swift_name("names()"))); -- (void)removeName:(NSString *)name __attribute__((swift_name("remove(name:)"))); -- (BOOL)removeName:(NSString *)name value:(NSString *)value __attribute__((swift_name("remove(name:value:)"))); -- (void)removeKeysWithNoEntries __attribute__((swift_name("removeKeysWithNoEntries()"))); -- (void)setName:(NSString *)name value:(NSString *)value __attribute__((swift_name("set(name:value:)"))); -@property (readonly) BOOL caseInsensitiveName __attribute__((swift_name("caseInsensitiveName"))); -@end; - -__attribute__((swift_name("Ktor_utilsStringValuesBuilderImpl"))) -@interface FlowKtor_utilsStringValuesBuilderImpl : FlowBase -- (instancetype)initWithCaseInsensitiveName:(BOOL)caseInsensitiveName size:(int32_t)size __attribute__((swift_name("init(caseInsensitiveName:size:)"))) __attribute__((objc_designated_initializer)); -- (void)appendName:(NSString *)name value:(NSString *)value __attribute__((swift_name("append(name:value:)"))); -- (void)appendAllStringValues:(id)stringValues __attribute__((swift_name("appendAll(stringValues:)"))); -- (void)appendAllName:(NSString *)name values:(id)values __attribute__((swift_name("appendAll(name:values:)"))); -- (void)appendMissingStringValues:(id)stringValues __attribute__((swift_name("appendMissing(stringValues:)"))); -- (void)appendMissingName:(NSString *)name values:(id)values __attribute__((swift_name("appendMissing(name:values:)"))); -- (id)build __attribute__((swift_name("build()"))); -- (void)clear __attribute__((swift_name("clear()"))); -- (BOOL)containsName:(NSString *)name __attribute__((swift_name("contains(name:)"))); -- (BOOL)containsName:(NSString *)name value:(NSString *)value __attribute__((swift_name("contains(name:value:)"))); -- (NSSet> *)entries __attribute__((swift_name("entries()"))); -- (NSString * _Nullable)getName:(NSString *)name __attribute__((swift_name("get(name:)"))); -- (NSArray * _Nullable)getAllName:(NSString *)name __attribute__((swift_name("getAll(name:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -- (NSSet *)names __attribute__((swift_name("names()"))); -- (void)removeName:(NSString *)name __attribute__((swift_name("remove(name:)"))); -- (BOOL)removeName:(NSString *)name value:(NSString *)value __attribute__((swift_name("remove(name:value:)"))); -- (void)removeKeysWithNoEntries __attribute__((swift_name("removeKeysWithNoEntries()"))); -- (void)setName:(NSString *)name value:(NSString *)value __attribute__((swift_name("set(name:value:)"))); -- (void)validateNameName:(NSString *)name __attribute__((swift_name("validateName(name:)"))); -- (void)validateValueValue:(NSString *)value __attribute__((swift_name("validateValue(value:)"))); -@property (readonly) BOOL caseInsensitiveName __attribute__((swift_name("caseInsensitiveName"))); -@property (readonly) FlowMutableDictionary *> *values __attribute__((swift_name("values"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHeadersBuilder"))) -@interface FlowKtor_httpHeadersBuilder : FlowKtor_utilsStringValuesBuilderImpl -- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCaseInsensitiveName:(BOOL)caseInsensitiveName size:(int32_t)size __attribute__((swift_name("init(caseInsensitiveName:size:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (id)build __attribute__((swift_name("build()"))); -- (void)validateNameName:(NSString *)name __attribute__((swift_name("validateName(name:)"))); -- (void)validateValueValue:(NSString *)value __attribute__((swift_name("validateValue(value:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestBuilder.Companion"))) -@interface FlowKtor_client_coreHttpRequestBuilderCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpRequestBuilderCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLBuilder"))) -@interface FlowKtor_httpURLBuilder : FlowBase -- (instancetype)initWithProtocol:(FlowKtor_httpURLProtocol *)protocol host:(NSString *)host port:(int32_t)port user:(NSString * _Nullable)user password:(NSString * _Nullable)password pathSegments:(NSArray *)pathSegments parameters:(id)parameters fragment:(NSString *)fragment trailingQuery:(BOOL)trailingQuery __attribute__((swift_name("init(protocol:host:port:user:password:pathSegments:parameters:fragment:trailingQuery:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpURLBuilderCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKtor_httpUrl *)build __attribute__((swift_name("build()"))); -- (NSString *)buildString __attribute__((swift_name("buildString()"))); -@property NSString *encodedFragment __attribute__((swift_name("encodedFragment"))); -@property id encodedParameters __attribute__((swift_name("encodedParameters"))); -@property NSString * _Nullable encodedPassword __attribute__((swift_name("encodedPassword"))); -@property NSArray *encodedPathSegments __attribute__((swift_name("encodedPathSegments"))); -@property NSString * _Nullable encodedUser __attribute__((swift_name("encodedUser"))); -@property NSString *fragment __attribute__((swift_name("fragment"))); -@property NSString *host __attribute__((swift_name("host"))); -@property (readonly) id parameters __attribute__((swift_name("parameters"))); -@property NSString * _Nullable password __attribute__((swift_name("password"))); -@property NSArray *pathSegments __attribute__((swift_name("pathSegments"))); -@property int32_t port __attribute__((swift_name("port"))); -@property FlowKtor_httpURLProtocol *protocol __attribute__((swift_name("protocol"))); -@property BOOL trailingQuery __attribute__((swift_name("trailingQuery"))); -@property NSString * _Nullable user __attribute__((swift_name("user"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsTypeInfo"))) -@interface FlowKtor_utilsTypeInfo : FlowBase -- (instancetype)initWithType:(id)type reifiedType:(id)reifiedType kotlinType:(id _Nullable)kotlinType __attribute__((swift_name("init(type:reifiedType:kotlinType:)"))) __attribute__((objc_designated_initializer)); -- (id)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsTypeInfo *)doCopyType:(id)type reifiedType:(id)reifiedType kotlinType:(id _Nullable)kotlinType __attribute__((swift_name("doCopy(type:reifiedType:kotlinType:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id _Nullable kotlinType __attribute__((swift_name("kotlinType"))); -@property (readonly) id reifiedType __attribute__((swift_name("reifiedType"))); -@property (readonly) id type __attribute__((swift_name("type"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpClientCall.Companion"))) -@interface FlowKtor_client_coreHttpClientCallCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpClientCallCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsAttributeKey *CustomResponse __attribute__((swift_name("CustomResponse"))) __attribute__((unavailable("This is going to be removed. Please file a ticket with clarification why and what for do you need it."))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpRequest"))) -@protocol FlowKtor_client_coreHttpRequest -@required -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) FlowKtor_client_coreHttpClientCall *call __attribute__((swift_name("call"))); -@property (readonly) FlowKtor_httpOutgoingContent *content __attribute__((swift_name("content"))); -@property (readonly) FlowKtor_httpHttpMethod *method __attribute__((swift_name("method"))); -@property (readonly) FlowKtor_httpUrl *url __attribute__((swift_name("url"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpUrl.Companion"))) -@interface FlowKtor_httpUrlCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpUrlCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Ktor_httpParameters"))) -@protocol FlowKtor_httpParameters -@required -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLProtocol"))) -@interface FlowKtor_httpURLProtocol : FlowBase -- (instancetype)initWithName:(NSString *)name defaultPort:(int32_t)defaultPort __attribute__((swift_name("init(name:defaultPort:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpURLProtocolCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpURLProtocol *)doCopyName:(NSString *)name defaultPort:(int32_t)defaultPort __attribute__((swift_name("doCopy(name:defaultPort:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int32_t defaultPort __attribute__((swift_name("defaultPort"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpMethod.Companion"))) -@interface FlowKtor_httpHttpMethodCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHttpMethodCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpHttpMethod *)parseMethod:(NSString *)method __attribute__((swift_name("parse(method:)"))); -@property (readonly) NSArray *DefaultMethods __attribute__((swift_name("DefaultMethods"))); -@property (readonly) FlowKtor_httpHttpMethod *Delete __attribute__((swift_name("Delete"))); -@property (readonly) FlowKtor_httpHttpMethod *Get __attribute__((swift_name("Get"))); -@property (readonly) FlowKtor_httpHttpMethod *Head __attribute__((swift_name("Head"))); -@property (readonly) FlowKtor_httpHttpMethod *Options __attribute__((swift_name("Options"))); -@property (readonly) FlowKtor_httpHttpMethod *Patch __attribute__((swift_name("Patch"))); -@property (readonly) FlowKtor_httpHttpMethod *Post __attribute__((swift_name("Post"))); -@property (readonly) FlowKtor_httpHttpMethod *Put __attribute__((swift_name("Put"))); -@end; - -__attribute__((swift_name("KotlinMapEntry"))) -@protocol FlowKotlinMapEntry -@required -@property (readonly) id _Nullable key __attribute__((swift_name("key"))); -@property (readonly) id _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((swift_name("Ktor_httpHeaderValueWithParameters"))) -@interface FlowKtor_httpHeaderValueWithParameters : FlowBase -- (instancetype)initWithContent:(NSString *)content parameters:(NSArray *)parameters __attribute__((swift_name("init(content:parameters:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHeaderValueWithParametersCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)parameterName:(NSString *)name __attribute__((swift_name("parameter(name:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *content __attribute__((swift_name("content"))); -@property (readonly) NSArray *parameters __attribute__((swift_name("parameters"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpContentType"))) -@interface FlowKtor_httpContentType : FlowKtor_httpHeaderValueWithParameters -- (instancetype)initWithContentType:(NSString *)contentType contentSubtype:(NSString *)contentSubtype parameters:(NSArray *)parameters __attribute__((swift_name("init(contentType:contentSubtype:parameters:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithContent:(NSString *)content parameters:(NSArray *)parameters __attribute__((swift_name("init(content:parameters:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_httpContentTypeCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (BOOL)matchPattern:(FlowKtor_httpContentType *)pattern __attribute__((swift_name("match(pattern:)"))); -- (BOOL)matchPattern_:(NSString *)pattern __attribute__((swift_name("match(pattern_:)"))); -- (FlowKtor_httpContentType *)withParameterName:(NSString *)name value:(NSString *)value __attribute__((swift_name("withParameter(name:value:)"))); -- (FlowKtor_httpContentType *)withoutParameters __attribute__((swift_name("withoutParameters()"))); -@property (readonly) NSString *contentSubtype __attribute__((swift_name("contentSubtype"))); -@property (readonly) NSString *contentType __attribute__((swift_name("contentType"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreChildHandle"))) -@protocol FlowKotlinx_coroutines_coreChildHandle -@required -- (BOOL)childCancelledCause:(FlowKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); -@property (readonly) id _Nullable parent __attribute__((swift_name("parent"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreChildJob"))) -@protocol FlowKotlinx_coroutines_coreChildJob -@required -- (void)parentCancelledParentJob:(id)parentJob __attribute__((swift_name("parentCancelled(parentJob:)"))); -@end; - -__attribute__((swift_name("KotlinSequence"))) -@protocol FlowKotlinSequence -@required -- (id)iterator __attribute__((swift_name("iterator()"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreSelectClause0"))) -@protocol FlowKotlinx_coroutines_coreSelectClause0 -@required -- (void)registerSelectClause0Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause0(select:block:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpStatusCode.Companion"))) -@interface FlowKtor_httpHttpStatusCodeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHttpStatusCodeCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpHttpStatusCode *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Accepted __attribute__((swift_name("Accepted"))); -@property (readonly) FlowKtor_httpHttpStatusCode *BadGateway __attribute__((swift_name("BadGateway"))); -@property (readonly) FlowKtor_httpHttpStatusCode *BadRequest __attribute__((swift_name("BadRequest"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Conflict __attribute__((swift_name("Conflict"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Continue __attribute__((swift_name("Continue"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Created __attribute__((swift_name("Created"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ExpectationFailed __attribute__((swift_name("ExpectationFailed"))); -@property (readonly) FlowKtor_httpHttpStatusCode *FailedDependency __attribute__((swift_name("FailedDependency"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Forbidden __attribute__((swift_name("Forbidden"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Found __attribute__((swift_name("Found"))); -@property (readonly) FlowKtor_httpHttpStatusCode *GatewayTimeout __attribute__((swift_name("GatewayTimeout"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Gone __attribute__((swift_name("Gone"))); -@property (readonly) FlowKtor_httpHttpStatusCode *InsufficientStorage __attribute__((swift_name("InsufficientStorage"))); -@property (readonly) FlowKtor_httpHttpStatusCode *InternalServerError __attribute__((swift_name("InternalServerError"))); -@property (readonly) FlowKtor_httpHttpStatusCode *LengthRequired __attribute__((swift_name("LengthRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Locked __attribute__((swift_name("Locked"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MethodNotAllowed __attribute__((swift_name("MethodNotAllowed"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MovedPermanently __attribute__((swift_name("MovedPermanently"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MultiStatus __attribute__((swift_name("MultiStatus"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MultipleChoices __attribute__((swift_name("MultipleChoices"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NoContent __attribute__((swift_name("NoContent"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NonAuthoritativeInformation __attribute__((swift_name("NonAuthoritativeInformation"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotAcceptable __attribute__((swift_name("NotAcceptable"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotFound __attribute__((swift_name("NotFound"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotImplemented __attribute__((swift_name("NotImplemented"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotModified __attribute__((swift_name("NotModified"))); -@property (readonly) FlowKtor_httpHttpStatusCode *OK __attribute__((swift_name("OK"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PartialContent __attribute__((swift_name("PartialContent"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PayloadTooLarge __attribute__((swift_name("PayloadTooLarge"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PaymentRequired __attribute__((swift_name("PaymentRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PermanentRedirect __attribute__((swift_name("PermanentRedirect"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PreconditionFailed __attribute__((swift_name("PreconditionFailed"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Processing __attribute__((swift_name("Processing"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ProxyAuthenticationRequired __attribute__((swift_name("ProxyAuthenticationRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestHeaderFieldTooLarge __attribute__((swift_name("RequestHeaderFieldTooLarge"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestTimeout __attribute__((swift_name("RequestTimeout"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestURITooLong __attribute__((swift_name("RequestURITooLong"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestedRangeNotSatisfiable __attribute__((swift_name("RequestedRangeNotSatisfiable"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ResetContent __attribute__((swift_name("ResetContent"))); -@property (readonly) FlowKtor_httpHttpStatusCode *SeeOther __attribute__((swift_name("SeeOther"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ServiceUnavailable __attribute__((swift_name("ServiceUnavailable"))); -@property (readonly) FlowKtor_httpHttpStatusCode *SwitchProxy __attribute__((swift_name("SwitchProxy"))); -@property (readonly) FlowKtor_httpHttpStatusCode *SwitchingProtocols __attribute__((swift_name("SwitchingProtocols"))); -@property (readonly) FlowKtor_httpHttpStatusCode *TemporaryRedirect __attribute__((swift_name("TemporaryRedirect"))); -@property (readonly) FlowKtor_httpHttpStatusCode *TooManyRequests __attribute__((swift_name("TooManyRequests"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Unauthorized __attribute__((swift_name("Unauthorized"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UnprocessableEntity __attribute__((swift_name("UnprocessableEntity"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UnsupportedMediaType __attribute__((swift_name("UnsupportedMediaType"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UpgradeRequired __attribute__((swift_name("UpgradeRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UseProxy __attribute__((swift_name("UseProxy"))); -@property (readonly) FlowKtor_httpHttpStatusCode *VariantAlsoNegotiates __attribute__((swift_name("VariantAlsoNegotiates"))); -@property (readonly) FlowKtor_httpHttpStatusCode *VersionNotSupported __attribute__((swift_name("VersionNotSupported"))); -@property (readonly) NSArray *allStatusCodes __attribute__((swift_name("allStatusCodes"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsGMTDate.Companion"))) -@interface FlowKtor_utilsGMTDateCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_utilsGMTDateCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsGMTDate *START __attribute__((swift_name("START"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsWeekDay"))) -@interface FlowKtor_utilsWeekDay : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_utilsWeekDayCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowKtor_utilsWeekDay *monday __attribute__((swift_name("monday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *tuesday __attribute__((swift_name("tuesday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *wednesday __attribute__((swift_name("wednesday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *thursday __attribute__((swift_name("thursday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *friday __attribute__((swift_name("friday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *saturday __attribute__((swift_name("saturday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *sunday __attribute__((swift_name("sunday"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsMonth"))) -@interface FlowKtor_utilsMonth : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_utilsMonthCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowKtor_utilsMonth *january __attribute__((swift_name("january"))); -@property (class, readonly) FlowKtor_utilsMonth *february __attribute__((swift_name("february"))); -@property (class, readonly) FlowKtor_utilsMonth *march __attribute__((swift_name("march"))); -@property (class, readonly) FlowKtor_utilsMonth *april __attribute__((swift_name("april"))); -@property (class, readonly) FlowKtor_utilsMonth *may __attribute__((swift_name("may"))); -@property (class, readonly) FlowKtor_utilsMonth *june __attribute__((swift_name("june"))); -@property (class, readonly) FlowKtor_utilsMonth *july __attribute__((swift_name("july"))); -@property (class, readonly) FlowKtor_utilsMonth *august __attribute__((swift_name("august"))); -@property (class, readonly) FlowKtor_utilsMonth *september __attribute__((swift_name("september"))); -@property (class, readonly) FlowKtor_utilsMonth *october __attribute__((swift_name("october"))); -@property (class, readonly) FlowKtor_utilsMonth *november __attribute__((swift_name("november"))); -@property (class, readonly) FlowKtor_utilsMonth *december __attribute__((swift_name("december"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpProtocolVersion.Companion"))) -@interface FlowKtor_httpHttpProtocolVersionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHttpProtocolVersionCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpHttpProtocolVersion *)fromValueName:(NSString *)name major:(int32_t)major minor:(int32_t)minor __attribute__((swift_name("fromValue(name:major:minor:)"))); -- (FlowKtor_httpHttpProtocolVersion *)parseValue:(id)value __attribute__((swift_name("parse(value:)"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *HTTP_1_0 __attribute__((swift_name("HTTP_1_0"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *HTTP_1_1 __attribute__((swift_name("HTTP_1_1"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *HTTP_2_0 __attribute__((swift_name("HTTP_2_0"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *QUIC __attribute__((swift_name("QUIC"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *SPDY_3 __attribute__((swift_name("SPDY_3"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioMemory"))) -@interface FlowKtor_ioMemory : FlowBase -- (instancetype)initWithPointer:(void *)pointer size:(int64_t)size __attribute__((swift_name("init(pointer:size:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_ioMemoryCompanion *companion __attribute__((swift_name("companion"))); -- (void)doCopyToDestination:(FlowKtor_ioMemory *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset:)"))); -- (void)doCopyToDestination:(FlowKtor_ioMemory *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset_:)"))); -- (int8_t)loadAtIndex:(int32_t)index __attribute__((swift_name("loadAt(index:)"))); -- (int8_t)loadAtIndex_:(int64_t)index __attribute__((swift_name("loadAt(index_:)"))); -- (FlowKtor_ioMemory *)sliceOffset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("slice(offset:length:)"))); -- (FlowKtor_ioMemory *)sliceOffset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("slice(offset:length_:)"))); -- (void)storeAtIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("storeAt(index:value:)"))); -- (void)storeAtIndex:(int64_t)index value_:(int8_t)value __attribute__((swift_name("storeAt(index:value_:)"))); -@property (readonly) void *pointer __attribute__((swift_name("pointer"))); -@property (readonly) int64_t size __attribute__((swift_name("size"))); -@property (readonly) int32_t size32 __attribute__((swift_name("size32"))); -@end; - -__attribute__((swift_name("Ktor_ioBuffer"))) -@interface FlowKtor_ioBuffer : FlowBase -- (instancetype)initWithMemory:(FlowKtor_ioMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_ioBufferCompanion *companion __attribute__((swift_name("companion"))); -- (void)commitWrittenCount:(int32_t)count __attribute__((swift_name("commitWritten(count:)"))); -- (void)discardExactCount:(int32_t)count __attribute__((swift_name("discardExact(count:)"))); -- (FlowKtor_ioBuffer *)duplicate __attribute__((swift_name("duplicate()"))); -- (void)duplicateToCopy:(FlowKtor_ioBuffer *)copy __attribute__((swift_name("duplicateTo(copy:)"))); -- (int8_t)readByte __attribute__((swift_name("readByte()"))); -- (void)reserveEndGapEndGap:(int32_t)endGap __attribute__((swift_name("reserveEndGap(endGap:)"))); -- (void)reserveStartGapStartGap:(int32_t)startGap __attribute__((swift_name("reserveStartGap(startGap:)"))); -- (void)reset __attribute__((swift_name("reset()"))); -- (void)resetForRead __attribute__((swift_name("resetForRead()"))); -- (void)resetForWrite __attribute__((swift_name("resetForWrite()"))); -- (void)resetForWriteLimit:(int32_t)limit __attribute__((swift_name("resetForWrite(limit:)"))); -- (void)rewindCount:(int32_t)count __attribute__((swift_name("rewind(count:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (int32_t)tryPeekByte __attribute__((swift_name("tryPeekByte()"))); -- (int32_t)tryReadByte __attribute__((swift_name("tryReadByte()"))); -- (void)writeByteValue:(int8_t)value __attribute__((swift_name("writeByte(value:)"))); -@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); -@property (readonly) int32_t endGap __attribute__((swift_name("endGap"))); -@property (readonly) int32_t limit __attribute__((swift_name("limit"))); -@property (readonly) FlowKtor_ioMemory *memory __attribute__((swift_name("memory"))); -@property (readonly) int32_t readPosition __attribute__((swift_name("readPosition"))); -@property (readonly) int32_t readRemaining __attribute__((swift_name("readRemaining"))); -@property (readonly) int32_t startGap __attribute__((swift_name("startGap"))); -@property (readonly) int32_t writePosition __attribute__((swift_name("writePosition"))); -@property (readonly) int32_t writeRemaining __attribute__((swift_name("writeRemaining"))); -@end; - -__attribute__((swift_name("Ktor_ioChunkBuffer"))) -@interface FlowKtor_ioChunkBuffer : FlowKtor_ioBuffer -- (instancetype)initWithMemory:(FlowKtor_ioMemory *)memory origin:(FlowKtor_ioChunkBuffer * _Nullable)origin parentPool:(id _Nullable)parentPool __attribute__((swift_name("init(memory:origin:parentPool:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMemory:(FlowKtor_ioMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_ioChunkBufferCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKtor_ioChunkBuffer * _Nullable)cleanNext __attribute__((swift_name("cleanNext()"))); -- (FlowKtor_ioChunkBuffer *)duplicate __attribute__((swift_name("duplicate()"))); -- (void)releasePool:(id)pool __attribute__((swift_name("release(pool:)"))); -- (void)reset __attribute__((swift_name("reset()"))); -@property (getter=next_) FlowKtor_ioChunkBuffer * _Nullable next __attribute__((swift_name("next"))); -@property (readonly) FlowKtor_ioChunkBuffer * _Nullable origin __attribute__((swift_name("origin"))); -@property (readonly) int32_t referenceCount __attribute__((swift_name("referenceCount"))); -@end; - -__attribute__((swift_name("Ktor_ioInput"))) -@interface FlowKtor_ioInput : FlowBase -- (instancetype)initWithHead:(FlowKtor_ioChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_ioInputCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)canRead __attribute__((swift_name("canRead()"))); -- (void)close __attribute__((swift_name("close()"))); -- (void)closeSource __attribute__((swift_name("closeSource()"))); -- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); -- (int64_t)discardN_:(int64_t)n __attribute__((swift_name("discard(n_:)"))); -- (void)discardExactN:(int32_t)n __attribute__((swift_name("discardExact(n:)"))); -- (FlowKtor_ioChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); -- (int32_t)fillDestination:(FlowKtor_ioMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); -- (BOOL)hasBytesN:(int32_t)n __attribute__((swift_name("hasBytes(n:)"))); -- (void)markNoMoreChunksAvailable __attribute__((swift_name("markNoMoreChunksAvailable()"))); -- (int64_t)peekToDestination:(FlowKtor_ioMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); -- (int32_t)peekToBuffer:(FlowKtor_ioChunkBuffer *)buffer __attribute__((swift_name("peekTo(buffer:)"))); -- (int8_t)readByte __attribute__((swift_name("readByte()"))); -- (NSString *)readTextMin:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(min:max:)"))); -- (int32_t)readTextOut:(id)out min:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(out:min:max:)"))); -- (NSString *)readTextExactExactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(exactCharacters:)"))); -- (void)readTextExactOut:(id)out exactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(out:exactCharacters:)"))); -- (void)release_ __attribute__((swift_name("release()"))); -- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); -@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); -@property (readonly) id pool __attribute__((swift_name("pool"))); -@property (readonly) int64_t remaining __attribute__((swift_name("remaining"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioByteReadPacket"))) -@interface FlowKtor_ioByteReadPacket : FlowKtor_ioInput -- (instancetype)initWithHead:(FlowKtor_ioChunkBuffer *)head pool:(id)pool __attribute__((swift_name("init(head:pool:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithHead:(FlowKtor_ioChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_ioByteReadPacketCompanion *companion __attribute__((swift_name("companion"))); -- (void)closeSource __attribute__((swift_name("closeSource()"))); -- (FlowKtor_ioByteReadPacket *)doCopy __attribute__((swift_name("doCopy()"))); -- (FlowKtor_ioChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); -- (int32_t)fillDestination:(FlowKtor_ioMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((swift_name("Ktor_ioReadSession"))) -@protocol FlowKtor_ioReadSession -@required -- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); -- (FlowKtor_ioChunkBuffer * _Nullable)requestAtLeast:(int32_t)atLeast __attribute__((swift_name("request(atLeast:)"))); -@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); -@end; - -__attribute__((swift_name("KotlinSuspendFunction1"))) -@protocol FlowKotlinSuspendFunction1 -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)invokeP1:(id _Nullable)p1 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:completionHandler:)"))); -@end; - -__attribute__((swift_name("KotlinAppendable"))) -@protocol FlowKotlinAppendable -@required -- (id)appendValue:(unichar)value __attribute__((swift_name("append(value:)"))); -- (id)appendValue_:(id _Nullable)value __attribute__((swift_name("append(value_:)"))); -- (id)appendValue:(id _Nullable)value startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex __attribute__((swift_name("append(value:startIndex:endIndex:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLBuilder.Companion"))) -@interface FlowKtor_httpURLBuilderCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpURLBuilderCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Ktor_httpParametersBuilder"))) -@protocol FlowKtor_httpParametersBuilder -@required -@end; - -__attribute__((swift_name("KotlinKType"))) -@protocol FlowKotlinKType -@required -@property (readonly) NSArray *arguments __attribute__((swift_name("arguments"))); -@property (readonly) id _Nullable classifier __attribute__((swift_name("classifier"))); -@property (readonly) BOOL isMarkedNullable __attribute__((swift_name("isMarkedNullable"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLProtocol.Companion"))) -@interface FlowKtor_httpURLProtocolCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpURLProtocolCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpURLProtocol *)createOrDefaultName:(NSString *)name __attribute__((swift_name("createOrDefault(name:)"))); -@property (readonly) FlowKtor_httpURLProtocol *HTTP __attribute__((swift_name("HTTP"))); -@property (readonly) FlowKtor_httpURLProtocol *HTTPS __attribute__((swift_name("HTTPS"))); -@property (readonly) FlowKtor_httpURLProtocol *SOCKS __attribute__((swift_name("SOCKS"))); -@property (readonly) FlowKtor_httpURLProtocol *WS __attribute__((swift_name("WS"))); -@property (readonly) FlowKtor_httpURLProtocol *WSS __attribute__((swift_name("WSS"))); -@property (readonly) NSDictionary *byName __attribute__((swift_name("byName"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHeaderValueParam"))) -@interface FlowKtor_httpHeaderValueParam : FlowBase -- (instancetype)initWithName:(NSString *)name value:(NSString *)value __attribute__((swift_name("init(name:value:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithName:(NSString *)name value:(NSString *)value escapeValue:(BOOL)escapeValue __attribute__((swift_name("init(name:value:escapeValue:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (BOOL)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHeaderValueParam *)doCopyName:(NSString *)name value:(NSString *)value escapeValue:(BOOL)escapeValue __attribute__((swift_name("doCopy(name:value:escapeValue:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL escapeValue __attribute__((swift_name("escapeValue"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHeaderValueWithParameters.Companion"))) -@interface FlowKtor_httpHeaderValueWithParametersCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHeaderValueWithParametersCompanion *shared __attribute__((swift_name("shared"))); -- (id _Nullable)parseValue:(NSString *)value init:(id _Nullable (^)(NSString *, NSArray *))init __attribute__((swift_name("parse(value:init:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpContentType.Companion"))) -@interface FlowKtor_httpContentTypeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpContentTypeCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpContentType *)parseValue:(NSString *)value __attribute__((swift_name("parse(value:)"))); -@property (readonly) FlowKtor_httpContentType *Any __attribute__((swift_name("Any"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreParentJob"))) -@protocol FlowKotlinx_coroutines_coreParentJob -@required -- (FlowKotlinCancellationException *)getChildJobCancellationCause __attribute__((swift_name("getChildJobCancellationCause()"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreSelectInstance"))) -@protocol FlowKotlinx_coroutines_coreSelectInstance -@required -- (void)disposeOnSelectHandle:(id)handle __attribute__((swift_name("disposeOnSelect(handle:)"))); -- (id _Nullable)performAtomicTrySelectDesc:(FlowKotlinx_coroutines_coreAtomicDesc *)desc __attribute__((swift_name("performAtomicTrySelect(desc:)"))); -- (void)resumeSelectWithExceptionException:(FlowKotlinThrowable *)exception __attribute__((swift_name("resumeSelectWithException(exception:)"))); -- (BOOL)trySelect __attribute__((swift_name("trySelect()"))); -- (id _Nullable)trySelectOtherOtherOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp * _Nullable)otherOp __attribute__((swift_name("trySelectOther(otherOp:)"))); -@property (readonly) id completion __attribute__((swift_name("completion"))); -@property (readonly) BOOL isSelected __attribute__((swift_name("isSelected"))); -@end; - -__attribute__((swift_name("KotlinSuspendFunction0"))) -@protocol FlowKotlinSuspendFunction0 -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)invokeWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(completionHandler:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsWeekDay.Companion"))) -@interface FlowKtor_utilsWeekDayCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_utilsWeekDayCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_utilsWeekDay *)fromOrdinal:(int32_t)ordinal __attribute__((swift_name("from(ordinal:)"))); -- (FlowKtor_utilsWeekDay *)fromValue:(NSString *)value __attribute__((swift_name("from(value:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsMonth.Companion"))) -@interface FlowKtor_utilsMonthCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_utilsMonthCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_utilsMonth *)fromOrdinal:(int32_t)ordinal __attribute__((swift_name("from(ordinal:)"))); -- (FlowKtor_utilsMonth *)fromValue:(NSString *)value __attribute__((swift_name("from(value:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioMemory.Companion"))) -@interface FlowKtor_ioMemoryCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioMemoryCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioMemory *Empty __attribute__((swift_name("Empty"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioBuffer.Companion"))) -@interface FlowKtor_ioBufferCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioBufferCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioBuffer *Empty __attribute__((swift_name("Empty"))); -@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); -@end; - -__attribute__((swift_name("Ktor_ioObjectPool"))) -@protocol FlowKtor_ioObjectPool -@required -- (id)borrow __attribute__((swift_name("borrow()"))); -- (void)dispose __attribute__((swift_name("dispose()"))); -- (void)recycleInstance:(id)instance __attribute__((swift_name("recycle(instance:)"))); -@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioChunkBuffer.Companion"))) -@interface FlowKtor_ioChunkBufferCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioChunkBufferCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioChunkBuffer *Empty __attribute__((swift_name("Empty"))); -@property (readonly) id EmptyPool __attribute__((swift_name("EmptyPool"))); -@property (readonly) id Pool __attribute__((swift_name("Pool"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioInput.Companion"))) -@interface FlowKtor_ioInputCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioInputCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioByteReadPacket.Companion"))) -@interface FlowKtor_ioByteReadPacketCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioByteReadPacketCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioByteReadPacket *Empty __attribute__((swift_name("Empty"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinKTypeProjection"))) -@interface FlowKotlinKTypeProjection : FlowBase -- (instancetype)initWithVariance:(FlowKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("init(variance:type:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKotlinKTypeProjectionCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKotlinKVariance * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKotlinKTypeProjection *)doCopyVariance:(FlowKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("doCopy(variance:type:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id _Nullable type __attribute__((swift_name("type"))); -@property (readonly) FlowKotlinKVariance * _Nullable variance __attribute__((swift_name("variance"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreAtomicDesc"))) -@interface FlowKotlinx_coroutines_coreAtomicDesc : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)completeOp:(FlowKotlinx_coroutines_coreAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); -- (id _Nullable)prepareOp:(FlowKotlinx_coroutines_coreAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); -@property FlowKotlinx_coroutines_coreAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreOpDescriptor"))) -@interface FlowKotlinx_coroutines_coreOpDescriptor : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (BOOL)isEarlierThanThat:(FlowKotlinx_coroutines_coreOpDescriptor *)that __attribute__((swift_name("isEarlierThan(that:)"))); -- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinx_coroutines_coreAtomicOp * _Nullable atomicOp __attribute__((swift_name("atomicOp"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNode.PrepareOp"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp : FlowKotlinx_coroutines_coreOpDescriptor -- (instancetype)initWithAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next desc:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc *)desc __attribute__((swift_name("init(affected:next:desc:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (void)finishPrepare __attribute__((swift_name("finishPrepare()"))); -- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *affected __attribute__((swift_name("affected"))); -@property (readonly) FlowKotlinx_coroutines_coreAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc *desc __attribute__((swift_name("desc"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *next __attribute__((swift_name("next"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinKVariance"))) -@interface FlowKotlinKVariance : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly) FlowKotlinKVariance *invariant __attribute__((swift_name("invariant"))); -@property (class, readonly) FlowKotlinKVariance *in __attribute__((swift_name("in"))); -@property (class, readonly) FlowKotlinKVariance *out __attribute__((swift_name("out"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinKTypeProjection.Companion"))) -@interface FlowKotlinKTypeProjectionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinKTypeProjectionCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKotlinKTypeProjection *)contravariantType:(id)type __attribute__((swift_name("contravariant(type:)"))); -- (FlowKotlinKTypeProjection *)covariantType:(id)type __attribute__((swift_name("covariant(type:)"))); -- (FlowKotlinKTypeProjection *)invariantType:(id)type __attribute__((swift_name("invariant(type:)"))); -@property (readonly) FlowKotlinKTypeProjection *STAR __attribute__((swift_name("STAR"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreAtomicOp"))) -@interface FlowKotlinx_coroutines_coreAtomicOp<__contravariant T> : FlowKotlinx_coroutines_coreOpDescriptor -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)completeAffected:(T _Nullable)affected failure:(id _Nullable)failure __attribute__((swift_name("complete(affected:failure:)"))); -- (id _Nullable)decideDecision:(id _Nullable)decision __attribute__((swift_name("decide(decision:)"))); -- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); -- (id _Nullable)prepareAffected:(T _Nullable)affected __attribute__((swift_name("prepare(affected:)"))); -@property (readonly) FlowKotlinx_coroutines_coreAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); -@property (readonly) id _Nullable consensus __attribute__((swift_name("consensus"))); -@property (readonly) BOOL isDecided __attribute__((swift_name("isDecided"))); -@property (readonly) int64_t opSequence __attribute__((swift_name("opSequence"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNode"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNode : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)addLastNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node __attribute__((swift_name("addLast(node:)"))); -- (BOOL)addLastIfNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node condition:(FlowBoolean *(^)(void))condition __attribute__((swift_name("addLastIf(node:condition:)"))); -- (BOOL)addLastIfPrevNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node predicate:(FlowBoolean *(^)(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *))predicate __attribute__((swift_name("addLastIfPrev(node:predicate:)"))); -- (BOOL)addLastIfPrevAndIfNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node predicate:(FlowBoolean *(^)(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *))predicate condition:(FlowBoolean *(^)(void))condition __attribute__((swift_name("addLastIfPrevAndIf(node:predicate:condition:)"))); -- (BOOL)addOneIfEmptyNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node __attribute__((swift_name("addOneIfEmpty(node:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc *)describeAddLastNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node __attribute__((swift_name("describeAddLast(node:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc *)describeRemoveFirst __attribute__((swift_name("describeRemoveFirst()"))); -- (void)helpRemove __attribute__((swift_name("helpRemove()"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)nextIfRemoved __attribute__((swift_name("nextIfRemoved()"))); -- (BOOL)remove __attribute__((swift_name("remove()"))); -- (id _Nullable)removeFirstIfIsInstanceOfOrPeekIfPredicate:(FlowBoolean *(^)(id _Nullable))predicate __attribute__((swift_name("removeFirstIfIsInstanceOfOrPeekIf(predicate:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)removeFirstOrNull __attribute__((swift_name("removeFirstOrNull()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL isRemoved __attribute__((swift_name("isRemoved"))); -@property (readonly, getter=next_) id next __attribute__((swift_name("next"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *nextNode __attribute__((swift_name("nextNode"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *prevNode __attribute__((swift_name("prevNode"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNode.AbstractAtomicDesc"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc : FlowKotlinx_coroutines_coreAtomicDesc -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)completeOp:(FlowKotlinx_coroutines_coreAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); -- (id _Nullable)failureAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected __attribute__((swift_name("failure(affected:)"))); -- (void)finishOnSuccessAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); -- (void)finishPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); -- (id _Nullable)onPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("onPrepare(prepareOp:)"))); -- (void)onRemovedAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected __attribute__((swift_name("onRemoved(affected:)"))); -- (id _Nullable)prepareOp:(FlowKotlinx_coroutines_coreAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); -- (BOOL)retryAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(FlowKotlinx_coroutines_coreOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); -- (id)updatedNextAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc : FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc -- (instancetype)initWithQueue:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)queue node:(T)node __attribute__((swift_name("init(queue:node:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (void)finishOnSuccessAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); -- (void)finishPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); -- (BOOL)retryAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(FlowKotlinx_coroutines_coreOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); -- (id)updatedNextAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); -@property (readonly) T node __attribute__((swift_name("node"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *originalNext __attribute__((swift_name("originalNext"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc : FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc -- (instancetype)initWithQueue:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)queue __attribute__((swift_name("init(queue:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (id _Nullable)failureAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected __attribute__((swift_name("failure(affected:)"))); -- (void)finishOnSuccessAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); -- (void)finishPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); -- (BOOL)retryAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(FlowKotlinx_coroutines_coreOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); -- (id)updatedNextAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); -@property (readonly) T _Nullable result __attribute__((swift_name("result"))); -@end; - -#pragma pop_macro("_Nullable_result") -#pragma clang diagnostic pop -NS_ASSUME_NONNULL_END diff --git a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Info.plist b/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Info.plist deleted file mode 100644 index b4a2377..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleExecutable - Flow - CFBundleIdentifier - org.onflow.flow.Flow - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Flow - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSupportedPlatforms - - iPhoneOS - - CFBundleVersion - 1 - MinimumOSVersion - 9.0 - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - arm64 - - - \ No newline at end of file diff --git a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Modules/module.modulemap b/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Modules/module.modulemap deleted file mode 100644 index 77af621..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-arm64/Flow.framework/Modules/module.modulemap +++ /dev/null @@ -1,8 +0,0 @@ -framework module Flow { - umbrella header "Flow.h" - - export * - module * { export * } - - use Foundation -} \ No newline at end of file diff --git a/flow/swiftpackage/Flow.xcframework/ios-arm64/dSYMs/Flow.framework.dSYM/Contents/Info.plist b/flow/swiftpackage/Flow.xcframework/ios-arm64/dSYMs/Flow.framework.dSYM/Contents/Info.plist deleted file mode 100644 index 66c4dd3..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-arm64/dSYMs/Flow.framework.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.org.onflow.flow.Flow - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/flow/swiftpackage/Flow.xcframework/ios-arm64/dSYMs/Flow.framework.dSYM/Contents/Resources/DWARF/Flow b/flow/swiftpackage/Flow.xcframework/ios-arm64/dSYMs/Flow.framework.dSYM/Contents/Resources/DWARF/Flow deleted file mode 100644 index 6186bdc..0000000 Binary files a/flow/swiftpackage/Flow.xcframework/ios-arm64/dSYMs/Flow.framework.dSYM/Contents/Resources/DWARF/Flow and /dev/null differ diff --git a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Flow b/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Flow deleted file mode 100755 index e6911c1..0000000 Binary files a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Flow and /dev/null differ diff --git a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Headers/Flow.h b/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Headers/Flow.h deleted file mode 100644 index f1bd974..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Headers/Flow.h +++ /dev/null @@ -1,5307 +0,0 @@ -#import -#import -#import -#import -#import -#import -#import - -@class FlowChainId, FlowChainIdCanary, FlowChainIdCustom, FlowChainIdEmulator, FlowChainIdMainnet, FlowChainIdSandboxnet, FlowChainIdTestnet, FlowCadenceValue, FlowAccount, FlowBlock, FlowBlockHeader, FlowCollection, FlowBlockEvents, FlowExecutionResult, FlowTransaction, FlowTransactionResult, FlowKotlinThrowable, FlowKotlinArray, FlowKotlinException, FlowKotlinRuntimeException, FlowKotlinIllegalArgumentException, FlowRLPType, FlowKotlinByteArray, FlowRLPElement, FlowRLPList, FlowApiBaseCompanion, FlowKtor_client_coreHttpClient, FlowBase64ByteArrayCompanion, FlowBase64ByteArray, FlowBigDecimalCadenceSerializer, FlowBignumBigDecimal, FlowBigIntegerCadenceSerializer, FlowBignumBigInteger, FlowByteCadenceSerializer, FlowCadenceCompanion, FlowCadenceType, FlowCadenceCapabilityCompanion, FlowCadenceCapability, FlowCadenceValueAddressValue, FlowCadenceValueArrayValue, FlowCadenceValueBooleanValue, FlowCadenceValueCapabilityValue, FlowCadenceValueContractValue, FlowCadenceCompositeValue, FlowCadenceValueDictionaryValue, FlowCadenceDictionaryFieldEntry, FlowCadenceValueFix64Value, FlowCadenceValueIntValue, FlowCadenceValueInt128Value, FlowCadenceValueInt16Value, FlowCadenceValueInt256Value, FlowCadenceValueInt32Value, FlowCadenceValueInt64Value, FlowCadenceValueInt8Value, FlowCadenceValueOptionalValue, FlowCadenceValuePathValue, FlowCadencePath, FlowCadencePathDomain, FlowCadenceValueStringValue, FlowCadenceValueStructValue, FlowCadenceValueTypeValue, FlowCadenceKind, FlowCadenceTypeEntry, FlowCadenceValueUFix64Value, FlowCadenceValueUIntValue, FlowCadenceValueUInt128Value, FlowCadenceValueUInt16Value, FlowCadenceValueUInt256Value, FlowCadenceValueUInt32Value, FlowCadenceValueUInt64Value, FlowCadenceValueUInt8Value, FlowCadenceValueVoidValue, FlowCadenceValueWord16Value, FlowCadenceValueWord32Value, FlowCadenceValueWord64Value, FlowCadenceValueWord8Value, FlowCadenceCompositeAttributeCompanion, FlowCadenceCompositeAttribute, FlowCadenceCompositeValueCompanion, FlowKotlinPair<__covariant A, __covariant B>, FlowCadenceDictionaryFieldEntryCompanion, FlowCadenceKindCompanion, FlowCadencePathCompanion, FlowKotlinEnumCompanion, FlowKotlinEnum, FlowCadencePathDomainCompanion, FlowCadenceTypeCompanion, FlowCadenceTypeEntryCompanion, FlowCadenceValueCompanion, FlowCadenceValueAddressValueCompanion, FlowCadenceValueArrayValueCompanion, FlowCadenceValueBooleanValueCompanion, FlowCadenceValueCapabilityValueCompanion, FlowKotlinx_serialization_jsonJsonElement, FlowKotlinx_serialization_jsonJson, FlowCadenceValueContractValueCompanion, FlowCadenceValueDictionaryValueCompanion, FlowCadenceValueEnumValueCompanion, FlowCadenceValueEnumValue, FlowCadenceValueEventValueCompanion, FlowCadenceValueEventValue, FlowCadenceValueFix64ValueCompanion, FlowCadenceValueInt128ValueCompanion, FlowCadenceValueInt16ValueCompanion, FlowCadenceValueInt256ValueCompanion, FlowCadenceValueInt32ValueCompanion, FlowCadenceValueInt64ValueCompanion, FlowCadenceValueInt8ValueCompanion, FlowCadenceValueIntValueCompanion, FlowCadenceValueOptionalValueCompanion, FlowCadenceValuePathValueCompanion, FlowCadenceValueResourceValueCompanion, FlowCadenceValueResourceValue, FlowCadenceValueStringValueCompanion, FlowCadenceValueStructValueCompanion, FlowCadenceValueTypeValueCompanion, FlowCadenceValueUFix64ValueCompanion, FlowCadenceValueUInt128ValueCompanion, FlowCadenceValueUInt16ValueCompanion, FlowCadenceValueUInt256ValueCompanion, FlowCadenceValueUInt32ValueCompanion, FlowCadenceValueUInt64ValueCompanion, FlowCadenceValueUInt8ValueCompanion, FlowCadenceValueUIntValueCompanion, FlowKotlinUnit, FlowCadenceValueVoidValueCompanion, FlowCadenceValueWord16ValueCompanion, FlowCadenceValueWord32ValueCompanion, FlowCadenceValueWord64ValueCompanion, FlowCadenceValueWord8ValueCompanion, FlowCadenceTypeSerializer, FlowDoubleCadenceSerializer, FlowFixedPointFormatter, FlowIntCadenceSerializer, FlowLongCadenceSerializer, FlowShortCadenceSerializer, FlowUByteCadenceSerializer, FlowUIntCadenceSerializer, FlowULongCadenceSerializer, FlowUShortCadenceSerializer, FlowAccountExpandable, FlowAccountPublicKey, FlowLinks, FlowAccountCompanion, FlowAccountExpandableCompanion, FlowSigningAlgorithm, FlowHashingAlgorithm, FlowAccountPublicKeyCompanion, FlowAggregatedSignatureCompanion, FlowAggregatedSignature, FlowBase64HexSerializer, FlowBase64UFT8Serializer, FlowBlockExpandable, FlowBlockPayload, FlowBlockCompanion, FlowEvent, FlowBlockEventsCompanion, FlowBlockExpandableCompanion, FlowBlockHeaderCompanion, FlowBlockHeightOneOfCompanion, FlowBlockHeightOneOf, FlowCollectionGuarantee, FlowBlockSeal, FlowBlockPayloadCompanion, FlowBlockSealCompanion, FlowCadenceBase64Serializer, FlowChunkCompanion, FlowChunk, FlowCollectionExpandable, FlowCollectionCompanion, FlowCollectionExpandableCompanion, FlowCollectionGuaranteeCompanion, FlowDomainTag, FlowDomainTagAccountProof, FlowDomainTagCustom, FlowDomainTagTransaction, FlowDomainTagUser, FlowErrorCompanion, FlowError, FlowEventCompanion, FlowExecutionResultCompanion, FlowHashingAlgorithmCompanion, FlowLinksCompanion, FlowProposalKeyCompanion, FlowProposalKey, FlowScriptsPostRequestCompanion, FlowScriptsPostRequest, FlowScriptsPostResponseCompanion, FlowScriptsPostResponse, FlowSigningAlgorithmCompanion, FlowTransactionSignature, FlowTransactionExpandable, FlowTransactionCompanion, FlowTransactionExecutionCompanion, FlowTransactionExecution, FlowTransactionExpandableCompanion, FlowTransactionStatus, FlowTransactionResultCompanion, FlowTransactionSignatureCompanion, FlowTransactionStatusCompanion, FlowFlowApi, FlowKotlinByteIterator, FlowBignumBigIntegerCompanion, FlowBignumBigIntegerQuotientAndRemainder, FlowBignumSign, FlowBignumBigIntegerBigIntegerRange, FlowBignumBigIntegerSqareRootAndRemainder, FlowBignumModularBigInteger, FlowKotlinIllegalStateException, FlowKtor_client_coreHttpClientEngineConfig, FlowKtor_client_coreHttpClientConfig, FlowKtor_eventsEvents, FlowKtor_client_coreHttpReceivePipeline, FlowKtor_client_coreHttpRequestPipeline, FlowKtor_client_coreHttpResponsePipeline, FlowKtor_client_coreHttpSendPipeline, FlowKotlinx_serialization_coreSerializersModule, FlowKotlinx_serialization_coreSerialKind, FlowKotlinNothing, FlowBignumBigDecimalCompanion, FlowBignumDecimalMode, FlowBignumRoundingMode, FlowKotlinx_serialization_jsonJsonElementCompanion, FlowKotlinx_serialization_jsonJsonDefault, FlowKotlinx_serialization_jsonJsonConfiguration, FlowBignumModularBigIntegerCompanion, FlowBignumModularQuotientAndRemainder, FlowKtor_client_coreHttpRequestData, FlowKtor_client_coreHttpResponseData, FlowKotlinx_coroutines_coreCoroutineDispatcher, FlowKtor_client_coreProxyConfig, FlowKtor_utilsAttributeKey, FlowKtor_eventsEventDefinition, FlowKtor_utilsPipelinePhase, FlowKtor_utilsPipeline, FlowKtor_client_coreHttpReceivePipelinePhases, FlowKtor_client_coreHttpResponse, FlowKtor_client_coreHttpRequestPipelinePhases, FlowKtor_client_coreHttpRequestBuilder, FlowKtor_client_coreHttpResponsePipelinePhases, FlowKtor_client_coreHttpResponseContainer, FlowKtor_client_coreHttpClientCall, FlowKtor_client_coreHttpSendPipelinePhases, FlowBignumDecimalModeCompanion, FlowKtor_httpUrl, FlowKtor_httpHttpMethod, FlowKtor_httpOutgoingContent, FlowKtor_httpHttpStatusCode, FlowKtor_utilsGMTDate, FlowKtor_httpHttpProtocolVersion, FlowKotlinAbstractCoroutineContextElement, FlowKotlinx_coroutines_coreCoroutineDispatcherKey, FlowKtor_httpHeadersBuilder, FlowKtor_client_coreHttpRequestBuilderCompanion, FlowKtor_httpURLBuilder, FlowKtor_utilsTypeInfo, FlowKtor_client_coreHttpClientCallCompanion, FlowKtor_httpUrlCompanion, FlowKtor_httpURLProtocol, FlowKtor_httpHttpMethodCompanion, FlowKtor_httpContentType, FlowKotlinCancellationException, FlowKtor_httpHttpStatusCodeCompanion, FlowKtor_utilsGMTDateCompanion, FlowKtor_utilsWeekDay, FlowKtor_utilsMonth, FlowKtor_httpHttpProtocolVersionCompanion, FlowKotlinAbstractCoroutineContextKey, FlowKtor_ioMemory, FlowKtor_ioChunkBuffer, FlowKtor_ioBuffer, FlowKtor_ioByteReadPacket, FlowKtor_utilsStringValuesBuilderImpl, FlowKtor_httpURLBuilderCompanion, FlowKtor_httpURLProtocolCompanion, FlowKtor_httpHeaderValueParam, FlowKtor_httpHeaderValueWithParametersCompanion, FlowKtor_httpHeaderValueWithParameters, FlowKtor_httpContentTypeCompanion, FlowKtor_utilsWeekDayCompanion, FlowKtor_utilsMonthCompanion, FlowKtor_ioMemoryCompanion, FlowKtor_ioBufferCompanion, FlowKtor_ioChunkBufferCompanion, FlowKtor_ioInputCompanion, FlowKtor_ioInput, FlowKtor_ioByteReadPacketCompanion, FlowKotlinKTypeProjection, FlowKotlinx_coroutines_coreAtomicDesc, FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp, FlowKotlinKVariance, FlowKotlinKTypeProjectionCompanion, FlowKotlinx_coroutines_coreAtomicOp<__contravariant T>, FlowKotlinx_coroutines_coreOpDescriptor, FlowKotlinx_coroutines_coreLockFreeLinkedListNode, FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc, FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc, FlowKotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc; - -@protocol FlowChainIdProvider, FlowKotlinx_serialization_coreEncoder, FlowKotlinx_serialization_coreSerialDescriptor, FlowKotlinx_serialization_coreSerializationStrategy, FlowKotlinx_serialization_coreDecoder, FlowKotlinx_serialization_coreDeserializationStrategy, FlowKotlinx_serialization_coreKSerializer, FlowKotlinComparable, FlowBignumBigNumber, FlowBignumBigNumberCreator, FlowBignumBitwiseCapable, FlowBignumByteArraySerializable, FlowKotlinIterator, FlowKotlinCoroutineContext, FlowKotlinx_coroutines_coreCoroutineScope, FlowKtor_ioCloseable, FlowKtor_client_coreHttpClientEngine, FlowKtor_client_coreHttpClientEngineCapability, FlowKtor_utilsAttributes, FlowKotlinx_serialization_coreCompositeEncoder, FlowKotlinAnnotation, FlowKotlinx_serialization_coreCompositeDecoder, FlowKotlinx_serialization_coreSerialFormat, FlowKotlinx_serialization_coreStringFormat, FlowBignumBigNumberUtil, FlowBignumByteArrayDeserializable, FlowKotlinClosedRange, FlowKotlinIterable, FlowKotlinCoroutineContextElement, FlowKotlinCoroutineContextKey, FlowKtor_client_coreHttpClientPlugin, FlowKotlinx_coroutines_coreDisposableHandle, FlowKotlinSuspendFunction2, FlowKotlinx_serialization_coreSerializersModuleCollector, FlowKotlinKClass, FlowKtor_httpHeaders, FlowKotlinx_coroutines_coreJob, FlowKotlinContinuation, FlowKotlinContinuationInterceptor, FlowKotlinx_coroutines_coreRunnable, FlowKotlinFunction, FlowKtor_httpHttpMessage, FlowKtor_ioByteReadChannel, FlowKtor_httpHttpMessageBuilder, FlowKtor_client_coreHttpRequest, FlowKotlinKDeclarationContainer, FlowKotlinKAnnotatedElement, FlowKotlinKClassifier, FlowKtor_httpParameters, FlowKotlinMapEntry, FlowKtor_utilsStringValues, FlowKotlinx_coroutines_coreChildHandle, FlowKotlinx_coroutines_coreChildJob, FlowKotlinSequence, FlowKotlinx_coroutines_coreSelectClause0, FlowKtor_ioReadSession, FlowKotlinSuspendFunction1, FlowKotlinAppendable, FlowKtor_utilsStringValuesBuilder, FlowKtor_httpParametersBuilder, FlowKotlinKType, FlowKotlinx_coroutines_coreParentJob, FlowKotlinx_coroutines_coreSelectInstance, FlowKotlinSuspendFunction0, FlowKtor_ioObjectPool; - -NS_ASSUME_NONNULL_BEGIN -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma clang diagnostic ignored "-Wincompatible-property-type" -#pragma clang diagnostic ignored "-Wnullability" - -#pragma push_macro("_Nullable_result") -#if !__has_feature(nullability_nullable_result) -#undef _Nullable_result -#define _Nullable_result _Nullable -#endif - -__attribute__((swift_name("KotlinBase"))) -@interface FlowBase : NSObject -- (instancetype)init __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -+ (void)initialize __attribute__((objc_requires_super)); -@end; - -@interface FlowBase (FlowBaseCopying) -@end; - -__attribute__((swift_name("KotlinMutableSet"))) -@interface FlowMutableSet : NSMutableSet -@end; - -__attribute__((swift_name("KotlinMutableDictionary"))) -@interface FlowMutableDictionary : NSMutableDictionary -@end; - -@interface NSError (NSErrorFlowKotlinException) -@property (readonly) id _Nullable kotlinException; -@end; - -__attribute__((swift_name("KotlinNumber"))) -@interface FlowNumber : NSNumber -- (instancetype)initWithChar:(char)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); -- (instancetype)initWithShort:(short)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); -- (instancetype)initWithInt:(int)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); -- (instancetype)initWithLong:(long)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); -- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); -- (instancetype)initWithFloat:(float)value __attribute__((unavailable)); -- (instancetype)initWithDouble:(double)value __attribute__((unavailable)); -- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable)); -- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable)); -- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); -+ (instancetype)numberWithChar:(char)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); -+ (instancetype)numberWithShort:(short)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); -+ (instancetype)numberWithInt:(int)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); -+ (instancetype)numberWithLong:(long)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); -+ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); -+ (instancetype)numberWithFloat:(float)value __attribute__((unavailable)); -+ (instancetype)numberWithDouble:(double)value __attribute__((unavailable)); -+ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable)); -+ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable)); -+ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); -@end; - -__attribute__((swift_name("KotlinByte"))) -@interface FlowByte : FlowNumber -- (instancetype)initWithChar:(char)value; -+ (instancetype)numberWithChar:(char)value; -@end; - -__attribute__((swift_name("KotlinUByte"))) -@interface FlowUByte : FlowNumber -- (instancetype)initWithUnsignedChar:(unsigned char)value; -+ (instancetype)numberWithUnsignedChar:(unsigned char)value; -@end; - -__attribute__((swift_name("KotlinShort"))) -@interface FlowShort : FlowNumber -- (instancetype)initWithShort:(short)value; -+ (instancetype)numberWithShort:(short)value; -@end; - -__attribute__((swift_name("KotlinUShort"))) -@interface FlowUShort : FlowNumber -- (instancetype)initWithUnsignedShort:(unsigned short)value; -+ (instancetype)numberWithUnsignedShort:(unsigned short)value; -@end; - -__attribute__((swift_name("KotlinInt"))) -@interface FlowInt : FlowNumber -- (instancetype)initWithInt:(int)value; -+ (instancetype)numberWithInt:(int)value; -@end; - -__attribute__((swift_name("KotlinUInt"))) -@interface FlowUInt : FlowNumber -- (instancetype)initWithUnsignedInt:(unsigned int)value; -+ (instancetype)numberWithUnsignedInt:(unsigned int)value; -@end; - -__attribute__((swift_name("KotlinLong"))) -@interface FlowLong : FlowNumber -- (instancetype)initWithLongLong:(long long)value; -+ (instancetype)numberWithLongLong:(long long)value; -@end; - -__attribute__((swift_name("KotlinULong"))) -@interface FlowULong : FlowNumber -- (instancetype)initWithUnsignedLongLong:(unsigned long long)value; -+ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value; -@end; - -__attribute__((swift_name("KotlinFloat"))) -@interface FlowFloat : FlowNumber -- (instancetype)initWithFloat:(float)value; -+ (instancetype)numberWithFloat:(float)value; -@end; - -__attribute__((swift_name("KotlinDouble"))) -@interface FlowDouble : FlowNumber -- (instancetype)initWithDouble:(double)value; -+ (instancetype)numberWithDouble:(double)value; -@end; - -__attribute__((swift_name("KotlinBoolean"))) -@interface FlowBoolean : FlowNumber -- (instancetype)initWithBool:(BOOL)value; -+ (instancetype)numberWithBool:(BOOL)value; -@end; - -__attribute__((swift_name("ChainIdProvider"))) -@protocol FlowChainIdProvider -@required -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((swift_name("ChainId"))) -@interface FlowChainId : FlowBase -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Canary"))) -@interface FlowChainIdCanary : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)canary __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdCanary *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Custom"))) -@interface FlowChainIdCustom : FlowChainId -- (instancetype)initWithBaseUrl:(NSString *)baseUrl description:(NSString *)description __attribute__((swift_name("init(baseUrl:description:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowChainIdCustom *)doCopyBaseUrl:(NSString *)baseUrl description:(NSString *)description __attribute__((swift_name("doCopy(baseUrl:description:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Emulator"))) -@interface FlowChainIdEmulator : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)emulator __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdEmulator *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Mainnet"))) -@interface FlowChainIdMainnet : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)mainnet __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdMainnet *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Sandboxnet"))) -@interface FlowChainIdSandboxnet : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)sandboxnet __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdSandboxnet *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ChainId.Testnet"))) -@interface FlowChainIdTestnet : FlowChainId -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)testnet __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChainIdTestnet *shared __attribute__((swift_name("shared"))); -@property (readonly) NSString *baseUrl __attribute__((swift_name("baseUrl"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("FlowApi"))) -@interface FlowFlowApi : FlowBase -- (instancetype)initWithChainId:(id)chainId __attribute__((swift_name("init(chainId:)"))) __attribute__((objc_designated_initializer)); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)executeScriptScript:(NSString *)script arguments:(NSArray * _Nullable)arguments blockId:(NSString * _Nullable)blockId blockHeight:(NSString * _Nullable)blockHeight completionHandler:(void (^)(FlowCadenceValue * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("executeScript(script:arguments:blockId:blockHeight:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getAccountAddress:(NSString *)address blockHeight:(NSString * _Nullable)blockHeight sealed:(BOOL)sealed completionHandler:(void (^)(FlowAccount * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getAccount(address:blockHeight:sealed:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getBlockId:(NSString * _Nullable)id blockHeight:(NSString * _Nullable)blockHeight sealed:(BOOL)sealed completionHandler:(void (^)(FlowBlock * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBlock(id:blockHeight:sealed:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getBlockHeaderId:(NSString * _Nullable)id blockHeight:(NSString * _Nullable)blockHeight sealed:(BOOL)sealed completionHandler:(void (^)(FlowBlockHeader * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBlockHeader(id:blockHeight:sealed:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getCollectionId:(NSString *)id completionHandler:(void (^)(FlowCollection * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCollection(id:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getEventsType:(NSString *)type startHeight:(NSString * _Nullable)startHeight endHeight:(NSString * _Nullable)endHeight blockIds:(NSSet * _Nullable)blockIds completionHandler:(void (^)(FlowBlockEvents * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getEvents(type:startHeight:endHeight:blockIds:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getExecutionResultId:(NSString *)id completionHandler:(void (^)(FlowExecutionResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getExecutionResult(id:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getExecutionResultsBlockId:(NSSet *)blockId completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getExecutionResults(blockId:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getTransactionTransactionId:(NSString *)transactionId completionHandler:(void (^)(FlowTransaction * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getTransaction(transactionId:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getTransactionResultTransactionId:(NSString *)transactionId completionHandler:(void (^)(FlowTransactionResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getTransactionResult(transactionId:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)sendTransactionRequest:(FlowTransaction *)request completionHandler:(void (^)(FlowTransaction * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("sendTransaction(request:completionHandler:)"))); -@property (readonly) id chainId __attribute__((swift_name("chainId"))); -@end; - -__attribute__((swift_name("KotlinThrowable"))) -@interface FlowKotlinThrowable : FlowBase -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (FlowKotlinArray *)getStackTrace __attribute__((swift_name("getStackTrace()"))); -- (void)printStackTrace __attribute__((swift_name("printStackTrace()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinThrowable * _Nullable cause __attribute__((swift_name("cause"))); -@property (readonly) NSString * _Nullable message __attribute__((swift_name("message"))); -- (NSError *)asError __attribute__((swift_name("asError()"))); -@end; - -__attribute__((swift_name("KotlinException"))) -@interface FlowKotlinException : FlowKotlinThrowable -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((swift_name("KotlinRuntimeException"))) -@interface FlowKotlinRuntimeException : FlowKotlinException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((swift_name("KotlinIllegalArgumentException"))) -@interface FlowKotlinIllegalArgumentException : FlowKotlinRuntimeException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("IllegalRLPException"))) -@interface FlowIllegalRLPException : FlowKotlinIllegalArgumentException -- (instancetype)initWithMsg:(NSString *)msg __attribute__((swift_name("init(msg:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@end; - -__attribute__((swift_name("RLPType"))) -@interface FlowRLPType : FlowBase -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("RLPElement"))) -@interface FlowRLPElement : FlowRLPType -- (instancetype)initWithBytes:(FlowKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); -- (FlowKotlinByteArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowRLPElement *)doCopyBytes:(FlowKotlinByteArray *)bytes __attribute__((swift_name("doCopy(bytes:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinByteArray *bytes __attribute__((swift_name("bytes"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("RLPList"))) -@interface FlowRLPList : FlowRLPType -- (instancetype)initWithElement:(NSArray *)element __attribute__((swift_name("init(element:)"))) __attribute__((objc_designated_initializer)); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowRLPList *)doCopyElement:(NSArray *)element __attribute__((swift_name("doCopy(element:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *element __attribute__((swift_name("element"))); -@end; - -__attribute__((swift_name("ApiBase"))) -@interface FlowApiBase : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property (class, readonly, getter=companion) FlowApiBaseCompanion *companion __attribute__((swift_name("companion"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ApiBase.Companion"))) -@interface FlowApiBaseCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowApiBaseCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_client_coreHttpClient *client __attribute__((swift_name("client"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64ByteArray"))) -@interface FlowBase64ByteArray : FlowBase -- (instancetype)initWithBytes:(FlowKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBase64ByteArrayCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinByteArray *bytes __attribute__((swift_name("bytes"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerializationStrategy"))) -@protocol FlowKotlinx_serialization_coreSerializationStrategy -@required -- (void)serializeEncoder:(id)encoder value:(id _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreDeserializationStrategy"))) -@protocol FlowKotlinx_serialization_coreDeserializationStrategy -@required -- (id _Nullable)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreKSerializer"))) -@protocol FlowKotlinx_serialization_coreKSerializer -@required -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64ByteArray.Companion"))) -@interface FlowBase64ByteArrayCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBase64ByteArrayCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBase64ByteArray *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowBase64ByteArray *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BigDecimalCadenceSerializer"))) -@interface FlowBigDecimalCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)bigDecimalCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBigDecimalCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigDecimal *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowBignumBigDecimal *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BigIntegerCadenceSerializer"))) -@interface FlowBigIntegerCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)bigIntegerCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBigIntegerCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigInteger *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowBignumBigInteger *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ByteCadenceSerializer"))) -@interface FlowByteCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)byteCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowByteCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowByte *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowByte *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence"))) -@interface FlowCadence : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property (class, readonly, getter=companion) FlowCadenceCompanion *companion __attribute__((swift_name("companion"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Capability"))) -@interface FlowCadenceCapability : FlowBase -- (instancetype)initWithPath:(NSString *)path address:(NSString *)address borrowType:(FlowCadenceType *)borrowType __attribute__((swift_name("init(path:address:borrowType:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceCapabilityCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceType *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceCapability *)doCopyPath:(NSString *)path address:(NSString *)address borrowType:(FlowCadenceType *)borrowType __attribute__((swift_name("doCopy(path:address:borrowType:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) FlowCadenceType *borrowType __attribute__((swift_name("borrowType"))); -@property (readonly) NSString *path __attribute__((swift_name("path"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.CapabilityCompanion"))) -@interface FlowCadenceCapabilityCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCapabilityCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Companion"))) -@interface FlowCadenceCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCompanion *shared __attribute__((swift_name("shared"))); -- (FlowCadenceValueAddressValue *)addressValue:(FlowKotlinByteArray *)value __attribute__((swift_name("address(value:)"))); -- (FlowCadenceValueAddressValue *)addressValue_:(NSString *)value __attribute__((swift_name("address(value_:)"))); -- (FlowCadenceValueArrayValue *)arrayValue:(NSArray *)value __attribute__((swift_name("array(value:)"))); -- (FlowCadenceValueBooleanValue *)boolValue:(BOOL)value __attribute__((swift_name("bool(value:)"))); -- (FlowCadenceValueCapabilityValue *)capabilityPath:(NSString *)path address:(NSString *)address borrowType:(FlowCadenceType *)borrowType __attribute__((swift_name("capability(path:address:borrowType:)"))); -- (FlowCadenceValueCapabilityValue *)capabilityValue:(FlowCadenceCapability *)value __attribute__((swift_name("capability(value:)"))); -- (FlowCadenceValueContractValue *)contractValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("contractValue(value:)"))); -- (FlowCadenceValueDictionaryValue *)dictionaryValue:(NSArray *)value __attribute__((swift_name("dictionary(value:)"))); -- (FlowCadenceValueDictionaryValue *)dictionaryValue_:(NSDictionary *)value __attribute__((swift_name("dictionary(value_:)"))); -- (FlowCadenceValueContractValue *)enumValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("enumValue(value:)"))); -- (FlowCadenceValueContractValue *)eventValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("eventValue(value:)"))); -- (FlowCadenceValueFix64Value *)fix64Value:(double)value __attribute__((swift_name("fix64(value:)"))); -- (FlowCadenceValueFix64Value *)fix64Value_:(id)value __attribute__((swift_name("fix64(value_:)"))); -- (FlowCadenceValueFix64Value *)fix64Value__:(NSString *)value __attribute__((swift_name("fix64(value__:)"))); -- (FlowCadenceValueIntValue *)intValue:(int32_t)value __attribute__((swift_name("int(value:)"))); -- (FlowCadenceValueInt128Value *)int128Value:(FlowBignumBigInteger *)value __attribute__((swift_name("int128(value:)"))); -- (FlowCadenceValueInt16Value *)int16Value:(int16_t)value __attribute__((swift_name("int16(value:)"))); -- (FlowCadenceValueInt256Value *)int256Value:(FlowBignumBigInteger *)value __attribute__((swift_name("int256(value:)"))); -- (FlowCadenceValueInt32Value *)int32Value:(int32_t)value __attribute__((swift_name("int32(value:)"))); -- (FlowCadenceValueInt64Value *)int64Value:(int64_t)value __attribute__((swift_name("int64(value:)"))); -- (FlowCadenceValueInt8Value *)int8Value:(int8_t)value __attribute__((swift_name("int8(value:)"))); -- (FlowCadenceValueOptionalValue *)optionalValue:(FlowCadenceValue * _Nullable)value __attribute__((swift_name("optional(value:)"))); -- (FlowCadenceValuePathValue *)pathValue:(FlowCadencePath *)value __attribute__((swift_name("path(value:)"))); -- (FlowCadenceValuePathValue *)pathDomain:(FlowCadencePathDomain *)domain identifier:(NSString *)identifier __attribute__((swift_name("path(domain:identifier:)"))); -- (FlowCadenceValueContractValue *)resourceValueValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("resourceValue(value:)"))); -- (FlowCadenceValueStringValue *)stringValue:(NSString *)value __attribute__((swift_name("string(value:)"))); -- (FlowCadenceValueStructValue *)structValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("struct(value:)"))); -- (FlowCadenceValueTypeValue *)typeValue:(FlowCadenceKind *)value __attribute__((swift_name("type(value:)"))); -- (FlowCadenceValueTypeValue *)typeValue_:(FlowCadenceTypeEntry *)value __attribute__((swift_name("type(value_:)"))); -- (FlowCadenceValueUFix64Value *)ufix64Value:(double)value __attribute__((swift_name("ufix64(value:)"))); -- (FlowCadenceValueUFix64Value *)ufix64Value_:(id)value __attribute__((swift_name("ufix64(value_:)"))); -- (FlowCadenceValueUFix64Value *)ufix64Value__:(NSString *)value __attribute__((swift_name("ufix64(value__:)"))); -- (FlowCadenceValueUIntValue *)uintValue:(uint32_t)value __attribute__((swift_name("uint(value:)"))); -- (FlowCadenceValueUInt128Value *)uint128Value:(FlowBignumBigInteger *)value __attribute__((swift_name("uint128(value:)"))); -- (FlowCadenceValueUInt16Value *)uint16Value:(uint16_t)value __attribute__((swift_name("uint16(value:)"))); -- (FlowCadenceValueUInt256Value *)uint256Value:(FlowBignumBigInteger *)value __attribute__((swift_name("uint256(value:)"))); -- (FlowCadenceValueUInt32Value *)uint32Value:(uint32_t)value __attribute__((swift_name("uint32(value:)"))); -- (FlowCadenceValueUInt64Value *)uint64Value:(uint64_t)value __attribute__((swift_name("uint64(value:)"))); -- (FlowCadenceValueUInt8Value *)uint8Value:(uint8_t)value __attribute__((swift_name("uint8(value:)"))); -- (FlowCadenceValueVoidValue *)void __attribute__((swift_name("void()"))); -- (FlowCadenceValueWord16Value *)word16Value:(uint16_t)value __attribute__((swift_name("word16(value:)"))); -- (FlowCadenceValueWord32Value *)word32Value:(uint32_t)value __attribute__((swift_name("word32(value:)"))); -- (FlowCadenceValueWord64Value *)word64Value:(uint64_t)value __attribute__((swift_name("word64(value:)"))); -- (FlowCadenceValueWord8Value *)word8Value:(uint8_t)value __attribute__((swift_name("word8(value:)"))); -@end; - -__attribute__((swift_name("Cadence.CompositeAttribute"))) -@interface FlowCadenceCompositeAttribute : FlowBase -- (instancetype)initWithName:(NSString *)name value:(FlowCadenceValue *)value __attribute__((swift_name("init(name:value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceCompositeAttributeCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@property (readonly) FlowCadenceValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.CompositeAttributeCompanion"))) -@interface FlowCadenceCompositeAttributeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCompositeAttributeCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.CompositeValue"))) -@interface FlowCadenceCompositeValue : FlowBase -- (instancetype)initWithId:(NSString *)id fields:(NSArray *)fields __attribute__((swift_name("init(id:fields:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceCompositeValueCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.CompositeValueCompanion"))) -@interface FlowCadenceCompositeValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceCompositeValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.DictionaryFieldEntry"))) -@interface FlowCadenceDictionaryFieldEntry : FlowBase -- (instancetype)initWithPair:(FlowKotlinPair *)pair __attribute__((swift_name("init(pair:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithKey:(FlowCadenceValue *)key value:(FlowCadenceValue *)value __attribute__((swift_name("init(key:value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceDictionaryFieldEntryCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) FlowCadenceValue *key __attribute__((swift_name("key"))); -@property (readonly) FlowCadenceValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.DictionaryFieldEntryCompanion"))) -@interface FlowCadenceDictionaryFieldEntryCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceDictionaryFieldEntryCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Kind"))) -@interface FlowCadenceKind : FlowBase -- (instancetype)initWithKind:(FlowCadenceType *)kind typeID:(NSString * _Nullable)typeID type:(NSString * _Nullable)type __attribute__((swift_name("init(kind:typeID:type:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceKindCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceType *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceKind *)doCopyKind:(FlowCadenceType *)kind typeID:(NSString * _Nullable)typeID type:(NSString * _Nullable)type __attribute__((swift_name("doCopy(kind:typeID:type:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceType *kind __attribute__((swift_name("kind"))); -@property (readonly) NSString * _Nullable type __attribute__((swift_name("type"))); -@property (readonly) NSString * _Nullable typeID __attribute__((swift_name("typeID"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.KindCompanion"))) -@interface FlowCadenceKindCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceKindCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Path"))) -@interface FlowCadencePath : FlowBase -- (instancetype)initWithDomain:(FlowCadencePathDomain *)domain identifier:(NSString *)identifier __attribute__((swift_name("init(domain:identifier:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadencePathCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadencePathDomain *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadencePath *)doCopyDomain:(FlowCadencePathDomain *)domain identifier:(NSString *)identifier __attribute__((swift_name("doCopy(domain:identifier:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadencePathDomain *domain __attribute__((swift_name("domain"))); -@property (readonly) NSString *identifier __attribute__((swift_name("identifier"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.PathCompanion"))) -@interface FlowCadencePathCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadencePathCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("KotlinComparable"))) -@protocol FlowKotlinComparable -@required -- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)"))); -@end; - -__attribute__((swift_name("KotlinEnum"))) -@interface FlowKotlinEnum : FlowBase -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKotlinEnumCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.PathDomain"))) -@interface FlowCadencePathDomain : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowCadencePathDomainCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowCadencePathDomain *storage __attribute__((swift_name("storage"))); -@property (class, readonly) FlowCadencePathDomain *private_ __attribute__((swift_name("private_"))); -@property (class, readonly) FlowCadencePathDomain *public_ __attribute__((swift_name("public_"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.PathDomainCompanion"))) -@interface FlowCadencePathDomainCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadencePathDomainCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Type_"))) -@interface FlowCadenceType : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowCadenceTypeCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowCadenceType *void_ __attribute__((swift_name("void_"))); -@property (class, readonly) FlowCadenceType *optional __attribute__((swift_name("optional"))); -@property (class, readonly) FlowCadenceType *boolean __attribute__((swift_name("boolean"))); -@property (class, readonly) FlowCadenceType *string __attribute__((swift_name("string"))); -@property (class, readonly) FlowCadenceType *int_ __attribute__((swift_name("int_"))); -@property (class, readonly) FlowCadenceType *uint __attribute__((swift_name("uint"))); -@property (class, readonly) FlowCadenceType *int8 __attribute__((swift_name("int8"))); -@property (class, readonly) FlowCadenceType *uint8 __attribute__((swift_name("uint8"))); -@property (class, readonly) FlowCadenceType *int16 __attribute__((swift_name("int16"))); -@property (class, readonly) FlowCadenceType *uint16 __attribute__((swift_name("uint16"))); -@property (class, readonly) FlowCadenceType *int32 __attribute__((swift_name("int32"))); -@property (class, readonly) FlowCadenceType *uint32 __attribute__((swift_name("uint32"))); -@property (class, readonly) FlowCadenceType *int64 __attribute__((swift_name("int64"))); -@property (class, readonly) FlowCadenceType *uint64 __attribute__((swift_name("uint64"))); -@property (class, readonly) FlowCadenceType *int128 __attribute__((swift_name("int128"))); -@property (class, readonly) FlowCadenceType *uint128 __attribute__((swift_name("uint128"))); -@property (class, readonly) FlowCadenceType *int256 __attribute__((swift_name("int256"))); -@property (class, readonly) FlowCadenceType *uint256 __attribute__((swift_name("uint256"))); -@property (class, readonly) FlowCadenceType *word8 __attribute__((swift_name("word8"))); -@property (class, readonly) FlowCadenceType *word16 __attribute__((swift_name("word16"))); -@property (class, readonly) FlowCadenceType *word32 __attribute__((swift_name("word32"))); -@property (class, readonly) FlowCadenceType *word64 __attribute__((swift_name("word64"))); -@property (class, readonly) FlowCadenceType *fix64 __attribute__((swift_name("fix64"))); -@property (class, readonly) FlowCadenceType *ufix64 __attribute__((swift_name("ufix64"))); -@property (class, readonly) FlowCadenceType *array __attribute__((swift_name("array"))); -@property (class, readonly) FlowCadenceType *dictionary __attribute__((swift_name("dictionary"))); -@property (class, readonly) FlowCadenceType *address __attribute__((swift_name("address"))); -@property (class, readonly) FlowCadenceType *path __attribute__((swift_name("path"))); -@property (class, readonly) FlowCadenceType *capability __attribute__((swift_name("capability"))); -@property (class, readonly) FlowCadenceType *struct_ __attribute__((swift_name("struct_"))); -@property (class, readonly) FlowCadenceType *resource __attribute__((swift_name("resource"))); -@property (class, readonly) FlowCadenceType *event __attribute__((swift_name("event"))); -@property (class, readonly) FlowCadenceType *contract __attribute__((swift_name("contract"))); -@property (class, readonly) FlowCadenceType *enum_ __attribute__((swift_name("enum_"))); -@property (class, readonly) FlowCadenceType *type __attribute__((swift_name("type"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.Type_Companion"))) -@interface FlowCadenceTypeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceTypeCompanion *shared __attribute__((swift_name("shared"))); -- (FlowCadenceType *)findByKeyValue:(NSString *)value default:(FlowCadenceType *)default_ __attribute__((swift_name("findByKey(value:default:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.TypeEntry"))) -@interface FlowCadenceTypeEntry : FlowBase -- (instancetype)initWithStaticType:(FlowCadenceKind *)staticType __attribute__((swift_name("init(staticType:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceTypeEntryCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceKind *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceTypeEntry *)doCopyStaticType:(FlowCadenceKind *)staticType __attribute__((swift_name("doCopy(staticType:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceKind *staticType __attribute__((swift_name("staticType"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.TypeEntryCompanion"))) -@interface FlowCadenceTypeEntryCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceTypeEntryCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.Value"))) -@interface FlowCadenceValue : FlowBase -@property (class, readonly, getter=companion) FlowCadenceValueCompanion *companion __attribute__((swift_name("companion"))); - -/** - @note This method converts instances of Exception to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (id _Nullable)decodeAndReturnError:(NSError * _Nullable * _Nullable)error __attribute__((swift_name("decode()"))) __attribute__((swift_error(nonnull_error))); -- (id _Nullable)decodeToAny __attribute__((swift_name("decodeToAny()"))); -- (NSString *)encode __attribute__((swift_name("encode()"))); -- (NSString *)encodeBase64 __attribute__((swift_name("encodeBase64()"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -@property (readonly) id _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueAddressValue"))) -@interface FlowCadenceValueAddressValue : FlowCadenceValue -- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueAddressValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueAddressValue *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueAddressValueCompanion"))) -@interface FlowCadenceValueAddressValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueAddressValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueArrayValue"))) -@interface FlowCadenceValueArrayValue : FlowCadenceValue -- (instancetype)initWithValue:(NSArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueArrayValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueArrayValue *)doCopyValue:(NSArray *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueArrayValueCompanion"))) -@interface FlowCadenceValueArrayValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueArrayValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueBooleanValue"))) -@interface FlowCadenceValueBooleanValue : FlowCadenceValue -- (instancetype)initWithValue:(BOOL)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueBooleanValueCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueBooleanValue *)doCopyValue:(BOOL)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBoolean *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueBooleanValueCompanion"))) -@interface FlowCadenceValueBooleanValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueBooleanValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValueCapabilityValue"))) -@interface FlowCadenceValueCapabilityValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCapability *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueCapabilityValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadenceCapability *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueCapabilityValueCompanion"))) -@interface FlowCadenceValueCapabilityValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueCapabilityValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueCompanion"))) -@interface FlowCadenceValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueCompanion *shared __attribute__((swift_name("shared"))); -- (FlowCadenceValue *)decodeFromBase64Base64String:(NSString *)base64String __attribute__((swift_name("decodeFromBase64(base64String:)"))); -- (FlowCadenceValue *)decodeFromJsonJsonString:(NSString *)jsonString __attribute__((swift_name("decodeFromJson(jsonString:)"))); -- (FlowCadenceValue *)decodeFromJsonElementJsonElement:(FlowKotlinx_serialization_jsonJsonElement *)jsonElement __attribute__((swift_name("decodeFromJsonElement(jsonElement:)"))); -- (NSString *)encodeToJsonStringValue:(FlowCadenceValue *)Value __attribute__((swift_name("encodeToJsonString(Value:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -- (id)serializerTypeParamsSerializers:(FlowKotlinArray> *)typeParamsSerializers __attribute__((swift_name("serializer(typeParamsSerializers:)"))); -@property (readonly) FlowKotlinx_serialization_jsonJson *jsonSerializer __attribute__((swift_name("jsonSerializer"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueContractValue"))) -@interface FlowCadenceValueContractValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueContractValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueContractValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueContractValueCompanion"))) -@interface FlowCadenceValueContractValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueContractValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueDictionaryValue"))) -@interface FlowCadenceValueDictionaryValue : FlowCadenceValue -- (instancetype)initWithValue:(NSArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueDictionaryValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueDictionaryValue *)doCopyValue:(NSArray *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueDictionaryValueCompanion"))) -@interface FlowCadenceValueDictionaryValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueDictionaryValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEnumValue"))) -@interface FlowCadenceValueEnumValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueEnumValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueEnumValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEnumValueCompanion"))) -@interface FlowCadenceValueEnumValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueEnumValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEventValue"))) -@interface FlowCadenceValueEventValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueEventValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueEventValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueEventValueCompanion"))) -@interface FlowCadenceValueEventValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueEventValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueFix64Value"))) -@interface FlowCadenceValueFix64Value : FlowCadenceValue -- (instancetype)initWithValue:(double)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueFix64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (double)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueFix64Value *)doCopyValue:(double)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowDouble *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueFix64ValueCompanion"))) -@interface FlowCadenceValueFix64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueFix64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt128Value"))) -@interface FlowCadenceValueInt128Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt128ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt128Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt128ValueCompanion"))) -@interface FlowCadenceValueInt128ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt128ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt16Value"))) -@interface FlowCadenceValueInt16Value : FlowCadenceValue -- (instancetype)initWithValue:(int16_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt16ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int16_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt16Value *)doCopyValue:(int16_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowShort *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt16ValueCompanion"))) -@interface FlowCadenceValueInt16ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt16ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt256Value"))) -@interface FlowCadenceValueInt256Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt256ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt256Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt256ValueCompanion"))) -@interface FlowCadenceValueInt256ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt256ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt32Value"))) -@interface FlowCadenceValueInt32Value : FlowCadenceValue -- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt32ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt32Value *)doCopyValue:(int32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt32ValueCompanion"))) -@interface FlowCadenceValueInt32ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt32ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt64Value"))) -@interface FlowCadenceValueInt64Value : FlowCadenceValue -- (instancetype)initWithValue:(int64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt64Value *)doCopyValue:(int64_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowLong *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt64ValueCompanion"))) -@interface FlowCadenceValueInt64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt8Value"))) -@interface FlowCadenceValueInt8Value : FlowCadenceValue -- (instancetype)initWithValue:(int8_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueInt8ValueCompanion *companion __attribute__((swift_name("companion"))); -- (int8_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueInt8Value *)doCopyValue:(int8_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowByte *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueInt8ValueCompanion"))) -@interface FlowCadenceValueInt8ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueInt8ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueIntValue"))) -@interface FlowCadenceValueIntValue : FlowCadenceValue -- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueIntValueCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueIntValue *)doCopyValue:(int32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueIntValueCompanion"))) -@interface FlowCadenceValueIntValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueIntValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueOptionalValue"))) -@interface FlowCadenceValueOptionalValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceValue * _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueOptionalValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceValue * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueOptionalValue *)doCopyValue:(FlowCadenceValue * _Nullable)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceValue * _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueOptionalValueCompanion"))) -@interface FlowCadenceValueOptionalValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueOptionalValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValuePathValue"))) -@interface FlowCadenceValuePathValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadencePath *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValuePathValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadencePath *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValuePathValueCompanion"))) -@interface FlowCadenceValuePathValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValuePathValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueResourceValue"))) -@interface FlowCadenceValueResourceValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueResourceValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowCadenceCompositeValue *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueResourceValue *)doCopyValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueResourceValueCompanion"))) -@interface FlowCadenceValueResourceValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueResourceValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueStringValue"))) -@interface FlowCadenceValueStringValue : FlowCadenceValue -- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueStringValueCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueStringValue *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueStringValueCompanion"))) -@interface FlowCadenceValueStringValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueStringValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValueStructValue"))) -@interface FlowCadenceValueStructValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceCompositeValue *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueStructValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadenceCompositeValue *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueStructValueCompanion"))) -@interface FlowCadenceValueStructValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueStructValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("Cadence.ValueTypeValue"))) -@interface FlowCadenceValueTypeValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowCadenceTypeEntry *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueTypeValueCompanion *companion __attribute__((swift_name("companion"))); -@property (readonly) FlowCadenceTypeEntry *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueTypeValueCompanion"))) -@interface FlowCadenceValueTypeValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueTypeValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUFix64Value"))) -@interface FlowCadenceValueUFix64Value : FlowCadenceValue -- (instancetype)initWithValue:(double)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUFix64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (double)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUFix64Value *)doCopyValue:(double)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowDouble *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUFix64ValueCompanion"))) -@interface FlowCadenceValueUFix64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUFix64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt128Value"))) -@interface FlowCadenceValueUInt128Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt128ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt128Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt128ValueCompanion"))) -@interface FlowCadenceValueUInt128ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt128ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt16Value"))) -@interface FlowCadenceValueUInt16Value : FlowCadenceValue -- (instancetype)initWithValue:(uint16_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt16ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint16_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt16Value *)doCopyValue:(uint16_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUShort *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt16ValueCompanion"))) -@interface FlowCadenceValueUInt16ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt16ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt256Value"))) -@interface FlowCadenceValueUInt256Value : FlowCadenceValue -- (instancetype)initWithValue:(FlowBignumBigInteger *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt256ValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt256Value *)doCopyValue:(FlowBignumBigInteger *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt256ValueCompanion"))) -@interface FlowCadenceValueUInt256ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt256ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt32Value"))) -@interface FlowCadenceValueUInt32Value : FlowCadenceValue -- (instancetype)initWithValue:(uint32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt32ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt32Value *)doCopyValue:(uint32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt32ValueCompanion"))) -@interface FlowCadenceValueUInt32ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt32ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt64Value"))) -@interface FlowCadenceValueUInt64Value : FlowCadenceValue -- (instancetype)initWithValue:(uint64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt64Value *)doCopyValue:(uint64_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowULong *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt64ValueCompanion"))) -@interface FlowCadenceValueUInt64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt8Value"))) -@interface FlowCadenceValueUInt8Value : FlowCadenceValue -- (instancetype)initWithValue:(uint8_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUInt8ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint8_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUInt8Value *)doCopyValue:(uint8_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUByte *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUInt8ValueCompanion"))) -@interface FlowCadenceValueUInt8ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUInt8ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUIntValue"))) -@interface FlowCadenceValueUIntValue : FlowCadenceValue -- (instancetype)initWithValue:(uint32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueUIntValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueUIntValue *)doCopyValue:(uint32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueUIntValueCompanion"))) -@interface FlowCadenceValueUIntValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueUIntValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueVoidValue"))) -@interface FlowCadenceValueVoidValue : FlowCadenceValue -- (instancetype)initWithValue:(FlowKotlinUnit * _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueVoidValueCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKotlinUnit * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueVoidValue *)doCopyValue:(FlowKotlinUnit * _Nullable)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinUnit * _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueVoidValueCompanion"))) -@interface FlowCadenceValueVoidValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueVoidValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord16Value"))) -@interface FlowCadenceValueWord16Value : FlowCadenceValue -- (instancetype)initWithValue:(uint16_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord16ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint16_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord16Value *)doCopyValue:(uint16_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUShort *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord16ValueCompanion"))) -@interface FlowCadenceValueWord16ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord16ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord32Value"))) -@interface FlowCadenceValueWord32Value : FlowCadenceValue -- (instancetype)initWithValue:(uint32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord32ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord32Value *)doCopyValue:(uint32_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUInt *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord32ValueCompanion"))) -@interface FlowCadenceValueWord32ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord32ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord64Value"))) -@interface FlowCadenceValueWord64Value : FlowCadenceValue -- (instancetype)initWithValue:(uint64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord64ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord64Value *)doCopyValue:(uint64_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowULong *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord64ValueCompanion"))) -@interface FlowCadenceValueWord64ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord64ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord8Value"))) -@interface FlowCadenceValueWord8Value : FlowCadenceValue -- (instancetype)initWithValue:(uint8_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCadenceValueWord8ValueCompanion *companion __attribute__((swift_name("companion"))); -- (uint8_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValueWord8Value *)doCopyValue:(uint8_t)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowUByte *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Cadence.ValueWord8ValueCompanion"))) -@interface FlowCadenceValueWord8ValueCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceValueWord8ValueCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceTypeSerializer"))) -@interface FlowCadenceTypeSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)cadenceTypeSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceTypeSerializer *shared __attribute__((swift_name("shared"))); -- (FlowCadenceType *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowCadenceType *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DoubleCadenceSerializer"))) -@interface FlowDoubleCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)doubleCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowDoubleCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowDouble *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowDouble *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("FixedPointFormatter"))) -@interface FlowFixedPointFormatter : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)fixedPointFormatter __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowFixedPointFormatter *shared __attribute__((swift_name("shared"))); -- (NSString * _Nullable)formatNum:(NSString *)num precision:(uint64_t)precision __attribute__((swift_name("format(num:precision:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("IntCadenceSerializer"))) -@interface FlowIntCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)intCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowIntCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowInt *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowInt *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("LongCadenceSerializer"))) -@interface FlowLongCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)longCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowLongCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowLong *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowLong *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ShortCadenceSerializer"))) -@interface FlowShortCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)shortCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowShortCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowShort *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowShort *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("UByteCadenceSerializer"))) -@interface FlowUByteCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uByteCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowUByteCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowUByte *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowUByte *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("UIntCadenceSerializer"))) -@interface FlowUIntCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uIntCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowUIntCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowUInt *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowUInt *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ULongCadenceSerializer"))) -@interface FlowULongCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uLongCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowULongCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowULong *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowULong *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("UShortCadenceSerializer"))) -@interface FlowUShortCadenceSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)uShortCadenceSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowUShortCadenceSerializer *shared __attribute__((swift_name("shared"))); -- (FlowUShort *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowUShort *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Account"))) -@interface FlowAccount : FlowBase -- (instancetype)initWithAddress:(NSString *)address balance:(NSString *)balance expandable:(FlowAccountExpandable *)expandable keys:(NSSet * _Nullable)keys contracts:(NSDictionary * _Nullable)contracts links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(address:balance:expandable:keys:contracts:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAccountCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccountExpandable *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSSet * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSDictionary * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccount *)doCopyAddress:(NSString *)address balance:(NSString *)balance expandable:(FlowAccountExpandable *)expandable keys:(NSSet * _Nullable)keys contracts:(NSDictionary * _Nullable)contracts links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(address:balance:expandable:keys:contracts:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) NSString *balance __attribute__((swift_name("balance"))); -@property (readonly) NSDictionary * _Nullable contracts __attribute__((swift_name("contracts"))); -@property (readonly) FlowAccountExpandable *expandable __attribute__((swift_name("expandable"))); -@property (readonly) NSSet * _Nullable keys __attribute__((swift_name("keys"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Account.Companion"))) -@interface FlowAccountCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAccountCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountExpandable"))) -@interface FlowAccountExpandable : FlowBase -- (instancetype)initWithPropertyKeys:(NSString * _Nullable)propertyKeys contracts:(NSString * _Nullable)contracts __attribute__((swift_name("init(propertyKeys:contracts:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAccountExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccountExpandable *)doCopyPropertyKeys:(NSString * _Nullable)propertyKeys contracts:(NSString * _Nullable)contracts __attribute__((swift_name("doCopy(propertyKeys:contracts:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable contracts __attribute__((swift_name("contracts"))); -@property (readonly) NSString * _Nullable propertyKeys __attribute__((swift_name("propertyKeys"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountExpandable.Companion"))) -@interface FlowAccountExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAccountExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountPublicKey"))) -@interface FlowAccountPublicKey : FlowBase -- (instancetype)initWithIndex:(NSString *)index publicKey:(NSString *)publicKey signingAlgorithm:(FlowSigningAlgorithm *)signingAlgorithm hashingAlgorithm:(FlowHashingAlgorithm *)hashingAlgorithm sequenceNumber:(NSString *)sequenceNumber weight:(NSString *)weight revoked:(BOOL)revoked __attribute__((swift_name("init(index:publicKey:signingAlgorithm:hashingAlgorithm:sequenceNumber:weight:revoked:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAccountPublicKeyCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowSigningAlgorithm *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowHashingAlgorithm *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (BOOL)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAccountPublicKey *)doCopyIndex:(NSString *)index publicKey:(NSString *)publicKey signingAlgorithm:(FlowSigningAlgorithm *)signingAlgorithm hashingAlgorithm:(FlowHashingAlgorithm *)hashingAlgorithm sequenceNumber:(NSString *)sequenceNumber weight:(NSString *)weight revoked:(BOOL)revoked __attribute__((swift_name("doCopy(index:publicKey:signingAlgorithm:hashingAlgorithm:sequenceNumber:weight:revoked:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowHashingAlgorithm *hashingAlgorithm __attribute__((swift_name("hashingAlgorithm"))); -@property (readonly) NSString *index __attribute__((swift_name("index"))); -@property (readonly) NSString *publicKey __attribute__((swift_name("publicKey"))); -@property (readonly) BOOL revoked __attribute__((swift_name("revoked"))); -@property (readonly) NSString *sequenceNumber __attribute__((swift_name("sequenceNumber"))); -@property (readonly) FlowSigningAlgorithm *signingAlgorithm __attribute__((swift_name("signingAlgorithm"))); -@property (readonly) NSString *weight __attribute__((swift_name("weight"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AccountPublicKey.Companion"))) -@interface FlowAccountPublicKeyCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAccountPublicKeyCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AggregatedSignature"))) -@interface FlowAggregatedSignature : FlowBase -- (instancetype)initWithVerifierSignatures:(NSArray *)verifierSignatures signerIds:(NSArray *)signerIds __attribute__((swift_name("init(verifierSignatures:signerIds:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowAggregatedSignatureCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowAggregatedSignature *)doCopyVerifierSignatures:(NSArray *)verifierSignatures signerIds:(NSArray *)signerIds __attribute__((swift_name("doCopy(verifierSignatures:signerIds:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *signerIds __attribute__((swift_name("signerIds"))); -@property (readonly) NSArray *verifierSignatures __attribute__((swift_name("verifierSignatures"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("AggregatedSignature.Companion"))) -@interface FlowAggregatedSignatureCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowAggregatedSignatureCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64HexSerializer"))) -@interface FlowBase64HexSerializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)base64HexSerializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBase64HexSerializer *shared __attribute__((swift_name("shared"))); -- (NSString *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(NSString *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Base64UFT8Serializer"))) -@interface FlowBase64UFT8Serializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)base64UFT8Serializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBase64UFT8Serializer *shared __attribute__((swift_name("shared"))); -- (NSString *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(NSString *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Block"))) -@interface FlowBlock : FlowBase -- (instancetype)initWithHeader:(FlowBlockHeader *)header expandable:(FlowBlockExpandable *)expandable payload:(FlowBlockPayload * _Nullable)payload executionResult:(FlowExecutionResult * _Nullable)executionResult links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(header:expandable:payload:executionResult:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBlockHeader *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockExpandable *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockPayload * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowExecutionResult * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlock *)doCopyHeader:(FlowBlockHeader *)header expandable:(FlowBlockExpandable *)expandable payload:(FlowBlockPayload * _Nullable)payload executionResult:(FlowExecutionResult * _Nullable)executionResult links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(header:expandable:payload:executionResult:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowExecutionResult * _Nullable executionResult __attribute__((swift_name("executionResult"))); -@property (readonly) FlowBlockExpandable *expandable __attribute__((swift_name("expandable"))); -@property (readonly) FlowBlockHeader *header __attribute__((swift_name("header"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) FlowBlockPayload * _Nullable payload __attribute__((swift_name("payload"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Block.Companion"))) -@interface FlowBlockCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockEvents"))) -@interface FlowBlockEvents : FlowBase -- (instancetype)initWithBlockId:(NSString * _Nullable)blockId blockHeight:(NSString * _Nullable)blockHeight blockTimestamp:(NSString * _Nullable)blockTimestamp events:(NSArray * _Nullable)events links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(blockId:blockHeight:blockTimestamp:events:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockEventsCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockEvents *)doCopyBlockId:(NSString * _Nullable)blockId blockHeight:(NSString * _Nullable)blockHeight blockTimestamp:(NSString * _Nullable)blockTimestamp events:(NSArray * _Nullable)events links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(blockId:blockHeight:blockTimestamp:events:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable blockHeight __attribute__((swift_name("blockHeight"))); -@property (readonly) NSString * _Nullable blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString * _Nullable blockTimestamp __attribute__((swift_name("blockTimestamp"))); -@property (readonly) NSArray * _Nullable events __attribute__((swift_name("events"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockEvents.Companion"))) -@interface FlowBlockEventsCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockEventsCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockExpandable"))) -@interface FlowBlockExpandable : FlowBase -- (instancetype)initWithPayload:(NSString * _Nullable)payload executionResult:(NSString * _Nullable)executionResult __attribute__((swift_name("init(payload:executionResult:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockExpandable *)doCopyPayload:(NSString * _Nullable)payload executionResult:(NSString * _Nullable)executionResult __attribute__((swift_name("doCopy(payload:executionResult:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable executionResult __attribute__((swift_name("executionResult"))); -@property (readonly) NSString * _Nullable payload __attribute__((swift_name("payload"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockExpandable.Companion"))) -@interface FlowBlockExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeader"))) -@interface FlowBlockHeader : FlowBase -- (instancetype)initWithId:(NSString *)id parentId:(NSString *)parentId height:(NSString *)height timestamp:(NSString *)timestamp parentVoterSignature:(FlowBase64ByteArray *)parentVoterSignature __attribute__((swift_name("init(id:parentId:height:timestamp:parentVoterSignature:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockHeaderCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockHeader *)doCopyId:(NSString *)id parentId:(NSString *)parentId height:(NSString *)height timestamp:(NSString *)timestamp parentVoterSignature:(FlowBase64ByteArray *)parentVoterSignature __attribute__((swift_name("doCopy(id:parentId:height:timestamp:parentVoterSignature:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *height __attribute__((swift_name("height"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@property (readonly) NSString *parentId __attribute__((swift_name("parentId"))); -@property (readonly) FlowBase64ByteArray *parentVoterSignature __attribute__((swift_name("parentVoterSignature"))); -@property (readonly) NSString *timestamp __attribute__((swift_name("timestamp"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeader.Companion"))) -@interface FlowBlockHeaderCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockHeaderCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeightOneOf"))) -@interface FlowBlockHeightOneOf : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowBlockHeightOneOfCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowBlockHeightOneOf *final __attribute__((swift_name("final"))); -@property (class, readonly) FlowBlockHeightOneOf *sealed __attribute__((swift_name("sealed"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockHeightOneOf.Companion"))) -@interface FlowBlockHeightOneOfCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockHeightOneOfCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBlockHeightOneOf * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockPayload"))) -@interface FlowBlockPayload : FlowBase -- (instancetype)initWithCollectionGuarantees:(NSArray *)collectionGuarantees blockSeals:(NSArray *)blockSeals __attribute__((swift_name("init(collectionGuarantees:blockSeals:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockPayloadCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockPayload *)doCopyCollectionGuarantees:(NSArray *)collectionGuarantees blockSeals:(NSArray *)blockSeals __attribute__((swift_name("doCopy(collectionGuarantees:blockSeals:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *blockSeals __attribute__((swift_name("blockSeals"))); -@property (readonly) NSArray *collectionGuarantees __attribute__((swift_name("collectionGuarantees"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockPayload.Companion"))) -@interface FlowBlockPayloadCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockPayloadCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockSeal"))) -@interface FlowBlockSeal : FlowBase -- (instancetype)initWithBlockId:(NSString *)blockId resultId:(NSString *)resultId finalState:(NSString *)finalState aggregatedApprovalSignatures:(NSArray *)aggregatedApprovalSignatures __attribute__((swift_name("init(blockId:resultId:finalState:aggregatedApprovalSignatures:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBlockSealCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBlockSeal *)doCopyBlockId:(NSString *)blockId resultId:(NSString *)resultId finalState:(NSString *)finalState aggregatedApprovalSignatures:(NSArray *)aggregatedApprovalSignatures __attribute__((swift_name("doCopy(blockId:resultId:finalState:aggregatedApprovalSignatures:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *aggregatedApprovalSignatures __attribute__((swift_name("aggregatedApprovalSignatures"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString *finalState __attribute__((swift_name("finalState"))); -@property (readonly) NSString *resultId __attribute__((swift_name("resultId"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BlockSeal.Companion"))) -@interface FlowBlockSealCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBlockSealCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceBase64ListSerializer"))) -@interface FlowCadenceBase64ListSerializer : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (NSArray *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(NSArray *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceBase64Serializer"))) -@interface FlowCadenceBase64Serializer : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)cadenceBase64Serializer __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCadenceBase64Serializer *shared __attribute__((swift_name("shared"))); -- (FlowCadenceValue *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); -- (void)serializeEncoder:(id)encoder value:(FlowCadenceValue *)value __attribute__((swift_name("serialize(encoder:value:)"))); -@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Chunk"))) -@interface FlowChunk : FlowBase -- (instancetype)initWithBlockId:(NSString *)blockId collectionIndex:(NSString *)collectionIndex startState:(FlowBase64ByteArray *)startState endState:(FlowBase64ByteArray *)endState eventCollection:(FlowBase64ByteArray *)eventCollection index:(NSString *)index numberOfTransactions:(NSString *)numberOfTransactions totalComputationUsed:(NSString *)totalComputationUsed __attribute__((swift_name("init(blockId:collectionIndex:startState:endState:eventCollection:index:numberOfTransactions:totalComputationUsed:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowChunkCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowChunk *)doCopyBlockId:(NSString *)blockId collectionIndex:(NSString *)collectionIndex startState:(FlowBase64ByteArray *)startState endState:(FlowBase64ByteArray *)endState eventCollection:(FlowBase64ByteArray *)eventCollection index:(NSString *)index numberOfTransactions:(NSString *)numberOfTransactions totalComputationUsed:(NSString *)totalComputationUsed __attribute__((swift_name("doCopy(blockId:collectionIndex:startState:endState:eventCollection:index:numberOfTransactions:totalComputationUsed:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString *collectionIndex __attribute__((swift_name("collectionIndex"))); -@property (readonly) FlowBase64ByteArray *endState __attribute__((swift_name("endState"))); -@property (readonly) FlowBase64ByteArray *eventCollection __attribute__((swift_name("eventCollection"))); -@property (readonly) NSString *index __attribute__((swift_name("index"))); -@property (readonly) NSString *numberOfTransactions __attribute__((swift_name("numberOfTransactions"))); -@property (readonly) FlowBase64ByteArray *startState __attribute__((swift_name("startState"))); -@property (readonly) NSString *totalComputationUsed __attribute__((swift_name("totalComputationUsed"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Chunk.Companion"))) -@interface FlowChunkCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowChunkCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Collection"))) -@interface FlowCollection : FlowBase -- (instancetype)initWithId:(NSString *)id expandable:(FlowCollectionExpandable *)expandable transactions:(NSArray * _Nullable)transactions links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(id:expandable:transactions:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCollectionCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollectionExpandable *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollection *)doCopyId:(NSString *)id expandable:(FlowCollectionExpandable *)expandable transactions:(NSArray * _Nullable)transactions links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(id:expandable:transactions:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowCollectionExpandable *expandable __attribute__((swift_name("expandable"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) NSArray * _Nullable transactions __attribute__((swift_name("transactions"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Collection.Companion"))) -@interface FlowCollectionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCollectionCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionExpandable"))) -@interface FlowCollectionExpandable : FlowBase -- (instancetype)initWithTransactions:(NSArray * _Nullable)transactions __attribute__((swift_name("init(transactions:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCollectionExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSArray * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollectionExpandable *)doCopyTransactions:(NSArray * _Nullable)transactions __attribute__((swift_name("doCopy(transactions:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray * _Nullable transactions __attribute__((swift_name("transactions"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionExpandable.Companion"))) -@interface FlowCollectionExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCollectionExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionGuarantee"))) -@interface FlowCollectionGuarantee : FlowBase -- (instancetype)initWithCollectionId:(NSString *)collectionId signerIds:(NSArray * _Nullable)signerIds signature:(FlowBase64ByteArray *)signature __attribute__((swift_name("init(collectionId:signerIds:signature:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowCollectionGuaranteeCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBase64ByteArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCollectionGuarantee *)doCopyCollectionId:(NSString *)collectionId signerIds:(NSArray * _Nullable)signerIds signature:(FlowBase64ByteArray *)signature __attribute__((swift_name("doCopy(collectionId:signerIds:signature:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *collectionId __attribute__((swift_name("collectionId"))); -@property (readonly) FlowBase64ByteArray *signature __attribute__((swift_name("signature"))); -@property (readonly) NSArray * _Nullable signerIds __attribute__((swift_name("signerIds"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CollectionGuarantee.Companion"))) -@interface FlowCollectionGuaranteeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowCollectionGuaranteeCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((swift_name("DomainTag"))) -@interface FlowDomainTag : FlowBase -@property (readonly) FlowKotlinByteArray *bytes __attribute__((swift_name("bytes"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.AccountProof"))) -@interface FlowDomainTagAccountProof : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagAccountProof *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.Custom"))) -@interface FlowDomainTagCustom : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagCustom *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.Transaction"))) -@interface FlowDomainTagTransaction : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagTransaction *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("DomainTag.User"))) -@interface FlowDomainTagUser : FlowDomainTag -- (instancetype)initWithTag:(NSString *)tag __attribute__((swift_name("init(tag:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowDomainTagUser *)doCopyTag:(NSString *)tag __attribute__((swift_name("doCopy(tag:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *tag __attribute__((swift_name("tag"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Error"))) -@interface FlowError : FlowBase -- (instancetype)initWithCode:(FlowInt * _Nullable)code message:(NSString * _Nullable)message __attribute__((swift_name("init(code:message:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowErrorCompanion *companion __attribute__((swift_name("companion"))); -- (FlowInt * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowError *)doCopyCode:(FlowInt * _Nullable)code message:(NSString * _Nullable)message __attribute__((swift_name("doCopy(code:message:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowInt * _Nullable code __attribute__((swift_name("code"))); -@property (readonly) NSString * _Nullable message __attribute__((swift_name("message"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Error.Companion"))) -@interface FlowErrorCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowErrorCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Event"))) -@interface FlowEvent : FlowBase -- (instancetype)initWithType:(NSString *)type transactionId:(NSString *)transactionId transactionIndex:(NSString *)transactionIndex eventIndex:(NSString *)eventIndex payload:(FlowCadenceValue *)payload __attribute__((swift_name("init(type:transactionId:transactionIndex:eventIndex:payload:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowEventCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowCadenceValue *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowEvent *)doCopyType:(NSString *)type transactionId:(NSString *)transactionId transactionIndex:(NSString *)transactionIndex eventIndex:(NSString *)eventIndex payload:(FlowCadenceValue *)payload __attribute__((swift_name("doCopy(type:transactionId:transactionIndex:eventIndex:payload:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *eventIndex __attribute__((swift_name("eventIndex"))); -@property (readonly) FlowCadenceValue *payload __attribute__((swift_name("payload"))); -@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); -@property (readonly) NSString *transactionIndex __attribute__((swift_name("transactionIndex"))); -@property (readonly) NSString *type __attribute__((swift_name("type"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Event.Companion"))) -@interface FlowEventCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowEventCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ExecutionResult"))) -@interface FlowExecutionResult : FlowBase -- (instancetype)initWithId:(NSString *)id blockId:(NSString *)blockId events:(NSArray *)events previousResultId:(NSString * _Nullable)previousResultId chunks:(NSArray * _Nullable)chunks links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(id:blockId:events:previousResultId:chunks:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowExecutionResultCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString * _Nullable)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowExecutionResult *)doCopyId:(NSString *)id blockId:(NSString *)blockId events:(NSArray *)events previousResultId:(NSString * _Nullable)previousResultId chunks:(NSArray * _Nullable)chunks links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(id:blockId:events:previousResultId:chunks:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSArray * _Nullable chunks __attribute__((swift_name("chunks"))); -@property (readonly) NSArray *events __attribute__((swift_name("events"))); -@property (readonly) NSString *id __attribute__((swift_name("id"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) NSString * _Nullable previousResultId __attribute__((swift_name("previousResultId"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ExecutionResult.Companion"))) -@interface FlowExecutionResultCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowExecutionResultCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("HashingAlgorithm"))) -@interface FlowHashingAlgorithm : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowHashingAlgorithmCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowHashingAlgorithm *sha2256 __attribute__((swift_name("sha2256"))); -@property (class, readonly) FlowHashingAlgorithm *sha2384 __attribute__((swift_name("sha2384"))); -@property (class, readonly) FlowHashingAlgorithm *sha3256 __attribute__((swift_name("sha3256"))); -@property (class, readonly) FlowHashingAlgorithm *sha3384 __attribute__((swift_name("sha3384"))); -@property (class, readonly) FlowHashingAlgorithm *kmac128BlsBls12381 __attribute__((swift_name("kmac128BlsBls12381"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("HashingAlgorithm.Companion"))) -@interface FlowHashingAlgorithmCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowHashingAlgorithmCompanion *shared __attribute__((swift_name("shared"))); -- (FlowHashingAlgorithm * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Links"))) -@interface FlowLinks : FlowBase -- (instancetype)initWithSelf:(NSString * _Nullable)self __attribute__((swift_name("init(self:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowLinksCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks *)doCopySelf:(NSString * _Nullable)self __attribute__((swift_name("doCopy(self:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable self __attribute__((swift_name("self"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Links.Companion"))) -@interface FlowLinksCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowLinksCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ProposalKey"))) -@interface FlowProposalKey : FlowBase -- (instancetype)initWithAddress:(NSString *)address keyIndex:(int32_t)keyIndex sequenceNumber:(FlowBignumBigInteger *)sequenceNumber __attribute__((swift_name("init(address:keyIndex:sequenceNumber:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowProposalKeyCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowProposalKey *)doCopyAddress:(NSString *)address keyIndex:(int32_t)keyIndex sequenceNumber:(FlowBignumBigInteger *)sequenceNumber __attribute__((swift_name("doCopy(address:keyIndex:sequenceNumber:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) int32_t keyIndex __attribute__((swift_name("keyIndex"))); -@property (readonly) FlowBignumBigInteger *sequenceNumber __attribute__((swift_name("sequenceNumber"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ProposalKey.Companion"))) -@interface FlowProposalKeyCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowProposalKeyCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostRequest"))) -@interface FlowScriptsPostRequest : FlowBase -- (instancetype)initWithScript:(NSString * _Nullable)script arguments:(NSArray * _Nullable)arguments __attribute__((swift_name("init(script:arguments:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowScriptsPostRequestCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray * _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowScriptsPostRequest *)doCopyScript:(NSString * _Nullable)script arguments:(NSArray * _Nullable)arguments __attribute__((swift_name("doCopy(script:arguments:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray * _Nullable arguments __attribute__((swift_name("arguments"))); -@property (readonly) NSString * _Nullable script __attribute__((swift_name("script"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostRequest.Companion"))) -@interface FlowScriptsPostRequestCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowScriptsPostRequestCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostResponse"))) -@interface FlowScriptsPostResponse : FlowBase -- (instancetype)initWithValue:(FlowBase64ByteArray * _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowScriptsPostResponseCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBase64ByteArray * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowScriptsPostResponse *)doCopyValue:(FlowBase64ByteArray * _Nullable)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBase64ByteArray * _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ScriptsPostResponse.Companion"))) -@interface FlowScriptsPostResponseCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowScriptsPostResponseCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("SigningAlgorithm"))) -@interface FlowSigningAlgorithm : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowSigningAlgorithmCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowSigningAlgorithm *blsBls12381 __attribute__((swift_name("blsBls12381"))); -@property (class, readonly) FlowSigningAlgorithm *ecdsaP256 __attribute__((swift_name("ecdsaP256"))); -@property (class, readonly) FlowSigningAlgorithm *ecdsaSecp256k1 __attribute__((swift_name("ecdsaSecp256k1"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("SigningAlgorithm.Companion"))) -@interface FlowSigningAlgorithmCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowSigningAlgorithmCompanion *shared __attribute__((swift_name("shared"))); -- (FlowSigningAlgorithm * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Transaction"))) -@interface FlowTransaction : FlowBase -- (instancetype)initWithId:(NSString * _Nullable)id script:(NSString *)script arguments:(NSArray *)arguments referenceBlockId:(NSString *)referenceBlockId gasLimit:(FlowBignumBigInteger *)gasLimit payer:(NSString *)payer proposalKey:(FlowProposalKey *)proposalKey authorizers:(NSArray *)authorizers payloadSignatures:(NSArray *)payloadSignatures envelopeSignatures:(NSArray *)envelopeSignatures expandable:(FlowTransactionExpandable * _Nullable)expandable result:(FlowTransactionResult * _Nullable)result links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(id:script:arguments:referenceBlockId:gasLimit:payer:proposalKey:authorizers:payloadSignatures:envelopeSignatures:expandable:result:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component10 __attribute__((swift_name("component10()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionExpandable * _Nullable)component11 __attribute__((swift_name("component11()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionResult * _Nullable)component12 __attribute__((swift_name("component12()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component13 __attribute__((swift_name("component13()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowProposalKey *)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component9 __attribute__((swift_name("component9()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransaction *)doCopyId:(NSString * _Nullable)id script:(NSString *)script arguments:(NSArray *)arguments referenceBlockId:(NSString *)referenceBlockId gasLimit:(FlowBignumBigInteger *)gasLimit payer:(NSString *)payer proposalKey:(FlowProposalKey *)proposalKey authorizers:(NSArray *)authorizers payloadSignatures:(NSArray *)payloadSignatures envelopeSignatures:(NSArray *)envelopeSignatures expandable:(FlowTransactionExpandable * _Nullable)expandable result:(FlowTransactionResult * _Nullable)result links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(id:script:arguments:referenceBlockId:gasLimit:payer:proposalKey:authorizers:payloadSignatures:envelopeSignatures:expandable:result:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSArray *arguments __attribute__((swift_name("arguments"))); -@property (readonly) NSArray *authorizers __attribute__((swift_name("authorizers"))); -@property (readonly) NSArray *envelopeSignatures __attribute__((swift_name("envelopeSignatures"))); -@property (readonly) FlowTransactionExpandable * _Nullable expandable __attribute__((swift_name("expandable"))); -@property (readonly) FlowBignumBigInteger *gasLimit __attribute__((swift_name("gasLimit"))); -@property (readonly) NSString * _Nullable id __attribute__((swift_name("id"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) NSString *payer __attribute__((swift_name("payer"))); -@property (readonly) NSArray *payloadSignatures __attribute__((swift_name("payloadSignatures"))); -@property (readonly) FlowProposalKey *proposalKey __attribute__((swift_name("proposalKey"))); -@property (readonly) NSString *referenceBlockId __attribute__((swift_name("referenceBlockId"))); -@property (readonly) FlowTransactionResult * _Nullable result __attribute__((swift_name("result"))); -@property (readonly) NSString *script __attribute__((swift_name("script"))); -@property (readonly) NSDictionary *signers __attribute__((swift_name("signers"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Transaction.Companion"))) -@interface FlowTransactionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExecution"))) -@interface FlowTransactionExecution : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowTransactionExecutionCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowTransactionExecution *pending __attribute__((swift_name("pending"))); -@property (class, readonly) FlowTransactionExecution *success __attribute__((swift_name("success"))); -@property (class, readonly) FlowTransactionExecution *failure __attribute__((swift_name("failure"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExecution.Companion"))) -@interface FlowTransactionExecutionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionExecutionCompanion *shared __attribute__((swift_name("shared"))); -- (FlowTransactionExecution * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExpandable"))) -@interface FlowTransactionExpandable : FlowBase -- (instancetype)initWithResult:(NSString * _Nullable)result __attribute__((swift_name("init(result:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionExpandableCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionExpandable *)doCopyResult:(NSString * _Nullable)result __attribute__((swift_name("doCopy(result:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString * _Nullable result __attribute__((swift_name("result"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionExpandable.Companion"))) -@interface FlowTransactionExpandableCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionExpandableCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionResult"))) -@interface FlowTransactionResult : FlowBase -- (instancetype)initWithBlockId:(NSString *)blockId status:(FlowTransactionStatus *)status statusCode:(int32_t)statusCode errorMessage:(NSString *)errorMessage computationUsed:(NSString *)computationUsed events:(NSArray *)events execution:(FlowTransactionExecution * _Nullable)execution links:(FlowLinks * _Nullable)links __attribute__((swift_name("init(blockId:status:statusCode:errorMessage:computationUsed:events:execution:links:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionResultCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionStatus *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSArray *)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionExecution * _Nullable)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowLinks * _Nullable)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionResult *)doCopyBlockId:(NSString *)blockId status:(FlowTransactionStatus *)status statusCode:(int32_t)statusCode errorMessage:(NSString *)errorMessage computationUsed:(NSString *)computationUsed events:(NSArray *)events execution:(FlowTransactionExecution * _Nullable)execution links:(FlowLinks * _Nullable)links __attribute__((swift_name("doCopy(blockId:status:statusCode:errorMessage:computationUsed:events:execution:links:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *blockId __attribute__((swift_name("blockId"))); -@property (readonly) NSString *computationUsed __attribute__((swift_name("computationUsed"))); -@property (readonly) NSString *errorMessage __attribute__((swift_name("errorMessage"))); -@property (readonly) NSArray *events __attribute__((swift_name("events"))); -@property (readonly) FlowTransactionExecution * _Nullable execution __attribute__((swift_name("execution"))); -@property (readonly) FlowLinks * _Nullable links __attribute__((swift_name("links"))); -@property (readonly) FlowTransactionStatus *status __attribute__((swift_name("status"))); -@property (readonly) int32_t statusCode __attribute__((swift_name("statusCode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionResult.Companion"))) -@interface FlowTransactionResultCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionResultCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionSignature"))) -@interface FlowTransactionSignature : FlowBase -- (instancetype)initWithAddress:(NSString *)address keyIndex:(NSString *)keyIndex signature:(NSString *)signature __attribute__((swift_name("init(address:keyIndex:signature:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowTransactionSignatureCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowTransactionSignature *)doCopyAddress:(NSString *)address keyIndex:(NSString *)keyIndex signature:(NSString *)signature __attribute__((swift_name("doCopy(address:keyIndex:signature:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *address __attribute__((swift_name("address"))); -@property (readonly) NSString *keyIndex __attribute__((swift_name("keyIndex"))); -@property (readonly) NSString *signature __attribute__((swift_name("signature"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionSignature.Companion"))) -@interface FlowTransactionSignatureCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionSignatureCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionStatus"))) -@interface FlowTransactionStatus : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowTransactionStatusCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowTransactionStatus *pending __attribute__((swift_name("pending"))); -@property (class, readonly) FlowTransactionStatus *finalized __attribute__((swift_name("finalized"))); -@property (class, readonly) FlowTransactionStatus *executed __attribute__((swift_name("executed"))); -@property (class, readonly) FlowTransactionStatus *sealed __attribute__((swift_name("sealed"))); -@property (class, readonly) FlowTransactionStatus *expired __attribute__((swift_name("expired"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("TransactionStatus.Companion"))) -@interface FlowTransactionStatusCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowTransactionStatusCompanion *shared __attribute__((swift_name("shared"))); -- (FlowTransactionStatus * _Nullable)decodeData:(id _Nullable)data __attribute__((swift_name("decode(data:)"))); -- (NSString * _Nullable)encodeData:(id _Nullable)data __attribute__((swift_name("encode(data:)"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -@interface FlowFlowApi (Extensions) - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getAccountAddress:(NSString *)address completionHandler:(void (^)(FlowAccount * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getAccount(address:completionHandler:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinByteArray"))) -@interface FlowKotlinByteArray : FlowBase -+ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); -+ (instancetype)arrayWithSize:(int32_t)size init:(FlowByte *(^)(FlowInt *))init __attribute__((swift_name("init(size:init:)"))); -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); -- (FlowKotlinByteIterator *)iterator __attribute__((swift_name("iterator()"))); -- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)"))); -@property (readonly) int32_t size __attribute__((swift_name("size"))); -@end; - -@interface FlowKotlinByteArray (Extensions) -- (FlowRLPType *)decodeRLP __attribute__((swift_name("decodeRLP()"))); -- (FlowKotlinByteArray *)paddingZeroLeftBlockSize:(int32_t)blockSize __attribute__((swift_name("paddingZeroLeft(blockSize:)"))); -- (FlowKotlinByteArray *)paddingZeroRightBlockSize:(int32_t)blockSize __attribute__((swift_name("paddingZeroRight(blockSize:)"))); -- (FlowKotlinByteArray *)removeLeadingZero __attribute__((swift_name("removeLeadingZero()"))); -- (FlowRLPElement *)toRLP __attribute__((swift_name("toRLP()"))); -@end; - -@interface FlowRLPType (Extensions) -- (FlowKotlinByteArray *)encode __attribute__((swift_name("encode()"))); -@end; - -@interface FlowRLPElement (Extensions) -- (int8_t)toByteFromRLP __attribute__((swift_name("toByteFromRLP()"))); -- (int32_t)toIntFromRLP __attribute__((swift_name("toIntFromRLP()"))); -- (NSString *)toStringFromRLP __attribute__((swift_name("toStringFromRLP()"))); -- (FlowBignumBigInteger *)toUnsignedBigIntegerFromRLP __attribute__((swift_name("toUnsignedBigIntegerFromRLP()"))); -@end; - -__attribute__((swift_name("BignumBigNumber"))) -@protocol FlowBignumBigNumber -@required -- (id)abs __attribute__((swift_name("abs()"))); -- (id)addOther:(id)other __attribute__((swift_name("add(other:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (id)divideOther:(id)other __attribute__((swift_name("divide(other:)"))); -- (FlowKotlinPair, id> *)divideAndRemainderOther:(id)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (id)multiplyOther:(id)other __attribute__((swift_name("multiply(other:)"))); -- (id)negate __attribute__((swift_name("negate()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (id)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (id)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (id)remainderOther:(id)other __attribute__((swift_name("remainder(other:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (id)subtractOther:(id)other __attribute__((swift_name("subtract(other:)"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (id)unaryMinus __attribute__((swift_name("unaryMinus()"))); -@property (readonly) BOOL isNegative __attribute__((swift_name("isNegative"))); -@property (readonly) BOOL isPositive __attribute__((swift_name("isPositive"))); -@end; - -__attribute__((swift_name("BignumBitwiseCapable"))) -@protocol FlowBignumBitwiseCapable -@required -- (id _Nullable)andOther:(id _Nullable)other __attribute__((swift_name("and(other:)"))); -- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); -- (id _Nullable)not __attribute__((swift_name("not()"))); -- (id _Nullable)orOther:(id _Nullable)other __attribute__((swift_name("or(other:)"))); -- (id _Nullable)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); -- (id _Nullable)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); -- (id _Nullable)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); -- (id _Nullable)xorOther:(id _Nullable)other __attribute__((swift_name("xor(other:)"))); -@end; - -__attribute__((swift_name("BignumByteArraySerializable"))) -@protocol FlowBignumByteArraySerializable -@required -- (FlowKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); -- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger"))) -@interface FlowBignumBigInteger : FlowBase -- (instancetype)initWithLong:(int64_t)long_ __attribute__((swift_name("init(long:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithInt:(int32_t)int_ __attribute__((swift_name("init(int:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithShort:(int16_t)short_ __attribute__((swift_name("init(short:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithByte:(int8_t)byte __attribute__((swift_name("init(byte:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBignumBigIntegerCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigInteger *)abs __attribute__((swift_name("abs()"))); -- (FlowBignumBigInteger *)addOther:(FlowBignumBigInteger *)other __attribute__((swift_name("add(other:)"))); -- (FlowBignumBigInteger *)andOther:(FlowBignumBigInteger *)other __attribute__((swift_name("and(other:)"))); -- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); -- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); -- (int32_t)compareOther:(FlowBignumBigInteger *)other __attribute__((swift_name("compare(other:)"))); -- (int32_t)compareDoubleAndBigIntDouble:(double)double_ comparisonBlock:(FlowInt *(^)(FlowBignumBigInteger *))comparisonBlock __attribute__((swift_name("compareDoubleAndBigInt(double:comparisonBlock:)"))); -- (int32_t)compareFloatAndBigIntFloat:(float)float_ comparisonBlock:(FlowInt *(^)(FlowBignumBigInteger *))comparisonBlock __attribute__((swift_name("compareFloatAndBigInt(float:comparisonBlock:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); -- (FlowBignumBigInteger *)dec __attribute__((swift_name("dec()"))); -- (FlowBignumBigInteger *)divideOther:(FlowBignumBigInteger *)other __attribute__((swift_name("divide(other:)"))); -- (FlowKotlinPair *)divideAndRemainderOther:(FlowBignumBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (FlowBignumBigIntegerQuotientAndRemainder *)divremOther:(FlowBignumBigInteger *)other __attribute__((swift_name("divrem(other:)"))); -- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (FlowBignumBigInteger *)factorial __attribute__((swift_name("factorial()"))); -- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); -- (FlowBignumBigInteger *)gcdOther:(FlowBignumBigInteger *)other __attribute__((swift_name("gcd(other:)"))); -- (id)getBackingArrayCopy __attribute__((swift_name("getBackingArrayCopy()"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (FlowBignumBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); -- (FlowBignumSign *)getSign __attribute__((swift_name("getSign()"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (FlowBignumBigInteger *)inc __attribute__((swift_name("inc()"))); -- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); -- (FlowBignumBigInteger *)modModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("mod(modulo:)"))); -- (FlowBignumBigInteger *)modInverseModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("modInverse(modulo:)"))); -- (FlowBignumBigInteger *)multiplyOther:(FlowBignumBigInteger *)other __attribute__((swift_name("multiply(other:)"))); -- (FlowBignumBigInteger *)negate __attribute__((swift_name("negate()"))); -- (FlowBignumBigInteger *)not __attribute__((swift_name("not()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (FlowBignumBigInteger *)orOther:(FlowBignumBigInteger *)other __attribute__((swift_name("or(other:)"))); -- (FlowBignumBigInteger *)powExponent__:(FlowBignumBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); -- (FlowBignumBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (FlowBignumBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (FlowBignumBigIntegerBigIntegerRange *)rangeToOther:(FlowBignumBigInteger *)other __attribute__((swift_name("rangeTo(other:)"))); -- (FlowBignumBigInteger *)remainderOther:(FlowBignumBigInteger *)other __attribute__((swift_name("remainder(other:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (FlowBignumBigInteger *)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); -- (FlowBignumBigInteger *)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); -- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); -- (FlowBignumBigInteger *)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (FlowBignumBigInteger *)sqrt __attribute__((swift_name("sqrt()"))); -- (FlowBignumBigIntegerSqareRootAndRemainder *)sqrtAndRemainder __attribute__((swift_name("sqrtAndRemainder()"))); -- (FlowBignumBigInteger *)subtractOther:(FlowBignumBigInteger *)other __attribute__((swift_name("subtract(other:)"))); -- (NSString *)timesChar:(unichar)char_ __attribute__((swift_name("times(char:)"))); -- (FlowKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); -- (FlowBignumModularBigInteger *)toModularBigIntegerModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("toModularBigInteger(modulo:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); -- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); -- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); -- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); -- (FlowBignumBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); -- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); -- (FlowBignumBigInteger *)xorOther:(FlowBignumBigInteger *)other __attribute__((swift_name("xor(other:)"))); -@property (readonly) int32_t numberOfWords __attribute__((swift_name("numberOfWords"))); -@property NSString * _Nullable stringRepresentation __attribute__((swift_name("stringRepresentation"))); -@end; - -@interface FlowBignumBigInteger (Extensions) -- (FlowRLPElement *)toRLP __attribute__((swift_name("toRLP()"))); -@end; - -@interface FlowCadenceCompositeValue (Extensions) -- (id _Nullable)getFieldKey:(NSString *)key __attribute__((swift_name("getField(key:)"))); -- (NSDictionary *)toMap __attribute__((swift_name("toMap()"))); -@end; - -@interface FlowTransaction (Extensions) -- (NSArray *)payload __attribute__((swift_name("payload()"))); -- (FlowKotlinByteArray *)payloadMessage __attribute__((swift_name("payloadMessage()"))); -- (FlowRLPElement *)toRLP __attribute__((swift_name("toRLP()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("RLPTypeConverterKt"))) -@interface FlowRLPTypeConverterKt : FlowBase -+ (FlowKotlinByteArray *)toByteArray:(int32_t)receiver __attribute__((swift_name("toByteArray(_:)"))); -+ (FlowKotlinByteArray *)toMinimalByteArray:(int32_t)receiver __attribute__((swift_name("toMinimalByteArray(_:)"))); -+ (FlowRLPElement *)toRLP:(int8_t)receiver __attribute__((swift_name("toRLP(_:)"))); -+ (FlowRLPElement *)toRLP_:(int32_t)receiver __attribute__((swift_name("toRLP(__:)"))); -+ (FlowRLPElement *)toRLP__:(NSString *)receiver __attribute__((swift_name("toRLP(___:)"))); -+ (FlowRLPElement *)toRLP___:(NSArray *)receiver __attribute__((swift_name("toRLP(____:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceTypeKt"))) -@interface FlowCadenceTypeKt : FlowBase -@property (class, readonly) NSString *TYPE_ACCOUNTKEY __attribute__((swift_name("TYPE_ACCOUNTKEY"))); -@property (class, readonly) NSString *TYPE_ADDRESS __attribute__((swift_name("TYPE_ADDRESS"))); -@property (class, readonly) NSString *TYPE_ANY __attribute__((swift_name("TYPE_ANY"))); -@property (class, readonly) NSString *TYPE_ANYRESOURCE __attribute__((swift_name("TYPE_ANYRESOURCE"))); -@property (class, readonly) NSString *TYPE_ANYSTRUCT __attribute__((swift_name("TYPE_ANYSTRUCT"))); -@property (class, readonly) NSString *TYPE_ARRAY __attribute__((swift_name("TYPE_ARRAY"))); -@property (class, readonly) NSString *TYPE_AUTHACCOUNT __attribute__((swift_name("TYPE_AUTHACCOUNT"))); -@property (class, readonly) NSString *TYPE_AUTHACCOUNT_CONTRACTS __attribute__((swift_name("TYPE_AUTHACCOUNT_CONTRACTS"))); -@property (class, readonly) NSString *TYPE_AUTHACCOUNT_KEYS __attribute__((swift_name("TYPE_AUTHACCOUNT_KEYS"))); -@property (class, readonly) NSString *TYPE_BLOCK __attribute__((swift_name("TYPE_BLOCK"))); -@property (class, readonly) NSString *TYPE_BOOLEAN __attribute__((swift_name("TYPE_BOOLEAN"))); -@property (class, readonly) NSString *TYPE_BYTES __attribute__((swift_name("TYPE_BYTES"))); -@property (class, readonly) NSString *TYPE_CAPABILITY __attribute__((swift_name("TYPE_CAPABILITY"))); -@property (class, readonly) NSString *TYPE_CAPABILITYPATH __attribute__((swift_name("TYPE_CAPABILITYPATH"))); -@property (class, readonly) NSString *TYPE_CHARACTER __attribute__((swift_name("TYPE_CHARACTER"))); -@property (class, readonly) NSString *TYPE_CONSTANT_SIZED_ARRAY __attribute__((swift_name("TYPE_CONSTANT_SIZED_ARRAY"))); -@property (class, readonly) NSString *TYPE_CONTRACT __attribute__((swift_name("TYPE_CONTRACT"))); -@property (class, readonly) NSString *TYPE_CONTRACT_INTERFACE __attribute__((swift_name("TYPE_CONTRACT_INTERFACE"))); -@property (class, readonly) NSString *TYPE_DEPLOYEDCONTRACT __attribute__((swift_name("TYPE_DEPLOYEDCONTRACT"))); -@property (class, readonly) NSString *TYPE_DICTIONARY __attribute__((swift_name("TYPE_DICTIONARY"))); -@property (class, readonly) NSString *TYPE_ENUM __attribute__((swift_name("TYPE_ENUM"))); -@property (class, readonly) NSString *TYPE_EVENT __attribute__((swift_name("TYPE_EVENT"))); -@property (class, readonly) NSString *TYPE_FIX64 __attribute__((swift_name("TYPE_FIX64"))); -@property (class, readonly) NSString *TYPE_FIXEDPOINT __attribute__((swift_name("TYPE_FIXEDPOINT"))); -@property (class, readonly) NSString *TYPE_FUNCTION __attribute__((swift_name("TYPE_FUNCTION"))); -@property (class, readonly) NSString *TYPE_INT __attribute__((swift_name("TYPE_INT"))); -@property (class, readonly) NSString *TYPE_INT128 __attribute__((swift_name("TYPE_INT128"))); -@property (class, readonly) NSString *TYPE_INT16 __attribute__((swift_name("TYPE_INT16"))); -@property (class, readonly) NSString *TYPE_INT256 __attribute__((swift_name("TYPE_INT256"))); -@property (class, readonly) NSString *TYPE_INT32 __attribute__((swift_name("TYPE_INT32"))); -@property (class, readonly) NSString *TYPE_INT64 __attribute__((swift_name("TYPE_INT64"))); -@property (class, readonly) NSString *TYPE_INT8 __attribute__((swift_name("TYPE_INT8"))); -@property (class, readonly) NSString *TYPE_INTEGER __attribute__((swift_name("TYPE_INTEGER"))); -@property (class, readonly) NSString *TYPE_NEVER __attribute__((swift_name("TYPE_NEVER"))); -@property (class, readonly) NSString *TYPE_NUMBER __attribute__((swift_name("TYPE_NUMBER"))); -@property (class, readonly) NSString *TYPE_OPTIONAL __attribute__((swift_name("TYPE_OPTIONAL"))); -@property (class, readonly) NSString *TYPE_PATH __attribute__((swift_name("TYPE_PATH"))); -@property (class, readonly) NSString *TYPE_PRIVATEPATH __attribute__((swift_name("TYPE_PRIVATEPATH"))); -@property (class, readonly) NSString *TYPE_PUBLICACCOUNT __attribute__((swift_name("TYPE_PUBLICACCOUNT"))); -@property (class, readonly) NSString *TYPE_PUBLICACCOUNT_CONTRACTS __attribute__((swift_name("TYPE_PUBLICACCOUNT_CONTRACTS"))); -@property (class, readonly) NSString *TYPE_PUBLICACCOUNT_KEYS __attribute__((swift_name("TYPE_PUBLICACCOUNT_KEYS"))); -@property (class, readonly) NSString *TYPE_PUBLICPATH __attribute__((swift_name("TYPE_PUBLICPATH"))); -@property (class, readonly) NSString *TYPE_REFERENCE __attribute__((swift_name("TYPE_REFERENCE"))); -@property (class, readonly) NSString *TYPE_RESOURCE __attribute__((swift_name("TYPE_RESOURCE"))); -@property (class, readonly) NSString *TYPE_RESOURCE_INTERFACE __attribute__((swift_name("TYPE_RESOURCE_INTERFACE"))); -@property (class, readonly) NSString *TYPE_RESTRICTION __attribute__((swift_name("TYPE_RESTRICTION"))); -@property (class, readonly) NSString *TYPE_SIGNEDFIXEDPOINT __attribute__((swift_name("TYPE_SIGNEDFIXEDPOINT"))); -@property (class, readonly) NSString *TYPE_SIGNEDINTEGER __attribute__((swift_name("TYPE_SIGNEDINTEGER"))); -@property (class, readonly) NSString *TYPE_SIGNEDNUMBER __attribute__((swift_name("TYPE_SIGNEDNUMBER"))); -@property (class, readonly) NSString *TYPE_STORAGEPATH __attribute__((swift_name("TYPE_STORAGEPATH"))); -@property (class, readonly) NSString *TYPE_STRING __attribute__((swift_name("TYPE_STRING"))); -@property (class, readonly) NSString *TYPE_STRUCT __attribute__((swift_name("TYPE_STRUCT"))); -@property (class, readonly) NSString *TYPE_STRUCT_INTERFACE __attribute__((swift_name("TYPE_STRUCT_INTERFACE"))); -@property (class, readonly) NSString *TYPE_TYPE __attribute__((swift_name("TYPE_TYPE"))); -@property (class, readonly) NSString *TYPE_UFIX64 __attribute__((swift_name("TYPE_UFIX64"))); -@property (class, readonly) NSString *TYPE_UINT __attribute__((swift_name("TYPE_UINT"))); -@property (class, readonly) NSString *TYPE_UINT128 __attribute__((swift_name("TYPE_UINT128"))); -@property (class, readonly) NSString *TYPE_UINT16 __attribute__((swift_name("TYPE_UINT16"))); -@property (class, readonly) NSString *TYPE_UINT256 __attribute__((swift_name("TYPE_UINT256"))); -@property (class, readonly) NSString *TYPE_UINT32 __attribute__((swift_name("TYPE_UINT32"))); -@property (class, readonly) NSString *TYPE_UINT64 __attribute__((swift_name("TYPE_UINT64"))); -@property (class, readonly) NSString *TYPE_UINT8 __attribute__((swift_name("TYPE_UINT8"))); -@property (class, readonly) NSString *TYPE_VARIABLE_SIZED_ARRAY __attribute__((swift_name("TYPE_VARIABLE_SIZED_ARRAY"))); -@property (class, readonly) NSString *TYPE_VOID __attribute__((swift_name("TYPE_VOID"))); -@property (class, readonly) NSString *TYPE_WORD16 __attribute__((swift_name("TYPE_WORD16"))); -@property (class, readonly) NSString *TYPE_WORD32 __attribute__((swift_name("TYPE_WORD32"))); -@property (class, readonly) NSString *TYPE_WORD64 __attribute__((swift_name("TYPE_WORD64"))); -@property (class, readonly) NSString *TYPE_WORD8 __attribute__((swift_name("TYPE_WORD8"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("ApiAbstractionsKt"))) -@interface FlowApiAbstractionsKt : FlowBase -+ (NSString *)collectionDelimiterCollectionFormat:(NSString *)collectionFormat __attribute__((swift_name("collectionDelimiter(collectionFormat:)"))); -+ (NSArray *)toMultiValueItems:(FlowKotlinArray *)items collectionFormat:(NSString *)collectionFormat map:(NSString *(^)(id _Nullable))map __attribute__((swift_name("toMultiValue(items:collectionFormat:map:)"))); -+ (NSArray *)toMultiValueItems:(id)items collectionFormat:(NSString *)collectionFormat map_:(NSString *(^)(id _Nullable))map __attribute__((swift_name("toMultiValue(items:collectionFormat:map_:)"))); -@property (class, readonly) NSString *(^defaultMultiValueConverter)(id _Nullable) __attribute__((swift_name("defaultMultiValueConverter"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceDecodeKt"))) -@interface FlowCadenceDecodeKt : FlowBase -+ (NSString *)addHexPrefix:(NSString *)receiver __attribute__((swift_name("addHexPrefix(_:)"))); -+ (NSArray *)decode:(NSArray *)receiver __attribute__((swift_name("decode(_:)"))); -+ (NSArray *)decodeToAny:(NSArray *)receiver __attribute__((swift_name("decodeToAny(_:)"))); -+ (NSArray *)encodeBase64:(NSArray *)receiver __attribute__((swift_name("encodeBase64(_:)"))); -+ (NSString *)removeHexPrefix:(NSString *)receiver __attribute__((swift_name("removeHexPrefix(_:)"))); -+ (FlowKotlinx_serialization_jsonJsonElement *)toJsonElement:(id _Nullable)receiver __attribute__((swift_name("toJsonElement(_:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("CadenceKt"))) -@interface FlowCadenceKt : FlowBase -+ (id _Nullable)getField:(NSArray *)receiver key:(NSString *)key __attribute__((swift_name("getField(_:key:)"))); -@end; - -__attribute__((swift_name("KotlinIllegalStateException"))) -@interface FlowKotlinIllegalStateException : FlowKotlinRuntimeException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((swift_name("KotlinCancellationException"))) -@interface FlowKotlinCancellationException : FlowKotlinIllegalStateException -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCause:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinArray"))) -@interface FlowKotlinArray : FlowBase -+ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(FlowInt *))init __attribute__((swift_name("init(size:init:)"))); -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); -- (id)iterator __attribute__((swift_name("iterator()"))); -- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)"))); -@property (readonly) int32_t size __attribute__((swift_name("size"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreCoroutineScope"))) -@protocol FlowKotlinx_coroutines_coreCoroutineScope -@required -@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); -@end; - -__attribute__((swift_name("Ktor_ioCloseable"))) -@protocol FlowKtor_ioCloseable -@required -- (void)close __attribute__((swift_name("close()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpClient"))) -@interface FlowKtor_client_coreHttpClient : FlowBase -- (instancetype)initWithEngine:(id)engine userConfig:(FlowKtor_client_coreHttpClientConfig *)userConfig __attribute__((swift_name("init(engine:userConfig:)"))) __attribute__((objc_designated_initializer)); -- (void)close __attribute__((swift_name("close()"))); -- (FlowKtor_client_coreHttpClient *)configBlock:(void (^)(FlowKtor_client_coreHttpClientConfig *))block __attribute__((swift_name("config(block:)"))); -- (BOOL)isSupportedCapability:(id)capability __attribute__((swift_name("isSupported(capability:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); -@property (readonly) id engine __attribute__((swift_name("engine"))); -@property (readonly) FlowKtor_client_coreHttpClientEngineConfig *engineConfig __attribute__((swift_name("engineConfig"))); -@property (readonly) FlowKtor_eventsEvents *monitor __attribute__((swift_name("monitor"))); -@property (readonly) FlowKtor_client_coreHttpReceivePipeline *receivePipeline __attribute__((swift_name("receivePipeline"))); -@property (readonly) FlowKtor_client_coreHttpRequestPipeline *requestPipeline __attribute__((swift_name("requestPipeline"))); -@property (readonly) FlowKtor_client_coreHttpResponsePipeline *responsePipeline __attribute__((swift_name("responsePipeline"))); -@property (readonly) FlowKtor_client_coreHttpSendPipeline *sendPipeline __attribute__((swift_name("sendPipeline"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreEncoder"))) -@protocol FlowKotlinx_serialization_coreEncoder -@required -- (id)beginCollectionDescriptor:(id)descriptor collectionSize:(int32_t)collectionSize __attribute__((swift_name("beginCollection(descriptor:collectionSize:)"))); -- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); -- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); -- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); -- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); -- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); -- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); -- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); -- (id)encodeInlineDescriptor:(id)descriptor __attribute__((swift_name("encodeInline(descriptor:)"))); -- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); -- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); -- (void)encodeNotNullMark __attribute__((swift_name("encodeNotNullMark()"))); -- (void)encodeNull __attribute__((swift_name("encodeNull()"))); -- (void)encodeNullableSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableValue(serializer:value:)"))); -- (void)encodeSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableValue(serializer:value:)"))); -- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); -- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerialDescriptor"))) -@protocol FlowKotlinx_serialization_coreSerialDescriptor -@required -- (NSArray> *)getElementAnnotationsIndex:(int32_t)index __attribute__((swift_name("getElementAnnotations(index:)"))); -- (id)getElementDescriptorIndex:(int32_t)index __attribute__((swift_name("getElementDescriptor(index:)"))); -- (int32_t)getElementIndexName:(NSString *)name __attribute__((swift_name("getElementIndex(name:)"))); -- (NSString *)getElementNameIndex:(int32_t)index __attribute__((swift_name("getElementName(index:)"))); -- (BOOL)isElementOptionalIndex:(int32_t)index __attribute__((swift_name("isElementOptional(index:)"))); -@property (readonly) NSArray> *annotations __attribute__((swift_name("annotations"))); -@property (readonly) int32_t elementsCount __attribute__((swift_name("elementsCount"))); -@property (readonly) BOOL isInline __attribute__((swift_name("isInline"))); -@property (readonly) BOOL isNullable __attribute__((swift_name("isNullable"))); -@property (readonly) FlowKotlinx_serialization_coreSerialKind *kind __attribute__((swift_name("kind"))); -@property (readonly) NSString *serialName __attribute__((swift_name("serialName"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreDecoder"))) -@protocol FlowKotlinx_serialization_coreDecoder -@required -- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); -- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); -- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); -- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); -- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); -- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); -- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); -- (id)decodeInlineDescriptor:(id)descriptor __attribute__((swift_name("decodeInline(descriptor:)"))); -- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); -- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); -- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); -- (FlowKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); -- (id _Nullable)decodeNullableSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeNullableSerializableValue(deserializer:)"))); -- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeSerializableValue(deserializer:)"))); -- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); -- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigDecimal"))) -@interface FlowBignumBigDecimal : FlowBase -@property (class, readonly, getter=companion) FlowBignumBigDecimalCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumBigDecimal *)abs __attribute__((swift_name("abs()"))); -- (FlowBignumBigDecimal *)addOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("add(other:)"))); -- (FlowBignumBigDecimal *)addOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("add(other:decimalMode:)"))); -- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)ceil __attribute__((swift_name("ceil()"))); -- (int32_t)compareOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("compare(other:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); -- (FlowBignumBigDecimal *)doCopySignificand:(FlowBignumBigInteger *)significand exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("doCopy(significand:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)dec __attribute__((swift_name("dec()"))); -- (FlowBignumBigDecimal *)divOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("div(other:)"))); -- (FlowBignumBigDecimal *)divideOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("divide(other:)"))); -- (FlowBignumBigDecimal *)divideOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("divide(other:decimalMode:)"))); -- (FlowKotlinPair *)divideAndRemainderOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (FlowKotlinPair *)divremOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("divrem(other:)"))); -- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)floor __attribute__((swift_name("floor()"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (FlowBignumBigDecimal *)getInstance __attribute__((swift_name("getInstance()"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (FlowBignumBigDecimal *)inc __attribute__((swift_name("inc()"))); -- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); -- (BOOL)isWholeNumber __attribute__((swift_name("isWholeNumber()"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)minusOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("minus(other:)"))); -- (FlowBignumBigDecimal *)moveDecimalPointPlaces:(int32_t)places __attribute__((swift_name("moveDecimalPoint(places:)"))); -- (FlowBignumBigDecimal *)moveDecimalPointPlaces_:(int64_t)places __attribute__((swift_name("moveDecimalPoint(places_:)"))); -- (FlowBignumBigDecimal *)multiplyOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("multiply(other:)"))); -- (FlowBignumBigDecimal *)multiplyOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("multiply(other:decimalMode:)"))); -- (FlowBignumBigDecimal *)negate __attribute__((swift_name("negate()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (FlowBignumBigDecimal *)plusOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("plus(other:)"))); -- (FlowBignumBigDecimal *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (FlowBignumBigDecimal *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (FlowBignumBigDecimal *)remOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("rem(other:)"))); -- (FlowBignumBigDecimal *)remainderOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("remainder(other:)"))); -- (FlowBignumBigDecimal *)removeScale __attribute__((swift_name("removeScale()"))); -- (FlowBignumBigDecimal *)roundSignificandDecimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("roundSignificand(decimalMode:)"))); -- (FlowBignumBigDecimal *)roundToDigitPositionDigitPosition:(int64_t)digitPosition roundingMode:(FlowBignumRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPosition(digitPosition:roundingMode:)"))); -- (FlowBignumBigDecimal *)roundToDigitPositionAfterDecimalPointDigitPosition:(int64_t)digitPosition roundingMode:(FlowBignumRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPositionAfterDecimalPoint(digitPosition:roundingMode:)"))); -- (FlowBignumBigDecimal *)scaleScale:(int64_t)scale __attribute__((swift_name("scale(scale:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (FlowBignumBigDecimal *)subtractOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("subtract(other:)"))); -- (FlowBignumBigDecimal *)subtractOther:(FlowBignumBigDecimal *)other decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("subtract(other:decimalMode:)"))); -- (FlowBignumBigDecimal *)timesOther:(FlowBignumBigDecimal *)other __attribute__((swift_name("times(other:)"))); -- (FlowBignumBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); -- (NSString *)toPlainString __attribute__((swift_name("toPlainString()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (NSString *)toStringExpanded __attribute__((swift_name("toStringExpanded()"))); -- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); -- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); -- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); -- (FlowBignumBigDecimal *)unaryMinus __attribute__((swift_name("unaryMinus()"))); -- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); -- (NSString *)times:(int64_t)receiver char:(unichar)char_ __attribute__((swift_name("times(_:char:)"))); -@property (readonly) FlowBignumDecimalMode * _Nullable decimalMode __attribute__((swift_name("decimalMode"))); -@property (readonly) int64_t exponent __attribute__((swift_name("exponent"))); -@property (readonly) int64_t precision __attribute__((swift_name("precision"))); -@property (readonly) int64_t precisionLimit __attribute__((swift_name("precisionLimit"))); -@property (readonly) FlowBignumRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); -@property (readonly) int64_t scale __attribute__((swift_name("scale"))); -@property (readonly) FlowBignumBigInteger *significand __attribute__((swift_name("significand"))); -@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinPair"))) -@interface FlowKotlinPair<__covariant A, __covariant B> : FlowBase -- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer)); -- (A _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (B _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKotlinPair *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)"))); -- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)"))); -- (int32_t)hashCode __attribute__((swift_name("hashCode()"))); -- (NSString *)toString __attribute__((swift_name("toString()"))); -@property (readonly) A _Nullable first __attribute__((swift_name("first"))); -@property (readonly) B _Nullable second __attribute__((swift_name("second"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinEnumCompanion"))) -@interface FlowKotlinEnumCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinEnumCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_jsonJsonElement"))) -@interface FlowKotlinx_serialization_jsonJsonElement : FlowBase -@property (class, readonly, getter=companion) FlowKotlinx_serialization_jsonJsonElementCompanion *companion __attribute__((swift_name("companion"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerialFormat"))) -@protocol FlowKotlinx_serialization_coreSerialFormat -@required -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreStringFormat"))) -@protocol FlowKotlinx_serialization_coreStringFormat -@required -- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); -- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_jsonJson"))) -@interface FlowKotlinx_serialization_jsonJson : FlowBase -@property (class, readonly, getter=companion) FlowKotlinx_serialization_jsonJsonDefault *companion __attribute__((swift_name("companion"))); -- (id _Nullable)decodeFromJsonElementDeserializer:(id)deserializer element:(FlowKotlinx_serialization_jsonJsonElement *)element __attribute__((swift_name("decodeFromJsonElement(deserializer:element:)"))); -- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); -- (FlowKotlinx_serialization_jsonJsonElement *)encodeToJsonElementSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToJsonElement(serializer:value:)"))); -- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); -- (FlowKotlinx_serialization_jsonJsonElement *)parseToJsonElementString:(NSString *)string __attribute__((swift_name("parseToJsonElement(string:)"))); -@property (readonly) FlowKotlinx_serialization_jsonJsonConfiguration *configuration __attribute__((swift_name("configuration"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinUnit"))) -@interface FlowKotlinUnit : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)unit __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinUnit *shared __attribute__((swift_name("shared"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((swift_name("KotlinIterator"))) -@protocol FlowKotlinIterator -@required -- (BOOL)hasNext __attribute__((swift_name("hasNext()"))); -- (id _Nullable)next __attribute__((swift_name("next()"))); -@end; - -__attribute__((swift_name("KotlinByteIterator"))) -@interface FlowKotlinByteIterator : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (FlowByte *)next __attribute__((swift_name("next()"))); -- (int8_t)nextByte __attribute__((swift_name("nextByte()"))); -@end; - -__attribute__((swift_name("BignumBigNumberCreator"))) -@protocol FlowBignumBigNumberCreator -@required -- (id _Nullable)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); -- (id _Nullable)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); -- (id _Nullable)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); -- (id _Nullable)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); -- (id _Nullable)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); -- (id _Nullable)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); -- (id _Nullable)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); -- (id _Nullable)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); -- (id _Nullable)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); -- (id _Nullable)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); -- (id _Nullable)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); -- (id _Nullable)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); -@property (readonly) id _Nullable ONE __attribute__((swift_name("ONE"))); -@property (readonly) id _Nullable TEN __attribute__((swift_name("TEN"))); -@property (readonly) id _Nullable TWO __attribute__((swift_name("TWO"))); -@property (readonly) id _Nullable ZERO __attribute__((swift_name("ZERO"))); -@end; - -__attribute__((swift_name("BignumBigNumberUtil"))) -@protocol FlowBignumBigNumberUtil -@required -- (id _Nullable)maxFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("max(first:second:)"))); -- (id _Nullable)minFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("min(first:second:)"))); -@end; - -__attribute__((swift_name("BignumByteArrayDeserializable"))) -@protocol FlowBignumByteArrayDeserializable -@required -- (id)fromByteArraySource:(FlowKotlinByteArray *)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); -- (id)fromUByteArraySource:(id)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.Companion"))) -@interface FlowBignumBigIntegerCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumBigIntegerCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigInteger *)createFromWordArrayWordArray:(id)wordArray requestedSign:(FlowBignumSign *)requestedSign __attribute__((swift_name("createFromWordArray(wordArray:requestedSign:)"))); -- (FlowBignumBigInteger *)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); -- (FlowBignumBigInteger *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); -- (FlowBignumBigInteger *)fromByteArraySource:(FlowKotlinByteArray *)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); -- (FlowBignumBigInteger *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); -- (FlowBignumBigInteger *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); -- (FlowBignumBigInteger *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); -- (FlowBignumBigInteger *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); -- (FlowBignumBigInteger *)fromUByteArraySource:(id)source sign:(FlowBignumSign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); -- (FlowBignumBigInteger *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); -- (FlowBignumBigInteger *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); -- (FlowBignumBigInteger *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); -- (FlowBignumBigInteger *)maxFirst:(FlowBignumBigInteger *)first second:(FlowBignumBigInteger *)second __attribute__((swift_name("max(first:second:)"))); -- (FlowBignumBigInteger *)minFirst:(FlowBignumBigInteger *)first second:(FlowBignumBigInteger *)second __attribute__((swift_name("min(first:second:)"))); -- (FlowBignumBigInteger *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); -- (FlowBignumBigInteger *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); -- (FlowBignumBigInteger *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); -@property (readonly) double LOG_10_OF_2 __attribute__((swift_name("LOG_10_OF_2"))); -@property (readonly) FlowBignumBigInteger *ONE __attribute__((swift_name("ONE"))); -@property (readonly) FlowBignumBigInteger *TEN __attribute__((swift_name("TEN"))); -@property (readonly) FlowBignumBigInteger *TWO __attribute__((swift_name("TWO"))); -@property (readonly) FlowBignumBigInteger *ZERO __attribute__((swift_name("ZERO"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.QuotientAndRemainder"))) -@interface FlowBignumBigIntegerQuotientAndRemainder : FlowBase -- (instancetype)initWithQuotient:(FlowBignumBigInteger *)quotient remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigIntegerQuotientAndRemainder *)doCopyQuotient:(FlowBignumBigInteger *)quotient remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *quotient __attribute__((swift_name("quotient"))); -@property (readonly) FlowBignumBigInteger *remainder __attribute__((swift_name("remainder"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumSign"))) -@interface FlowBignumSign : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly) FlowBignumSign *positive __attribute__((swift_name("positive"))); -@property (class, readonly) FlowBignumSign *negative __attribute__((swift_name("negative"))); -@property (class, readonly) FlowBignumSign *zero __attribute__((swift_name("zero"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -- (FlowBignumSign *)not __attribute__((swift_name("not()"))); -- (int32_t)toInt __attribute__((swift_name("toInt()"))); -@end; - -__attribute__((swift_name("KotlinClosedRange"))) -@protocol FlowKotlinClosedRange -@required -- (BOOL)containsValue:(id)value __attribute__((swift_name("contains(value:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -@property (readonly) id endInclusive __attribute__((swift_name("endInclusive"))); -@property (readonly) id start __attribute__((swift_name("start"))); -@end; - -__attribute__((swift_name("KotlinIterable"))) -@protocol FlowKotlinIterable -@required -- (id)iterator __attribute__((swift_name("iterator()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.BigIntegerRange"))) -@interface FlowBignumBigIntegerBigIntegerRange : FlowBase -- (instancetype)initWithStart:(FlowBignumBigInteger *)start endInclusive:(FlowBignumBigInteger *)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); -- (id)iterator __attribute__((swift_name("iterator()"))); -@property (readonly) FlowBignumBigInteger *endInclusive __attribute__((swift_name("endInclusive"))); -@property (readonly) FlowBignumBigInteger *start __attribute__((swift_name("start"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigInteger.SqareRootAndRemainder"))) -@interface FlowBignumBigIntegerSqareRootAndRemainder : FlowBase -- (instancetype)initWithSquareRoot:(FlowBignumBigInteger *)squareRoot remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("init(squareRoot:remainder:)"))) __attribute__((objc_designated_initializer)); -- (FlowBignumBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigInteger *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumBigIntegerSqareRootAndRemainder *)doCopySquareRoot:(FlowBignumBigInteger *)squareRoot remainder:(FlowBignumBigInteger *)remainder __attribute__((swift_name("doCopy(squareRoot:remainder:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumBigInteger *remainder __attribute__((swift_name("remainder"))); -@property (readonly) FlowBignumBigInteger *squareRoot __attribute__((swift_name("squareRoot"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumModularBigInteger"))) -@interface FlowBignumModularBigInteger : FlowBase -@property (class, readonly, getter=companion) FlowBignumModularBigIntegerCompanion *companion __attribute__((swift_name("companion"))); -- (FlowBignumModularBigInteger *)abs __attribute__((swift_name("abs()"))); -- (FlowBignumModularBigInteger *)addOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("add(other:)"))); -- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); -- (int32_t)compareOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("compare(other:)"))); -- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); -- (FlowBignumModularBigInteger *)divideOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("divide(other:)"))); -- (FlowKotlinPair *)divideAndRemainderOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); -- (FlowBignumModularQuotientAndRemainder *)divremOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("divrem(other:)"))); -- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); -- (id)getCreator __attribute__((swift_name("getCreator()"))); -- (FlowBignumModularBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); -- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); -- (FlowBignumModularBigInteger *)inverse __attribute__((swift_name("inverse()"))); -- (BOOL)isZero __attribute__((swift_name("isZero()"))); -- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); -- (FlowBignumModularBigInteger *)multiplyOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("multiply(other:)"))); -- (FlowBignumModularBigInteger *)negate __attribute__((swift_name("negate()"))); -- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); -- (FlowBignumModularBigInteger *)powExponent__:(FlowBignumBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); -- (FlowBignumModularBigInteger *)powExponent___:(FlowBignumModularBigInteger *)exponent __attribute__((swift_name("pow(exponent___:)"))); -- (FlowBignumModularBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); -- (FlowBignumModularBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); -- (FlowBignumModularBigInteger *)remOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("rem(other:)"))); -- (FlowBignumModularBigInteger *)remainderOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("remainder(other:)"))); -- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); -- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); -- (int32_t)signum __attribute__((swift_name("signum()"))); -- (FlowBignumModularBigInteger *)subtractOther:(FlowBignumModularBigInteger *)other __attribute__((swift_name("subtract(other:)"))); -- (FlowBignumBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); -- (FlowKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); -- (NSString *)toStringWithModuloBase:(int32_t)base __attribute__((swift_name("toStringWithModulo(base:)"))); -- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); -- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); -- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); -- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); -- (FlowBignumModularBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); -- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); -@property (readonly) FlowBignumBigInteger *modulus __attribute__((swift_name("modulus"))); -@property (readonly) FlowBignumBigInteger *residue __attribute__((swift_name("residue"))); -@end; - -__attribute__((swift_name("KotlinCoroutineContext"))) -@protocol FlowKotlinCoroutineContext -@required -- (id _Nullable)foldInitial:(id _Nullable)initial operation:(id _Nullable (^)(id _Nullable, id))operation __attribute__((swift_name("fold(initial:operation:)"))); -- (id _Nullable)getKey:(id)key __attribute__((swift_name("get(key:)"))); -- (id)minusKeyKey:(id)key __attribute__((swift_name("minusKey(key:)"))); -- (id)plusContext:(id)context __attribute__((swift_name("plus(context:)"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientEngine"))) -@protocol FlowKtor_client_coreHttpClientEngine -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)executeData:(FlowKtor_client_coreHttpRequestData *)data completionHandler:(void (^)(FlowKtor_client_coreHttpResponseData * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("execute(data:completionHandler:)"))); -- (void)installClient:(FlowKtor_client_coreHttpClient *)client __attribute__((swift_name("install(client:)"))); -@property (readonly) FlowKtor_client_coreHttpClientEngineConfig *config __attribute__((swift_name("config"))); -@property (readonly) FlowKotlinx_coroutines_coreCoroutineDispatcher *dispatcher __attribute__((swift_name("dispatcher"))); -@property (readonly) NSSet> *supportedCapabilities __attribute__((swift_name("supportedCapabilities"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientEngineConfig"))) -@interface FlowKtor_client_coreHttpClientEngineConfig : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property BOOL pipelining __attribute__((swift_name("pipelining"))); -@property FlowKtor_client_coreProxyConfig * _Nullable proxy __attribute__((swift_name("proxy"))); -@property int32_t threadsCount __attribute__((swift_name("threadsCount"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpClientConfig"))) -@interface FlowKtor_client_coreHttpClientConfig : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (FlowKtor_client_coreHttpClientConfig *)clone __attribute__((swift_name("clone()"))); -- (void)engineBlock:(void (^)(T))block __attribute__((swift_name("engine(block:)"))); -- (void)installClient:(FlowKtor_client_coreHttpClient *)client __attribute__((swift_name("install(client:)"))); -- (void)installPlugin:(id)plugin configure:(void (^)(id))configure __attribute__((swift_name("install(plugin:configure:)"))); -- (void)installKey:(NSString *)key block:(void (^)(FlowKtor_client_coreHttpClient *))block __attribute__((swift_name("install(key:block:)"))); -- (void)plusAssignOther:(FlowKtor_client_coreHttpClientConfig *)other __attribute__((swift_name("plusAssign(other:)"))); -@property BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@property BOOL expectSuccess __attribute__((swift_name("expectSuccess"))); -@property BOOL followRedirects __attribute__((swift_name("followRedirects"))); -@property BOOL useDefaultTransformers __attribute__((swift_name("useDefaultTransformers"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientEngineCapability"))) -@protocol FlowKtor_client_coreHttpClientEngineCapability -@required -@end; - -__attribute__((swift_name("Ktor_utilsAttributes"))) -@protocol FlowKtor_utilsAttributes -@required -- (id)computeIfAbsentKey:(FlowKtor_utilsAttributeKey *)key block:(id (^)(void))block __attribute__((swift_name("computeIfAbsent(key:block:)"))); -- (BOOL)containsKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("contains(key:)"))); -- (id)getKey_:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("get(key_:)"))); -- (id _Nullable)getOrNullKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("getOrNull(key:)"))); -- (void)putKey:(FlowKtor_utilsAttributeKey *)key value:(id)value __attribute__((swift_name("put(key:value:)"))); -- (void)removeKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("remove(key:)"))); -- (id)takeKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("take(key:)"))); -- (id _Nullable)takeOrNullKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("takeOrNull(key:)"))); -@property (readonly) NSArray *> *allKeys __attribute__((swift_name("allKeys"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_eventsEvents"))) -@interface FlowKtor_eventsEvents : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)raiseDefinition:(FlowKtor_eventsEventDefinition *)definition value:(id _Nullable)value __attribute__((swift_name("raise(definition:value:)"))); -- (id)subscribeDefinition:(FlowKtor_eventsEventDefinition *)definition handler:(void (^)(id _Nullable))handler __attribute__((swift_name("subscribe(definition:handler:)"))); -- (void)unsubscribeDefinition:(FlowKtor_eventsEventDefinition *)definition handler:(void (^)(id _Nullable))handler __attribute__((swift_name("unsubscribe(definition:handler:)"))); -@end; - -__attribute__((swift_name("Ktor_utilsPipeline"))) -@interface FlowKtor_utilsPipeline : FlowBase -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)); -- (void)addPhasePhase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("addPhase(phase:)"))); -- (void)afterIntercepted __attribute__((swift_name("afterIntercepted()"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)executeContext:(TContext)context subject:(TSubject)subject completionHandler:(void (^)(TSubject _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("execute(context:subject:completionHandler:)"))); -- (void)insertPhaseAfterReference:(FlowKtor_utilsPipelinePhase *)reference phase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("insertPhaseAfter(reference:phase:)"))); -- (void)insertPhaseBeforeReference:(FlowKtor_utilsPipelinePhase *)reference phase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("insertPhaseBefore(reference:phase:)"))); -- (void)interceptPhase:(FlowKtor_utilsPipelinePhase *)phase block:(id)block __attribute__((swift_name("intercept(phase:block:)"))); -- (NSArray> *)interceptorsForPhasePhase:(FlowKtor_utilsPipelinePhase *)phase __attribute__((swift_name("interceptorsForPhase(phase:)"))); -- (void)mergeFrom:(FlowKtor_utilsPipeline *)from __attribute__((swift_name("merge(from:)"))); -- (void)mergePhasesFrom:(FlowKtor_utilsPipeline *)from __attribute__((swift_name("mergePhases(from:)"))); -- (void)resetFromFrom:(FlowKtor_utilsPipeline *)from __attribute__((swift_name("resetFrom(from:)"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@property (readonly, getter=isEmpty_) BOOL isEmpty __attribute__((swift_name("isEmpty"))); -@property (readonly) NSArray *items __attribute__((swift_name("items"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpReceivePipeline"))) -@interface FlowKtor_client_coreHttpReceivePipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpReceivePipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestPipeline"))) -@interface FlowKtor_client_coreHttpRequestPipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpRequestPipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponsePipeline"))) -@interface FlowKtor_client_coreHttpResponsePipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpResponsePipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpSendPipeline"))) -@interface FlowKtor_client_coreHttpSendPipeline : FlowKtor_utilsPipeline -- (instancetype)initWithDevelopmentMode:(BOOL)developmentMode __attribute__((swift_name("init(developmentMode:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithPhase:(FlowKtor_utilsPipelinePhase *)phase interceptors:(NSArray> *)interceptors __attribute__((swift_name("init(phase:interceptors:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (instancetype)initWithPhases:(FlowKotlinArray *)phases __attribute__((swift_name("init(phases:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpSendPipelinePhases *companion __attribute__((swift_name("companion"))); -@property (readonly) BOOL developmentMode __attribute__((swift_name("developmentMode"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreCompositeEncoder"))) -@protocol FlowKotlinx_serialization_coreCompositeEncoder -@required -- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); -- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); -- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); -- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); -- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); -- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); -- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); -- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); -- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); -- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); -- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); -- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); -- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); -- (BOOL)shouldEncodeElementDefaultDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("shouldEncodeElementDefault(descriptor:index:)"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerializersModule"))) -@interface FlowKotlinx_serialization_coreSerializersModule : FlowBase -- (void)dumpToCollector:(id)collector __attribute__((swift_name("dumpTo(collector:)"))); -- (id _Nullable)getContextualKClass:(id)kClass typeArgumentsSerializers:(NSArray> *)typeArgumentsSerializers __attribute__((swift_name("getContextual(kClass:typeArgumentsSerializers:)"))); -- (id _Nullable)getPolymorphicBaseClass:(id)baseClass value:(id)value __attribute__((swift_name("getPolymorphic(baseClass:value:)"))); -- (id _Nullable)getPolymorphicBaseClass:(id)baseClass serializedClassName:(NSString * _Nullable)serializedClassName __attribute__((swift_name("getPolymorphic(baseClass:serializedClassName:)"))); -@end; - -__attribute__((swift_name("KotlinAnnotation"))) -@protocol FlowKotlinAnnotation -@required -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerialKind"))) -@interface FlowKotlinx_serialization_coreSerialKind : FlowBase -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreCompositeDecoder"))) -@protocol FlowKotlinx_serialization_coreCompositeDecoder -@required -- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); -- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); -- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); -- (int32_t)decodeCollectionSizeDescriptor:(id)descriptor __attribute__((swift_name("decodeCollectionSize(descriptor:)"))); -- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); -- (int32_t)decodeElementIndexDescriptor:(id)descriptor __attribute__((swift_name("decodeElementIndex(descriptor:)"))); -- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); -- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); -- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); -- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); -- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); -- (BOOL)decodeSequentially __attribute__((swift_name("decodeSequentially()"))); -- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); -- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); -- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); -- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); -@property (readonly) FlowKotlinx_serialization_coreSerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinNothing"))) -@interface FlowKotlinNothing : FlowBase -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumBigDecimal.Companion"))) -@interface FlowBignumBigDecimalCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumBigDecimalCompanion *shared __attribute__((swift_name("shared"))); -- (FlowBignumBigDecimal *)fromBigDecimalBigDecimal:(FlowBignumBigDecimal *)bigDecimal decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigDecimal(bigDecimal:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); -- (FlowBignumBigDecimal *)fromBigIntegerBigInteger:(FlowBignumBigInteger *)bigInteger decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigInteger(bigInteger:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromBigIntegerWithExponentBigInteger:(FlowBignumBigInteger *)bigInteger exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigIntegerWithExponent(bigInteger:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); -- (FlowBignumBigDecimal *)fromByteByte:(int8_t)byte decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByte(byte:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromByteAsSignificandByte:(int8_t)byte decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteAsSignificand(byte:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromByteWithExponentByte:(int8_t)byte exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteWithExponent(byte:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromDoubleDouble:(double)double_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromDouble(double:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromFloatFloat:(float)float_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromFloat(float:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); -- (FlowBignumBigDecimal *)fromIntInt:(int32_t)int_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromInt(int:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromIntAsSignificandInt:(int32_t)int_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntAsSignificand(int:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromIntWithExponentInt:(int32_t)int_ exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntWithExponent(int:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); -- (FlowBignumBigDecimal *)fromLongLong:(int64_t)long_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLong(long:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromLongAsSignificandLong:(int64_t)long_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongAsSignificand(long:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromLongWithExponentLong:(int64_t)long_ exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongWithExponent(long:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); -- (FlowBignumBigDecimal *)fromShortShort:(int16_t)short_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShort(short:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromShortAsSignificandShort:(int16_t)short_ decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortAsSignificand(short:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromShortWithExponentShort:(int16_t)short_ exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortWithExponent(short:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); -- (FlowBignumBigDecimal *)fromUByteUByte:(uint8_t)uByte decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUByte(uByte:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); -- (FlowBignumBigDecimal *)fromUIntUInt:(uint32_t)uInt decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUInt(uInt:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); -- (FlowBignumBigDecimal *)fromULongULong:(uint64_t)uLong decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromULong(uLong:decimalMode:)"))); -- (FlowBignumBigDecimal *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); -- (FlowBignumBigDecimal *)fromUShortUShort:(uint16_t)uShort decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUShort(uShort:decimalMode:)"))); -- (FlowBignumBigDecimal *)handleZeroRoundingSignificand:(FlowBignumBigInteger *)significand exponent:(int64_t)exponent decimalMode:(FlowBignumDecimalMode *)decimalMode __attribute__((swift_name("handleZeroRounding(significand:exponent:decimalMode:)"))); -- (FlowBignumBigDecimal *)parseStringString:(NSString *)string __attribute__((swift_name("parseString(string:)"))); -- (FlowBignumBigDecimal *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); -- (FlowBignumBigDecimal *)parseStringWithModeFloatingPointString:(NSString *)floatingPointString decimalMode:(FlowBignumDecimalMode * _Nullable)decimalMode __attribute__((swift_name("parseStringWithMode(floatingPointString:decimalMode:)"))); -- (FlowBignumBigDecimal *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); -- (FlowBignumBigDecimal *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); -@property (readonly) FlowBignumBigDecimal *ONE __attribute__((swift_name("ONE"))); -@property (readonly) FlowBignumBigDecimal *TEN __attribute__((swift_name("TEN"))); -@property (readonly) FlowBignumBigDecimal *TWO __attribute__((swift_name("TWO"))); -@property (readonly) FlowBignumBigDecimal *ZERO __attribute__((swift_name("ZERO"))); -@property BOOL useToStringExpanded __attribute__((swift_name("useToStringExpanded"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumDecimalMode"))) -@interface FlowBignumDecimalMode : FlowBase -- (instancetype)initWithDecimalPrecision:(int64_t)decimalPrecision roundingMode:(FlowBignumRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("init(decimalPrecision:roundingMode:scale:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowBignumDecimalModeCompanion *companion __attribute__((swift_name("companion"))); -- (int64_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumRoundingMode *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int64_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumDecimalMode *)doCopyDecimalPrecision:(int64_t)decimalPrecision roundingMode:(FlowBignumRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("doCopy(decimalPrecision:roundingMode:scale:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int64_t decimalPrecision __attribute__((swift_name("decimalPrecision"))); -@property (readonly) BOOL isPrecisionUnlimited __attribute__((swift_name("isPrecisionUnlimited"))); -@property (readonly) FlowBignumRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); -@property (readonly) int64_t scale __attribute__((swift_name("scale"))); -@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumRoundingMode"))) -@interface FlowBignumRoundingMode : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly) FlowBignumRoundingMode *floor __attribute__((swift_name("floor"))); -@property (class, readonly) FlowBignumRoundingMode *ceiling __attribute__((swift_name("ceiling"))); -@property (class, readonly) FlowBignumRoundingMode *awayFromZero __attribute__((swift_name("awayFromZero"))); -@property (class, readonly) FlowBignumRoundingMode *towardsZero __attribute__((swift_name("towardsZero"))); -@property (class, readonly) FlowBignumRoundingMode *none __attribute__((swift_name("none"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfAwayFromZero __attribute__((swift_name("roundHalfAwayFromZero"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfTowardsZero __attribute__((swift_name("roundHalfTowardsZero"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfCeiling __attribute__((swift_name("roundHalfCeiling"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfFloor __attribute__((swift_name("roundHalfFloor"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfToEven __attribute__((swift_name("roundHalfToEven"))); -@property (class, readonly) FlowBignumRoundingMode *roundHalfToOdd __attribute__((swift_name("roundHalfToOdd"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_serialization_jsonJsonElement.Companion"))) -@interface FlowKotlinx_serialization_jsonJsonElementCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinx_serialization_jsonJsonElementCompanion *shared __attribute__((swift_name("shared"))); -- (id)serializer __attribute__((swift_name("serializer()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_serialization_jsonJson.Default"))) -@interface FlowKotlinx_serialization_jsonJsonDefault : FlowKotlinx_serialization_jsonJson -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)default_ __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinx_serialization_jsonJsonDefault *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_serialization_jsonJsonConfiguration"))) -@interface FlowKotlinx_serialization_jsonJsonConfiguration : FlowBase -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL allowSpecialFloatingPointValues __attribute__((swift_name("allowSpecialFloatingPointValues"))); -@property (readonly) BOOL allowStructuredMapKeys __attribute__((swift_name("allowStructuredMapKeys"))); -@property (readonly) NSString *classDiscriminator __attribute__((swift_name("classDiscriminator"))); -@property (readonly) BOOL coerceInputValues __attribute__((swift_name("coerceInputValues"))); -@property (readonly) BOOL encodeDefaults __attribute__((swift_name("encodeDefaults"))); -@property (readonly) BOOL explicitNulls __attribute__((swift_name("explicitNulls"))); -@property (readonly) BOOL ignoreUnknownKeys __attribute__((swift_name("ignoreUnknownKeys"))); -@property (readonly) BOOL isLenient __attribute__((swift_name("isLenient"))); -@property (readonly) BOOL prettyPrint __attribute__((swift_name("prettyPrint"))); -@property (readonly) NSString *prettyPrintIndent __attribute__((swift_name("prettyPrintIndent"))); -@property (readonly) BOOL useAlternativeNames __attribute__((swift_name("useAlternativeNames"))); -@property (readonly) BOOL useArrayPolymorphism __attribute__((swift_name("useArrayPolymorphism"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumModularBigInteger.Companion"))) -@interface FlowBignumModularBigIntegerCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumModularBigIntegerCompanion *shared __attribute__((swift_name("shared"))); -- (id)creatorForModuloModulo:(FlowBignumBigInteger *)modulo __attribute__((swift_name("creatorForModulo(modulo:)"))); -- (id)creatorForModuloModulo_:(int8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_:)"))); -- (id)creatorForModuloModulo__:(int32_t)modulo __attribute__((swift_name("creatorForModulo(modulo__:)"))); -- (id)creatorForModuloModulo___:(int64_t)modulo __attribute__((swift_name("creatorForModulo(modulo___:)"))); -- (id)creatorForModuloModulo____:(int16_t)modulo __attribute__((swift_name("creatorForModulo(modulo____:)"))); -- (id)creatorForModuloModulo_____:(uint8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_____:)"))); -- (id)creatorForModuloModulo______:(uint32_t)modulo __attribute__((swift_name("creatorForModulo(modulo______:)"))); -- (id)creatorForModuloModulo_______:(uint64_t)modulo __attribute__((swift_name("creatorForModulo(modulo_______:)"))); -- (id)creatorForModuloModulo________:(uint16_t)modulo __attribute__((swift_name("creatorForModulo(modulo________:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumModularQuotientAndRemainder"))) -@interface FlowBignumModularQuotientAndRemainder : FlowBase -- (instancetype)initWithQuotient:(FlowBignumModularBigInteger *)quotient remainder:(FlowBignumModularBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); -- (FlowBignumModularBigInteger *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumModularBigInteger *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowBignumModularQuotientAndRemainder *)doCopyQuotient:(FlowBignumModularBigInteger *)quotient remainder:(FlowBignumModularBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowBignumModularBigInteger *quotient __attribute__((swift_name("quotient"))); -@property (readonly) FlowBignumModularBigInteger *remainder __attribute__((swift_name("remainder"))); -@end; - -__attribute__((swift_name("KotlinCoroutineContextElement"))) -@protocol FlowKotlinCoroutineContextElement -@required -@property (readonly) id key __attribute__((swift_name("key"))); -@end; - -__attribute__((swift_name("KotlinCoroutineContextKey"))) -@protocol FlowKotlinCoroutineContextKey -@required -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestData"))) -@interface FlowKtor_client_coreHttpRequestData : FlowBase -- (instancetype)initWithUrl:(FlowKtor_httpUrl *)url method:(FlowKtor_httpHttpMethod *)method headers:(id)headers body:(FlowKtor_httpOutgoingContent *)body executionContext:(id)executionContext attributes:(id)attributes __attribute__((swift_name("init(url:method:headers:body:executionContext:attributes:)"))) __attribute__((objc_designated_initializer)); -- (id _Nullable)getCapabilityOrNullKey:(id)key __attribute__((swift_name("getCapabilityOrNull(key:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) FlowKtor_httpOutgoingContent *body __attribute__((swift_name("body"))); -@property (readonly) id executionContext __attribute__((swift_name("executionContext"))); -@property (readonly) id headers __attribute__((swift_name("headers"))); -@property (readonly) FlowKtor_httpHttpMethod *method __attribute__((swift_name("method"))); -@property (readonly) FlowKtor_httpUrl *url __attribute__((swift_name("url"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponseData"))) -@interface FlowKtor_client_coreHttpResponseData : FlowBase -- (instancetype)initWithStatusCode:(FlowKtor_httpHttpStatusCode *)statusCode requestTime:(FlowKtor_utilsGMTDate *)requestTime headers:(id)headers version:(FlowKtor_httpHttpProtocolVersion *)version body:(id)body callContext:(id)callContext __attribute__((swift_name("init(statusCode:requestTime:headers:version:body:callContext:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id body __attribute__((swift_name("body"))); -@property (readonly) id callContext __attribute__((swift_name("callContext"))); -@property (readonly) id headers __attribute__((swift_name("headers"))); -@property (readonly) FlowKtor_utilsGMTDate *requestTime __attribute__((swift_name("requestTime"))); -@property (readonly) FlowKtor_utilsGMTDate *responseTime __attribute__((swift_name("responseTime"))); -@property (readonly) FlowKtor_httpHttpStatusCode *statusCode __attribute__((swift_name("statusCode"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *version __attribute__((swift_name("version"))); -@end; - -__attribute__((swift_name("KotlinAbstractCoroutineContextElement"))) -@interface FlowKotlinAbstractCoroutineContextElement : FlowBase -- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); -@property (readonly) id key __attribute__((swift_name("key"))); -@end; - -__attribute__((swift_name("KotlinContinuationInterceptor"))) -@protocol FlowKotlinContinuationInterceptor -@required -- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); -- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreCoroutineDispatcher"))) -@interface FlowKotlinx_coroutines_coreCoroutineDispatcher : FlowKotlinAbstractCoroutineContextElement -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKotlinx_coroutines_coreCoroutineDispatcherKey *companion __attribute__((swift_name("companion"))); -- (void)dispatchContext:(id)context block:(id)block __attribute__((swift_name("dispatch(context:block:)"))); -- (void)dispatchYieldContext:(id)context block:(id)block __attribute__((swift_name("dispatchYield(context:block:)"))); -- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); -- (BOOL)isDispatchNeededContext:(id)context __attribute__((swift_name("isDispatchNeeded(context:)"))); -- (FlowKotlinx_coroutines_coreCoroutineDispatcher *)limitedParallelismParallelism:(int32_t)parallelism __attribute__((swift_name("limitedParallelism(parallelism:)"))); -- (FlowKotlinx_coroutines_coreCoroutineDispatcher *)plusOther:(FlowKotlinx_coroutines_coreCoroutineDispatcher *)other __attribute__((swift_name("plus(other:)"))) __attribute__((unavailable("Operator '+' on two CoroutineDispatcher objects is meaningless. CoroutineDispatcher is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The dispatcher to the right of `+` just replaces the dispatcher to the left."))); -- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreProxyConfig"))) -@interface FlowKtor_client_coreProxyConfig : FlowBase -- (instancetype)initWithUrl:(FlowKtor_httpUrl *)url __attribute__((swift_name("init(url:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKtor_httpUrl *url __attribute__((swift_name("url"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientPlugin"))) -@protocol FlowKtor_client_coreHttpClientPlugin -@required -- (void)installPlugin:(id)plugin scope:(FlowKtor_client_coreHttpClient *)scope __attribute__((swift_name("install(plugin:scope:)"))); -- (id)prepareBlock:(void (^)(id))block __attribute__((swift_name("prepare(block:)"))); -@property (readonly) FlowKtor_utilsAttributeKey *key __attribute__((swift_name("key"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsAttributeKey"))) -@interface FlowKtor_utilsAttributeKey : FlowBase -- (instancetype)initWithName:(NSString *)name __attribute__((swift_name("init(name:)"))) __attribute__((objc_designated_initializer)); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((swift_name("Ktor_eventsEventDefinition"))) -@interface FlowKtor_eventsEventDefinition : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreDisposableHandle"))) -@protocol FlowKotlinx_coroutines_coreDisposableHandle -@required -- (void)dispose __attribute__((swift_name("dispose()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsPipelinePhase"))) -@interface FlowKtor_utilsPipelinePhase : FlowBase -- (instancetype)initWithName:(NSString *)name __attribute__((swift_name("init(name:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((swift_name("KotlinFunction"))) -@protocol FlowKotlinFunction -@required -@end; - -__attribute__((swift_name("KotlinSuspendFunction2"))) -@protocol FlowKotlinSuspendFunction2 -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:completionHandler:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpReceivePipeline.Phases"))) -@interface FlowKtor_client_coreHttpReceivePipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpReceivePipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *After __attribute__((swift_name("After"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Before __attribute__((swift_name("Before"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@end; - -__attribute__((swift_name("Ktor_httpHttpMessage"))) -@protocol FlowKtor_httpHttpMessage -@required -@property (readonly) id headers __attribute__((swift_name("headers"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpResponse"))) -@interface FlowKtor_client_coreHttpResponse : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKtor_client_coreHttpClientCall *call __attribute__((swift_name("call"))); -@property (readonly) id content __attribute__((swift_name("content"))); -@property (readonly) FlowKtor_utilsGMTDate *requestTime __attribute__((swift_name("requestTime"))); -@property (readonly) FlowKtor_utilsGMTDate *responseTime __attribute__((swift_name("responseTime"))); -@property (readonly) FlowKtor_httpHttpStatusCode *status __attribute__((swift_name("status"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *version __attribute__((swift_name("version"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestPipeline.Phases"))) -@interface FlowKtor_client_coreHttpRequestPipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpRequestPipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Before __attribute__((swift_name("Before"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Render __attribute__((swift_name("Render"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Send __attribute__((swift_name("Send"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Transform __attribute__((swift_name("Transform"))); -@end; - -__attribute__((swift_name("Ktor_httpHttpMessageBuilder"))) -@protocol FlowKtor_httpHttpMessageBuilder -@required -@property (readonly) FlowKtor_httpHeadersBuilder *headers __attribute__((swift_name("headers"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestBuilder"))) -@interface FlowKtor_client_coreHttpRequestBuilder : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpRequestBuilderCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKtor_client_coreHttpRequestData *)build __attribute__((swift_name("build()"))); -- (id _Nullable)getCapabilityOrNullKey:(id)key __attribute__((swift_name("getCapabilityOrNull(key:)"))); -- (void)setAttributesBlock:(void (^)(id))block __attribute__((swift_name("setAttributes(block:)"))); -- (void)setCapabilityKey:(id)key capability:(id)capability __attribute__((swift_name("setCapability(key:capability:)"))); -- (FlowKtor_client_coreHttpRequestBuilder *)takeFromBuilder:(FlowKtor_client_coreHttpRequestBuilder *)builder __attribute__((swift_name("takeFrom(builder:)"))); -- (FlowKtor_client_coreHttpRequestBuilder *)takeFromWithExecutionContextBuilder:(FlowKtor_client_coreHttpRequestBuilder *)builder __attribute__((swift_name("takeFromWithExecutionContext(builder:)"))); -- (void)urlBlock:(void (^)(FlowKtor_httpURLBuilder *, FlowKtor_httpURLBuilder *))block __attribute__((swift_name("url(block:)"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property id body __attribute__((swift_name("body"))); -@property FlowKtor_utilsTypeInfo * _Nullable bodyType __attribute__((swift_name("bodyType"))); -@property (readonly) id executionContext __attribute__((swift_name("executionContext"))); -@property (readonly) FlowKtor_httpHeadersBuilder *headers __attribute__((swift_name("headers"))); -@property FlowKtor_httpHttpMethod *method __attribute__((swift_name("method"))); -@property (readonly) FlowKtor_httpURLBuilder *url __attribute__((swift_name("url"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponsePipeline.Phases"))) -@interface FlowKtor_client_coreHttpResponsePipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpResponsePipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *After __attribute__((swift_name("After"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Parse __attribute__((swift_name("Parse"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Receive __attribute__((swift_name("Receive"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Transform __attribute__((swift_name("Transform"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpResponseContainer"))) -@interface FlowKtor_client_coreHttpResponseContainer : FlowBase -- (instancetype)initWithExpectedType:(FlowKtor_utilsTypeInfo *)expectedType response:(id)response __attribute__((swift_name("init(expectedType:response:)"))) __attribute__((objc_designated_initializer)); -- (FlowKtor_utilsTypeInfo *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_client_coreHttpResponseContainer *)doCopyExpectedType:(FlowKtor_utilsTypeInfo *)expectedType response:(id)response __attribute__((swift_name("doCopy(expectedType:response:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKtor_utilsTypeInfo *expectedType __attribute__((swift_name("expectedType"))); -@property (readonly) id response __attribute__((swift_name("response"))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpClientCall"))) -@interface FlowKtor_client_coreHttpClientCall : FlowBase -- (instancetype)initWithClient:(FlowKtor_client_coreHttpClient *)client requestData:(FlowKtor_client_coreHttpRequestData *)requestData responseData:(FlowKtor_client_coreHttpResponseData *)responseData __attribute__((swift_name("init(client:requestData:responseData:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithClient:(FlowKtor_client_coreHttpClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_client_coreHttpClientCallCompanion *companion __attribute__((swift_name("companion"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)bodyInfo:(FlowKtor_utilsTypeInfo *)info completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("body(info:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)bodyNullableInfo:(FlowKtor_utilsTypeInfo *)info completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("bodyNullable(info:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)getResponseContentWithCompletionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getResponseContent(completionHandler:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL allowDoubleReceive __attribute__((swift_name("allowDoubleReceive"))); -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) FlowKtor_client_coreHttpClient *client __attribute__((swift_name("client"))); -@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); -@property id request __attribute__((swift_name("request"))); -@property FlowKtor_client_coreHttpResponse *response __attribute__((swift_name("response"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpSendPipeline.Phases"))) -@interface FlowKtor_client_coreHttpSendPipelinePhases : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)phases __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpSendPipelinePhases *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Before __attribute__((swift_name("Before"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Engine __attribute__((swift_name("Engine"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Monitoring __attribute__((swift_name("Monitoring"))); -@property (readonly) FlowKtor_utilsPipelinePhase *Receive __attribute__((swift_name("Receive"))); -@property (readonly) FlowKtor_utilsPipelinePhase *State __attribute__((swift_name("State"))); -@end; - -__attribute__((swift_name("Kotlinx_serialization_coreSerializersModuleCollector"))) -@protocol FlowKotlinx_serialization_coreSerializersModuleCollector -@required -- (void)contextualKClass:(id)kClass provider:(id (^)(NSArray> *))provider __attribute__((swift_name("contextual(kClass:provider:)"))); -- (void)contextualKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("contextual(kClass:serializer:)"))); -- (void)polymorphicBaseClass:(id)baseClass actualClass:(id)actualClass actualSerializer:(id)actualSerializer __attribute__((swift_name("polymorphic(baseClass:actualClass:actualSerializer:)"))); -- (void)polymorphicDefaultBaseClass:(id)baseClass defaultDeserializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultDeserializerProvider __attribute__((swift_name("polymorphicDefault(baseClass:defaultDeserializerProvider:)"))); -- (void)polymorphicDefaultDeserializerBaseClass:(id)baseClass defaultDeserializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultDeserializerProvider __attribute__((swift_name("polymorphicDefaultDeserializer(baseClass:defaultDeserializerProvider:)"))); -- (void)polymorphicDefaultSerializerBaseClass:(id)baseClass defaultSerializerProvider:(id _Nullable (^)(id))defaultSerializerProvider __attribute__((swift_name("polymorphicDefaultSerializer(baseClass:defaultSerializerProvider:)"))); -@end; - -__attribute__((swift_name("KotlinKDeclarationContainer"))) -@protocol FlowKotlinKDeclarationContainer -@required -@end; - -__attribute__((swift_name("KotlinKAnnotatedElement"))) -@protocol FlowKotlinKAnnotatedElement -@required -@end; - -__attribute__((swift_name("KotlinKClassifier"))) -@protocol FlowKotlinKClassifier -@required -@end; - -__attribute__((swift_name("KotlinKClass"))) -@protocol FlowKotlinKClass -@required -- (BOOL)isInstanceValue:(id _Nullable)value __attribute__((swift_name("isInstance(value:)"))); -@property (readonly) NSString * _Nullable qualifiedName __attribute__((swift_name("qualifiedName"))); -@property (readonly) NSString * _Nullable simpleName __attribute__((swift_name("simpleName"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("BignumDecimalMode.Companion"))) -@interface FlowBignumDecimalModeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowBignumDecimalModeCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowBignumDecimalMode *DEFAULT __attribute__((swift_name("DEFAULT"))); -@property (readonly) FlowBignumDecimalMode *US_CURRENCY __attribute__((swift_name("US_CURRENCY"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpUrl"))) -@interface FlowKtor_httpUrl : FlowBase -@property (class, readonly, getter=companion) FlowKtor_httpUrlCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *encodedFragment __attribute__((swift_name("encodedFragment"))); -@property (readonly) NSString * _Nullable encodedPassword __attribute__((swift_name("encodedPassword"))); -@property (readonly) NSString *encodedPath __attribute__((swift_name("encodedPath"))); -@property (readonly) NSString *encodedPathAndQuery __attribute__((swift_name("encodedPathAndQuery"))); -@property (readonly) NSString *encodedQuery __attribute__((swift_name("encodedQuery"))); -@property (readonly) NSString * _Nullable encodedUser __attribute__((swift_name("encodedUser"))); -@property (readonly) NSString *fragment __attribute__((swift_name("fragment"))); -@property (readonly) NSString *host __attribute__((swift_name("host"))); -@property (readonly) id parameters __attribute__((swift_name("parameters"))); -@property (readonly) NSString * _Nullable password __attribute__((swift_name("password"))); -@property (readonly) NSArray *pathSegments __attribute__((swift_name("pathSegments"))); -@property (readonly) int32_t port __attribute__((swift_name("port"))); -@property (readonly) FlowKtor_httpURLProtocol *protocol __attribute__((swift_name("protocol"))); -@property (readonly) int32_t specifiedPort __attribute__((swift_name("specifiedPort"))); -@property (readonly) BOOL trailingQuery __attribute__((swift_name("trailingQuery"))); -@property (readonly) NSString * _Nullable user __attribute__((swift_name("user"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpMethod"))) -@interface FlowKtor_httpHttpMethod : FlowBase -- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHttpMethodCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHttpMethod *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((swift_name("Ktor_utilsStringValues"))) -@protocol FlowKtor_utilsStringValues -@required -- (BOOL)containsName:(NSString *)name __attribute__((swift_name("contains(name:)"))); -- (BOOL)containsName:(NSString *)name value:(NSString *)value __attribute__((swift_name("contains(name:value:)"))); -- (NSSet> *)entries __attribute__((swift_name("entries()"))); -- (void)forEachBody:(void (^)(NSString *, NSArray *))body __attribute__((swift_name("forEach(body:)"))); -- (NSString * _Nullable)getName:(NSString *)name __attribute__((swift_name("get(name:)"))); -- (NSArray * _Nullable)getAllName:(NSString *)name __attribute__((swift_name("getAll(name:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -- (NSSet *)names __attribute__((swift_name("names()"))); -@property (readonly) BOOL caseInsensitiveName __attribute__((swift_name("caseInsensitiveName"))); -@end; - -__attribute__((swift_name("Ktor_httpHeaders"))) -@protocol FlowKtor_httpHeaders -@required -@end; - -__attribute__((swift_name("Ktor_httpOutgoingContent"))) -@interface FlowKtor_httpOutgoingContent : FlowBase -- (id _Nullable)getPropertyKey:(FlowKtor_utilsAttributeKey *)key __attribute__((swift_name("getProperty(key:)"))); -- (void)setPropertyKey:(FlowKtor_utilsAttributeKey *)key value:(id _Nullable)value __attribute__((swift_name("setProperty(key:value:)"))); -- (id _Nullable)trailers __attribute__((swift_name("trailers()"))); -@property (readonly) FlowLong * _Nullable contentLength __attribute__((swift_name("contentLength"))); -@property (readonly) FlowKtor_httpContentType * _Nullable contentType __attribute__((swift_name("contentType"))); -@property (readonly) id headers __attribute__((swift_name("headers"))); -@property (readonly) FlowKtor_httpHttpStatusCode * _Nullable status __attribute__((swift_name("status"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreJob"))) -@protocol FlowKotlinx_coroutines_coreJob -@required -- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))); -- (void)cancelCause:(FlowKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); -- (FlowKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))); -- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(FlowKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))); -- (id)invokeOnCompletionHandler:(void (^)(FlowKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)joinWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))); -- (id)plusOther_:(id)other __attribute__((swift_name("plus(other_:)"))) __attribute__((unavailable("Operator '+' on two Job objects is meaningless. Job is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The job to the right of `+` just replaces the job the left of `+`."))); -- (BOOL)start_ __attribute__((swift_name("start()"))); -@property (readonly) id children __attribute__((swift_name("children"))); -@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); -@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); -@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); -@property (readonly) id onJoin __attribute__((swift_name("onJoin"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpStatusCode"))) -@interface FlowKtor_httpHttpStatusCode : FlowBase -- (instancetype)initWithValue:(int32_t)value description:(NSString *)description __attribute__((swift_name("init(value:description:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHttpStatusCodeCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHttpStatusCode *)doCopyValue:(int32_t)value description:(NSString *)description __attribute__((swift_name("doCopy(value:description:)"))); -- (FlowKtor_httpHttpStatusCode *)descriptionValue:(NSString *)value __attribute__((swift_name("description(value:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); -@property (readonly) int32_t value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsGMTDate"))) -@interface FlowKtor_utilsGMTDate : FlowBase -@property (class, readonly, getter=companion) FlowKtor_utilsGMTDateCompanion *companion __attribute__((swift_name("companion"))); -- (int32_t)compareToOther:(FlowKtor_utilsGMTDate *)other __attribute__((swift_name("compareTo(other:)"))); -- (int32_t)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsWeekDay *)component4 __attribute__((swift_name("component4()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component5 __attribute__((swift_name("component5()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component6 __attribute__((swift_name("component6()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsMonth *)component7 __attribute__((swift_name("component7()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component8 __attribute__((swift_name("component8()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int64_t)component9 __attribute__((swift_name("component9()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsGMTDate *)doCopySeconds:(int32_t)seconds minutes:(int32_t)minutes hours:(int32_t)hours dayOfWeek:(FlowKtor_utilsWeekDay *)dayOfWeek dayOfMonth:(int32_t)dayOfMonth dayOfYear:(int32_t)dayOfYear month:(FlowKtor_utilsMonth *)month year:(int32_t)year timestamp:(int64_t)timestamp __attribute__((swift_name("doCopy(seconds:minutes:hours:dayOfWeek:dayOfMonth:dayOfYear:month:year:timestamp:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int32_t dayOfMonth __attribute__((swift_name("dayOfMonth"))); -@property (readonly) FlowKtor_utilsWeekDay *dayOfWeek __attribute__((swift_name("dayOfWeek"))); -@property (readonly) int32_t dayOfYear __attribute__((swift_name("dayOfYear"))); -@property (readonly) int32_t hours __attribute__((swift_name("hours"))); -@property (readonly) int32_t minutes __attribute__((swift_name("minutes"))); -@property (readonly) FlowKtor_utilsMonth *month __attribute__((swift_name("month"))); -@property (readonly) int32_t seconds __attribute__((swift_name("seconds"))); -@property (readonly) int64_t timestamp __attribute__((swift_name("timestamp"))); -@property (readonly) int32_t year __attribute__((swift_name("year"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpProtocolVersion"))) -@interface FlowKtor_httpHttpProtocolVersion : FlowBase -- (instancetype)initWithName:(NSString *)name major:(int32_t)major minor:(int32_t)minor __attribute__((swift_name("init(name:major:minor:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHttpProtocolVersionCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHttpProtocolVersion *)doCopyName:(NSString *)name major:(int32_t)major minor:(int32_t)minor __attribute__((swift_name("doCopy(name:major:minor:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int32_t major __attribute__((swift_name("major"))); -@property (readonly) int32_t minor __attribute__((swift_name("minor"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((swift_name("KotlinContinuation"))) -@protocol FlowKotlinContinuation -@required -- (void)resumeWithResult:(id _Nullable)result __attribute__((swift_name("resumeWith(result:)"))); -@property (readonly) id context __attribute__((swift_name("context"))); -@end; - -__attribute__((swift_name("KotlinAbstractCoroutineContextKey"))) -@interface FlowKotlinAbstractCoroutineContextKey : FlowBase -- (instancetype)initWithBaseKey:(id)baseKey safeCast:(E _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_coroutines_coreCoroutineDispatcher.Key"))) -@interface FlowKotlinx_coroutines_coreCoroutineDispatcherKey : FlowKotlinAbstractCoroutineContextKey, FlowKotlinx_coroutines_coreCoroutineDispatcher *> -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithBaseKey:(id)baseKey safeCast:(id _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)key __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinx_coroutines_coreCoroutineDispatcherKey *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreRunnable"))) -@protocol FlowKotlinx_coroutines_coreRunnable -@required -- (void)run __attribute__((swift_name("run()"))); -@end; - -__attribute__((swift_name("Ktor_ioByteReadChannel"))) -@protocol FlowKtor_ioByteReadChannel -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)awaitContentWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("awaitContent(completionHandler:)"))); -- (BOOL)cancelCause_:(FlowKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)discardMax:(int64_t)max completionHandler:(void (^)(FlowLong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(max:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)peekToDestination:(FlowKtor_ioMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max completionHandler:(void (^)(FlowLong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(FlowKtor_ioChunkBuffer *)dst completionHandler:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(FlowKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler:)"))); -- (int32_t)readAvailableMin:(int32_t)min block:(void (^)(FlowKtor_ioBuffer *))block __attribute__((swift_name("readAvailable(min:block:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler_:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readAvailableDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler__:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readBooleanWithCompletionHandler:(void (^)(FlowBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readBoolean(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readByteWithCompletionHandler:(void (^)(FlowByte * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readByte(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readDoubleWithCompletionHandler:(void (^)(FlowDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFloatWithCompletionHandler:(void (^)(FlowFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(FlowKtor_ioChunkBuffer *)dst n:(int32_t)n completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:n:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(FlowKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler_:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readFullyDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler__:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readIntWithCompletionHandler:(void (^)(FlowInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readLongWithCompletionHandler:(void (^)(FlowLong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readPacketSize:(int32_t)size completionHandler:(void (^)(FlowKtor_ioByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(size:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readRemainingLimit:(int64_t)limit completionHandler:(void (^)(FlowKtor_ioByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(limit:completionHandler:)"))); -- (void)readSessionConsumer:(void (^)(id))consumer __attribute__((swift_name("readSession(consumer:)"))) __attribute__((deprecated("Use read { } instead."))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readShortWithCompletionHandler:(void (^)(FlowShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readSuspendableSessionConsumer:(id)consumer completionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("readSuspendableSession(consumer:completionHandler:)"))) __attribute__((deprecated("Use read { } instead."))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readUTF8LineLimit:(int32_t)limit completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(limit:completionHandler:)"))); - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)readUTF8LineToOut:(id)out limit:(int32_t)limit completionHandler:(void (^)(FlowBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(out:limit:completionHandler:)"))); -@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); -@property (readonly) FlowKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); -@property (readonly) BOOL isClosedForRead __attribute__((swift_name("isClosedForRead"))); -@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); -@property (readonly) int64_t totalBytesRead __attribute__((swift_name("totalBytesRead"))); -@end; - -__attribute__((swift_name("Ktor_utilsStringValuesBuilder"))) -@protocol FlowKtor_utilsStringValuesBuilder -@required -- (void)appendName:(NSString *)name value:(NSString *)value __attribute__((swift_name("append(name:value:)"))); -- (void)appendAllStringValues:(id)stringValues __attribute__((swift_name("appendAll(stringValues:)"))); -- (void)appendAllName:(NSString *)name values:(id)values __attribute__((swift_name("appendAll(name:values:)"))); -- (void)appendMissingStringValues:(id)stringValues __attribute__((swift_name("appendMissing(stringValues:)"))); -- (void)appendMissingName:(NSString *)name values:(id)values __attribute__((swift_name("appendMissing(name:values:)"))); -- (id)build __attribute__((swift_name("build()"))); -- (void)clear __attribute__((swift_name("clear()"))); -- (BOOL)containsName:(NSString *)name __attribute__((swift_name("contains(name:)"))); -- (BOOL)containsName:(NSString *)name value:(NSString *)value __attribute__((swift_name("contains(name:value:)"))); -- (NSSet> *)entries __attribute__((swift_name("entries()"))); -- (NSString * _Nullable)getName:(NSString *)name __attribute__((swift_name("get(name:)"))); -- (NSArray * _Nullable)getAllName:(NSString *)name __attribute__((swift_name("getAll(name:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -- (NSSet *)names __attribute__((swift_name("names()"))); -- (void)removeName:(NSString *)name __attribute__((swift_name("remove(name:)"))); -- (BOOL)removeName:(NSString *)name value:(NSString *)value __attribute__((swift_name("remove(name:value:)"))); -- (void)removeKeysWithNoEntries __attribute__((swift_name("removeKeysWithNoEntries()"))); -- (void)setName:(NSString *)name value:(NSString *)value __attribute__((swift_name("set(name:value:)"))); -@property (readonly) BOOL caseInsensitiveName __attribute__((swift_name("caseInsensitiveName"))); -@end; - -__attribute__((swift_name("Ktor_utilsStringValuesBuilderImpl"))) -@interface FlowKtor_utilsStringValuesBuilderImpl : FlowBase -- (instancetype)initWithCaseInsensitiveName:(BOOL)caseInsensitiveName size:(int32_t)size __attribute__((swift_name("init(caseInsensitiveName:size:)"))) __attribute__((objc_designated_initializer)); -- (void)appendName:(NSString *)name value:(NSString *)value __attribute__((swift_name("append(name:value:)"))); -- (void)appendAllStringValues:(id)stringValues __attribute__((swift_name("appendAll(stringValues:)"))); -- (void)appendAllName:(NSString *)name values:(id)values __attribute__((swift_name("appendAll(name:values:)"))); -- (void)appendMissingStringValues:(id)stringValues __attribute__((swift_name("appendMissing(stringValues:)"))); -- (void)appendMissingName:(NSString *)name values:(id)values __attribute__((swift_name("appendMissing(name:values:)"))); -- (id)build __attribute__((swift_name("build()"))); -- (void)clear __attribute__((swift_name("clear()"))); -- (BOOL)containsName:(NSString *)name __attribute__((swift_name("contains(name:)"))); -- (BOOL)containsName:(NSString *)name value:(NSString *)value __attribute__((swift_name("contains(name:value:)"))); -- (NSSet> *)entries __attribute__((swift_name("entries()"))); -- (NSString * _Nullable)getName:(NSString *)name __attribute__((swift_name("get(name:)"))); -- (NSArray * _Nullable)getAllName:(NSString *)name __attribute__((swift_name("getAll(name:)"))); -- (BOOL)isEmpty __attribute__((swift_name("isEmpty()"))); -- (NSSet *)names __attribute__((swift_name("names()"))); -- (void)removeName:(NSString *)name __attribute__((swift_name("remove(name:)"))); -- (BOOL)removeName:(NSString *)name value:(NSString *)value __attribute__((swift_name("remove(name:value:)"))); -- (void)removeKeysWithNoEntries __attribute__((swift_name("removeKeysWithNoEntries()"))); -- (void)setName:(NSString *)name value:(NSString *)value __attribute__((swift_name("set(name:value:)"))); -- (void)validateNameName:(NSString *)name __attribute__((swift_name("validateName(name:)"))); -- (void)validateValueValue:(NSString *)value __attribute__((swift_name("validateValue(value:)"))); -@property (readonly) BOOL caseInsensitiveName __attribute__((swift_name("caseInsensitiveName"))); -@property (readonly) FlowMutableDictionary *> *values __attribute__((swift_name("values"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHeadersBuilder"))) -@interface FlowKtor_httpHeadersBuilder : FlowKtor_utilsStringValuesBuilderImpl -- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithCaseInsensitiveName:(BOOL)caseInsensitiveName size:(int32_t)size __attribute__((swift_name("init(caseInsensitiveName:size:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -- (id)build __attribute__((swift_name("build()"))); -- (void)validateNameName:(NSString *)name __attribute__((swift_name("validateName(name:)"))); -- (void)validateValueValue:(NSString *)value __attribute__((swift_name("validateValue(value:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpRequestBuilder.Companion"))) -@interface FlowKtor_client_coreHttpRequestBuilderCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpRequestBuilderCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLBuilder"))) -@interface FlowKtor_httpURLBuilder : FlowBase -- (instancetype)initWithProtocol:(FlowKtor_httpURLProtocol *)protocol host:(NSString *)host port:(int32_t)port user:(NSString * _Nullable)user password:(NSString * _Nullable)password pathSegments:(NSArray *)pathSegments parameters:(id)parameters fragment:(NSString *)fragment trailingQuery:(BOOL)trailingQuery __attribute__((swift_name("init(protocol:host:port:user:password:pathSegments:parameters:fragment:trailingQuery:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpURLBuilderCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKtor_httpUrl *)build __attribute__((swift_name("build()"))); -- (NSString *)buildString __attribute__((swift_name("buildString()"))); -@property NSString *encodedFragment __attribute__((swift_name("encodedFragment"))); -@property id encodedParameters __attribute__((swift_name("encodedParameters"))); -@property NSString * _Nullable encodedPassword __attribute__((swift_name("encodedPassword"))); -@property NSArray *encodedPathSegments __attribute__((swift_name("encodedPathSegments"))); -@property NSString * _Nullable encodedUser __attribute__((swift_name("encodedUser"))); -@property NSString *fragment __attribute__((swift_name("fragment"))); -@property NSString *host __attribute__((swift_name("host"))); -@property (readonly) id parameters __attribute__((swift_name("parameters"))); -@property NSString * _Nullable password __attribute__((swift_name("password"))); -@property NSArray *pathSegments __attribute__((swift_name("pathSegments"))); -@property int32_t port __attribute__((swift_name("port"))); -@property FlowKtor_httpURLProtocol *protocol __attribute__((swift_name("protocol"))); -@property BOOL trailingQuery __attribute__((swift_name("trailingQuery"))); -@property NSString * _Nullable user __attribute__((swift_name("user"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsTypeInfo"))) -@interface FlowKtor_utilsTypeInfo : FlowBase -- (instancetype)initWithType:(id)type reifiedType:(id)reifiedType kotlinType:(id _Nullable)kotlinType __attribute__((swift_name("init(type:reifiedType:kotlinType:)"))) __attribute__((objc_designated_initializer)); -- (id)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id _Nullable)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_utilsTypeInfo *)doCopyType:(id)type reifiedType:(id)reifiedType kotlinType:(id _Nullable)kotlinType __attribute__((swift_name("doCopy(type:reifiedType:kotlinType:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id _Nullable kotlinType __attribute__((swift_name("kotlinType"))); -@property (readonly) id reifiedType __attribute__((swift_name("reifiedType"))); -@property (readonly) id type __attribute__((swift_name("type"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_client_coreHttpClientCall.Companion"))) -@interface FlowKtor_client_coreHttpClientCallCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_client_coreHttpClientCallCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsAttributeKey *CustomResponse __attribute__((swift_name("CustomResponse"))) __attribute__((unavailable("This is going to be removed. Please file a ticket with clarification why and what for do you need it."))); -@end; - -__attribute__((swift_name("Ktor_client_coreHttpRequest"))) -@protocol FlowKtor_client_coreHttpRequest -@required -@property (readonly) id attributes __attribute__((swift_name("attributes"))); -@property (readonly) FlowKtor_client_coreHttpClientCall *call __attribute__((swift_name("call"))); -@property (readonly) FlowKtor_httpOutgoingContent *content __attribute__((swift_name("content"))); -@property (readonly) FlowKtor_httpHttpMethod *method __attribute__((swift_name("method"))); -@property (readonly) FlowKtor_httpUrl *url __attribute__((swift_name("url"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpUrl.Companion"))) -@interface FlowKtor_httpUrlCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpUrlCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Ktor_httpParameters"))) -@protocol FlowKtor_httpParameters -@required -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLProtocol"))) -@interface FlowKtor_httpURLProtocol : FlowBase -- (instancetype)initWithName:(NSString *)name defaultPort:(int32_t)defaultPort __attribute__((swift_name("init(name:defaultPort:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpURLProtocolCompanion *companion __attribute__((swift_name("companion"))); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (int32_t)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpURLProtocol *)doCopyName:(NSString *)name defaultPort:(int32_t)defaultPort __attribute__((swift_name("doCopy(name:defaultPort:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) int32_t defaultPort __attribute__((swift_name("defaultPort"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpMethod.Companion"))) -@interface FlowKtor_httpHttpMethodCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHttpMethodCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpHttpMethod *)parseMethod:(NSString *)method __attribute__((swift_name("parse(method:)"))); -@property (readonly) NSArray *DefaultMethods __attribute__((swift_name("DefaultMethods"))); -@property (readonly) FlowKtor_httpHttpMethod *Delete __attribute__((swift_name("Delete"))); -@property (readonly) FlowKtor_httpHttpMethod *Get __attribute__((swift_name("Get"))); -@property (readonly) FlowKtor_httpHttpMethod *Head __attribute__((swift_name("Head"))); -@property (readonly) FlowKtor_httpHttpMethod *Options __attribute__((swift_name("Options"))); -@property (readonly) FlowKtor_httpHttpMethod *Patch __attribute__((swift_name("Patch"))); -@property (readonly) FlowKtor_httpHttpMethod *Post __attribute__((swift_name("Post"))); -@property (readonly) FlowKtor_httpHttpMethod *Put __attribute__((swift_name("Put"))); -@end; - -__attribute__((swift_name("KotlinMapEntry"))) -@protocol FlowKotlinMapEntry -@required -@property (readonly) id _Nullable key __attribute__((swift_name("key"))); -@property (readonly) id _Nullable value __attribute__((swift_name("value"))); -@end; - -__attribute__((swift_name("Ktor_httpHeaderValueWithParameters"))) -@interface FlowKtor_httpHeaderValueWithParameters : FlowBase -- (instancetype)initWithContent:(NSString *)content parameters:(NSArray *)parameters __attribute__((swift_name("init(content:parameters:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_httpHeaderValueWithParametersCompanion *companion __attribute__((swift_name("companion"))); -- (NSString * _Nullable)parameterName:(NSString *)name __attribute__((swift_name("parameter(name:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) NSString *content __attribute__((swift_name("content"))); -@property (readonly) NSArray *parameters __attribute__((swift_name("parameters"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpContentType"))) -@interface FlowKtor_httpContentType : FlowKtor_httpHeaderValueWithParameters -- (instancetype)initWithContentType:(NSString *)contentType contentSubtype:(NSString *)contentSubtype parameters:(NSArray *)parameters __attribute__((swift_name("init(contentType:contentSubtype:parameters:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithContent:(NSString *)content parameters:(NSArray *)parameters __attribute__((swift_name("init(content:parameters:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_httpContentTypeCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (BOOL)matchPattern:(FlowKtor_httpContentType *)pattern __attribute__((swift_name("match(pattern:)"))); -- (BOOL)matchPattern_:(NSString *)pattern __attribute__((swift_name("match(pattern_:)"))); -- (FlowKtor_httpContentType *)withParameterName:(NSString *)name value:(NSString *)value __attribute__((swift_name("withParameter(name:value:)"))); -- (FlowKtor_httpContentType *)withoutParameters __attribute__((swift_name("withoutParameters()"))); -@property (readonly) NSString *contentSubtype __attribute__((swift_name("contentSubtype"))); -@property (readonly) NSString *contentType __attribute__((swift_name("contentType"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreChildHandle"))) -@protocol FlowKotlinx_coroutines_coreChildHandle -@required -- (BOOL)childCancelledCause:(FlowKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); -@property (readonly) id _Nullable parent __attribute__((swift_name("parent"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreChildJob"))) -@protocol FlowKotlinx_coroutines_coreChildJob -@required -- (void)parentCancelledParentJob:(id)parentJob __attribute__((swift_name("parentCancelled(parentJob:)"))); -@end; - -__attribute__((swift_name("KotlinSequence"))) -@protocol FlowKotlinSequence -@required -- (id)iterator __attribute__((swift_name("iterator()"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreSelectClause0"))) -@protocol FlowKotlinx_coroutines_coreSelectClause0 -@required -- (void)registerSelectClause0Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause0(select:block:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpStatusCode.Companion"))) -@interface FlowKtor_httpHttpStatusCodeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHttpStatusCodeCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpHttpStatusCode *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Accepted __attribute__((swift_name("Accepted"))); -@property (readonly) FlowKtor_httpHttpStatusCode *BadGateway __attribute__((swift_name("BadGateway"))); -@property (readonly) FlowKtor_httpHttpStatusCode *BadRequest __attribute__((swift_name("BadRequest"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Conflict __attribute__((swift_name("Conflict"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Continue __attribute__((swift_name("Continue"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Created __attribute__((swift_name("Created"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ExpectationFailed __attribute__((swift_name("ExpectationFailed"))); -@property (readonly) FlowKtor_httpHttpStatusCode *FailedDependency __attribute__((swift_name("FailedDependency"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Forbidden __attribute__((swift_name("Forbidden"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Found __attribute__((swift_name("Found"))); -@property (readonly) FlowKtor_httpHttpStatusCode *GatewayTimeout __attribute__((swift_name("GatewayTimeout"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Gone __attribute__((swift_name("Gone"))); -@property (readonly) FlowKtor_httpHttpStatusCode *InsufficientStorage __attribute__((swift_name("InsufficientStorage"))); -@property (readonly) FlowKtor_httpHttpStatusCode *InternalServerError __attribute__((swift_name("InternalServerError"))); -@property (readonly) FlowKtor_httpHttpStatusCode *LengthRequired __attribute__((swift_name("LengthRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Locked __attribute__((swift_name("Locked"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MethodNotAllowed __attribute__((swift_name("MethodNotAllowed"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MovedPermanently __attribute__((swift_name("MovedPermanently"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MultiStatus __attribute__((swift_name("MultiStatus"))); -@property (readonly) FlowKtor_httpHttpStatusCode *MultipleChoices __attribute__((swift_name("MultipleChoices"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NoContent __attribute__((swift_name("NoContent"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NonAuthoritativeInformation __attribute__((swift_name("NonAuthoritativeInformation"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotAcceptable __attribute__((swift_name("NotAcceptable"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotFound __attribute__((swift_name("NotFound"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotImplemented __attribute__((swift_name("NotImplemented"))); -@property (readonly) FlowKtor_httpHttpStatusCode *NotModified __attribute__((swift_name("NotModified"))); -@property (readonly) FlowKtor_httpHttpStatusCode *OK __attribute__((swift_name("OK"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PartialContent __attribute__((swift_name("PartialContent"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PayloadTooLarge __attribute__((swift_name("PayloadTooLarge"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PaymentRequired __attribute__((swift_name("PaymentRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PermanentRedirect __attribute__((swift_name("PermanentRedirect"))); -@property (readonly) FlowKtor_httpHttpStatusCode *PreconditionFailed __attribute__((swift_name("PreconditionFailed"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Processing __attribute__((swift_name("Processing"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ProxyAuthenticationRequired __attribute__((swift_name("ProxyAuthenticationRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestHeaderFieldTooLarge __attribute__((swift_name("RequestHeaderFieldTooLarge"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestTimeout __attribute__((swift_name("RequestTimeout"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestURITooLong __attribute__((swift_name("RequestURITooLong"))); -@property (readonly) FlowKtor_httpHttpStatusCode *RequestedRangeNotSatisfiable __attribute__((swift_name("RequestedRangeNotSatisfiable"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ResetContent __attribute__((swift_name("ResetContent"))); -@property (readonly) FlowKtor_httpHttpStatusCode *SeeOther __attribute__((swift_name("SeeOther"))); -@property (readonly) FlowKtor_httpHttpStatusCode *ServiceUnavailable __attribute__((swift_name("ServiceUnavailable"))); -@property (readonly) FlowKtor_httpHttpStatusCode *SwitchProxy __attribute__((swift_name("SwitchProxy"))); -@property (readonly) FlowKtor_httpHttpStatusCode *SwitchingProtocols __attribute__((swift_name("SwitchingProtocols"))); -@property (readonly) FlowKtor_httpHttpStatusCode *TemporaryRedirect __attribute__((swift_name("TemporaryRedirect"))); -@property (readonly) FlowKtor_httpHttpStatusCode *TooManyRequests __attribute__((swift_name("TooManyRequests"))); -@property (readonly) FlowKtor_httpHttpStatusCode *Unauthorized __attribute__((swift_name("Unauthorized"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UnprocessableEntity __attribute__((swift_name("UnprocessableEntity"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UnsupportedMediaType __attribute__((swift_name("UnsupportedMediaType"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UpgradeRequired __attribute__((swift_name("UpgradeRequired"))); -@property (readonly) FlowKtor_httpHttpStatusCode *UseProxy __attribute__((swift_name("UseProxy"))); -@property (readonly) FlowKtor_httpHttpStatusCode *VariantAlsoNegotiates __attribute__((swift_name("VariantAlsoNegotiates"))); -@property (readonly) FlowKtor_httpHttpStatusCode *VersionNotSupported __attribute__((swift_name("VersionNotSupported"))); -@property (readonly) NSArray *allStatusCodes __attribute__((swift_name("allStatusCodes"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsGMTDate.Companion"))) -@interface FlowKtor_utilsGMTDateCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_utilsGMTDateCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_utilsGMTDate *START __attribute__((swift_name("START"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsWeekDay"))) -@interface FlowKtor_utilsWeekDay : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_utilsWeekDayCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowKtor_utilsWeekDay *monday __attribute__((swift_name("monday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *tuesday __attribute__((swift_name("tuesday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *wednesday __attribute__((swift_name("wednesday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *thursday __attribute__((swift_name("thursday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *friday __attribute__((swift_name("friday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *saturday __attribute__((swift_name("saturday"))); -@property (class, readonly) FlowKtor_utilsWeekDay *sunday __attribute__((swift_name("sunday"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsMonth"))) -@interface FlowKtor_utilsMonth : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_utilsMonthCompanion *companion __attribute__((swift_name("companion"))); -@property (class, readonly) FlowKtor_utilsMonth *january __attribute__((swift_name("january"))); -@property (class, readonly) FlowKtor_utilsMonth *february __attribute__((swift_name("february"))); -@property (class, readonly) FlowKtor_utilsMonth *march __attribute__((swift_name("march"))); -@property (class, readonly) FlowKtor_utilsMonth *april __attribute__((swift_name("april"))); -@property (class, readonly) FlowKtor_utilsMonth *may __attribute__((swift_name("may"))); -@property (class, readonly) FlowKtor_utilsMonth *june __attribute__((swift_name("june"))); -@property (class, readonly) FlowKtor_utilsMonth *july __attribute__((swift_name("july"))); -@property (class, readonly) FlowKtor_utilsMonth *august __attribute__((swift_name("august"))); -@property (class, readonly) FlowKtor_utilsMonth *september __attribute__((swift_name("september"))); -@property (class, readonly) FlowKtor_utilsMonth *october __attribute__((swift_name("october"))); -@property (class, readonly) FlowKtor_utilsMonth *november __attribute__((swift_name("november"))); -@property (class, readonly) FlowKtor_utilsMonth *december __attribute__((swift_name("december"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHttpProtocolVersion.Companion"))) -@interface FlowKtor_httpHttpProtocolVersionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHttpProtocolVersionCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpHttpProtocolVersion *)fromValueName:(NSString *)name major:(int32_t)major minor:(int32_t)minor __attribute__((swift_name("fromValue(name:major:minor:)"))); -- (FlowKtor_httpHttpProtocolVersion *)parseValue:(id)value __attribute__((swift_name("parse(value:)"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *HTTP_1_0 __attribute__((swift_name("HTTP_1_0"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *HTTP_1_1 __attribute__((swift_name("HTTP_1_1"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *HTTP_2_0 __attribute__((swift_name("HTTP_2_0"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *QUIC __attribute__((swift_name("QUIC"))); -@property (readonly) FlowKtor_httpHttpProtocolVersion *SPDY_3 __attribute__((swift_name("SPDY_3"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioMemory"))) -@interface FlowKtor_ioMemory : FlowBase -- (instancetype)initWithPointer:(void *)pointer size:(int64_t)size __attribute__((swift_name("init(pointer:size:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_ioMemoryCompanion *companion __attribute__((swift_name("companion"))); -- (void)doCopyToDestination:(FlowKtor_ioMemory *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset:)"))); -- (void)doCopyToDestination:(FlowKtor_ioMemory *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset_:)"))); -- (int8_t)loadAtIndex:(int32_t)index __attribute__((swift_name("loadAt(index:)"))); -- (int8_t)loadAtIndex_:(int64_t)index __attribute__((swift_name("loadAt(index_:)"))); -- (FlowKtor_ioMemory *)sliceOffset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("slice(offset:length:)"))); -- (FlowKtor_ioMemory *)sliceOffset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("slice(offset:length_:)"))); -- (void)storeAtIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("storeAt(index:value:)"))); -- (void)storeAtIndex:(int64_t)index value_:(int8_t)value __attribute__((swift_name("storeAt(index:value_:)"))); -@property (readonly) void *pointer __attribute__((swift_name("pointer"))); -@property (readonly) int64_t size __attribute__((swift_name("size"))); -@property (readonly) int32_t size32 __attribute__((swift_name("size32"))); -@end; - -__attribute__((swift_name("Ktor_ioBuffer"))) -@interface FlowKtor_ioBuffer : FlowBase -- (instancetype)initWithMemory:(FlowKtor_ioMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_ioBufferCompanion *companion __attribute__((swift_name("companion"))); -- (void)commitWrittenCount:(int32_t)count __attribute__((swift_name("commitWritten(count:)"))); -- (void)discardExactCount:(int32_t)count __attribute__((swift_name("discardExact(count:)"))); -- (FlowKtor_ioBuffer *)duplicate __attribute__((swift_name("duplicate()"))); -- (void)duplicateToCopy:(FlowKtor_ioBuffer *)copy __attribute__((swift_name("duplicateTo(copy:)"))); -- (int8_t)readByte __attribute__((swift_name("readByte()"))); -- (void)reserveEndGapEndGap:(int32_t)endGap __attribute__((swift_name("reserveEndGap(endGap:)"))); -- (void)reserveStartGapStartGap:(int32_t)startGap __attribute__((swift_name("reserveStartGap(startGap:)"))); -- (void)reset __attribute__((swift_name("reset()"))); -- (void)resetForRead __attribute__((swift_name("resetForRead()"))); -- (void)resetForWrite __attribute__((swift_name("resetForWrite()"))); -- (void)resetForWriteLimit:(int32_t)limit __attribute__((swift_name("resetForWrite(limit:)"))); -- (void)rewindCount:(int32_t)count __attribute__((swift_name("rewind(count:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -- (int32_t)tryPeekByte __attribute__((swift_name("tryPeekByte()"))); -- (int32_t)tryReadByte __attribute__((swift_name("tryReadByte()"))); -- (void)writeByteValue:(int8_t)value __attribute__((swift_name("writeByte(value:)"))); -@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); -@property (readonly) int32_t endGap __attribute__((swift_name("endGap"))); -@property (readonly) int32_t limit __attribute__((swift_name("limit"))); -@property (readonly) FlowKtor_ioMemory *memory __attribute__((swift_name("memory"))); -@property (readonly) int32_t readPosition __attribute__((swift_name("readPosition"))); -@property (readonly) int32_t readRemaining __attribute__((swift_name("readRemaining"))); -@property (readonly) int32_t startGap __attribute__((swift_name("startGap"))); -@property (readonly) int32_t writePosition __attribute__((swift_name("writePosition"))); -@property (readonly) int32_t writeRemaining __attribute__((swift_name("writeRemaining"))); -@end; - -__attribute__((swift_name("Ktor_ioChunkBuffer"))) -@interface FlowKtor_ioChunkBuffer : FlowKtor_ioBuffer -- (instancetype)initWithMemory:(FlowKtor_ioMemory *)memory origin:(FlowKtor_ioChunkBuffer * _Nullable)origin parentPool:(id _Nullable)parentPool __attribute__((swift_name("init(memory:origin:parentPool:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithMemory:(FlowKtor_ioMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_ioChunkBufferCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKtor_ioChunkBuffer * _Nullable)cleanNext __attribute__((swift_name("cleanNext()"))); -- (FlowKtor_ioChunkBuffer *)duplicate __attribute__((swift_name("duplicate()"))); -- (void)releasePool:(id)pool __attribute__((swift_name("release(pool:)"))); -- (void)reset __attribute__((swift_name("reset()"))); -@property (getter=next_) FlowKtor_ioChunkBuffer * _Nullable next __attribute__((swift_name("next"))); -@property (readonly) FlowKtor_ioChunkBuffer * _Nullable origin __attribute__((swift_name("origin"))); -@property (readonly) int32_t referenceCount __attribute__((swift_name("referenceCount"))); -@end; - -__attribute__((swift_name("Ktor_ioInput"))) -@interface FlowKtor_ioInput : FlowBase -- (instancetype)initWithHead:(FlowKtor_ioChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKtor_ioInputCompanion *companion __attribute__((swift_name("companion"))); -- (BOOL)canRead __attribute__((swift_name("canRead()"))); -- (void)close __attribute__((swift_name("close()"))); -- (void)closeSource __attribute__((swift_name("closeSource()"))); -- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); -- (int64_t)discardN_:(int64_t)n __attribute__((swift_name("discard(n_:)"))); -- (void)discardExactN:(int32_t)n __attribute__((swift_name("discardExact(n:)"))); -- (FlowKtor_ioChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); -- (int32_t)fillDestination:(FlowKtor_ioMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); -- (BOOL)hasBytesN:(int32_t)n __attribute__((swift_name("hasBytes(n:)"))); -- (void)markNoMoreChunksAvailable __attribute__((swift_name("markNoMoreChunksAvailable()"))); -- (int64_t)peekToDestination:(FlowKtor_ioMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); -- (int32_t)peekToBuffer:(FlowKtor_ioChunkBuffer *)buffer __attribute__((swift_name("peekTo(buffer:)"))); -- (int8_t)readByte __attribute__((swift_name("readByte()"))); -- (NSString *)readTextMin:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(min:max:)"))); -- (int32_t)readTextOut:(id)out min:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(out:min:max:)"))); -- (NSString *)readTextExactExactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(exactCharacters:)"))); -- (void)readTextExactOut:(id)out exactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(out:exactCharacters:)"))); -- (void)release_ __attribute__((swift_name("release()"))); -- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); -@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); -@property (readonly) id pool __attribute__((swift_name("pool"))); -@property (readonly) int64_t remaining __attribute__((swift_name("remaining"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioByteReadPacket"))) -@interface FlowKtor_ioByteReadPacket : FlowKtor_ioInput -- (instancetype)initWithHead:(FlowKtor_ioChunkBuffer *)head pool:(id)pool __attribute__((swift_name("init(head:pool:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithHead:(FlowKtor_ioChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly, getter=companion) FlowKtor_ioByteReadPacketCompanion *companion __attribute__((swift_name("companion"))); -- (void)closeSource __attribute__((swift_name("closeSource()"))); -- (FlowKtor_ioByteReadPacket *)doCopy __attribute__((swift_name("doCopy()"))); -- (FlowKtor_ioChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); -- (int32_t)fillDestination:(FlowKtor_ioMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@end; - -__attribute__((swift_name("Ktor_ioReadSession"))) -@protocol FlowKtor_ioReadSession -@required -- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); -- (FlowKtor_ioChunkBuffer * _Nullable)requestAtLeast:(int32_t)atLeast __attribute__((swift_name("request(atLeast:)"))); -@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); -@end; - -__attribute__((swift_name("KotlinSuspendFunction1"))) -@protocol FlowKotlinSuspendFunction1 -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)invokeP1:(id _Nullable)p1 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:completionHandler:)"))); -@end; - -__attribute__((swift_name("KotlinAppendable"))) -@protocol FlowKotlinAppendable -@required -- (id)appendValue:(unichar)value __attribute__((swift_name("append(value:)"))); -- (id)appendValue_:(id _Nullable)value __attribute__((swift_name("append(value_:)"))); -- (id)appendValue:(id _Nullable)value startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex __attribute__((swift_name("append(value:startIndex:endIndex:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLBuilder.Companion"))) -@interface FlowKtor_httpURLBuilderCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpURLBuilderCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((swift_name("Ktor_httpParametersBuilder"))) -@protocol FlowKtor_httpParametersBuilder -@required -@end; - -__attribute__((swift_name("KotlinKType"))) -@protocol FlowKotlinKType -@required -@property (readonly) NSArray *arguments __attribute__((swift_name("arguments"))); -@property (readonly) id _Nullable classifier __attribute__((swift_name("classifier"))); -@property (readonly) BOOL isMarkedNullable __attribute__((swift_name("isMarkedNullable"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpURLProtocol.Companion"))) -@interface FlowKtor_httpURLProtocolCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpURLProtocolCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpURLProtocol *)createOrDefaultName:(NSString *)name __attribute__((swift_name("createOrDefault(name:)"))); -@property (readonly) FlowKtor_httpURLProtocol *HTTP __attribute__((swift_name("HTTP"))); -@property (readonly) FlowKtor_httpURLProtocol *HTTPS __attribute__((swift_name("HTTPS"))); -@property (readonly) FlowKtor_httpURLProtocol *SOCKS __attribute__((swift_name("SOCKS"))); -@property (readonly) FlowKtor_httpURLProtocol *WS __attribute__((swift_name("WS"))); -@property (readonly) FlowKtor_httpURLProtocol *WSS __attribute__((swift_name("WSS"))); -@property (readonly) NSDictionary *byName __attribute__((swift_name("byName"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHeaderValueParam"))) -@interface FlowKtor_httpHeaderValueParam : FlowBase -- (instancetype)initWithName:(NSString *)name value:(NSString *)value __attribute__((swift_name("init(name:value:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)initWithName:(NSString *)name value:(NSString *)value escapeValue:(BOOL)escapeValue __attribute__((swift_name("init(name:value:escapeValue:)"))) __attribute__((objc_designated_initializer)); -- (NSString *)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (NSString *)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (BOOL)component3 __attribute__((swift_name("component3()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKtor_httpHeaderValueParam *)doCopyName:(NSString *)name value:(NSString *)value escapeValue:(BOOL)escapeValue __attribute__((swift_name("doCopy(name:value:escapeValue:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL escapeValue __attribute__((swift_name("escapeValue"))); -@property (readonly) NSString *name __attribute__((swift_name("name"))); -@property (readonly) NSString *value __attribute__((swift_name("value"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpHeaderValueWithParameters.Companion"))) -@interface FlowKtor_httpHeaderValueWithParametersCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpHeaderValueWithParametersCompanion *shared __attribute__((swift_name("shared"))); -- (id _Nullable)parseValue:(NSString *)value init:(id _Nullable (^)(NSString *, NSArray *))init __attribute__((swift_name("parse(value:init:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_httpContentType.Companion"))) -@interface FlowKtor_httpContentTypeCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_httpContentTypeCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_httpContentType *)parseValue:(NSString *)value __attribute__((swift_name("parse(value:)"))); -@property (readonly) FlowKtor_httpContentType *Any __attribute__((swift_name("Any"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreParentJob"))) -@protocol FlowKotlinx_coroutines_coreParentJob -@required -- (FlowKotlinCancellationException *)getChildJobCancellationCause __attribute__((swift_name("getChildJobCancellationCause()"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreSelectInstance"))) -@protocol FlowKotlinx_coroutines_coreSelectInstance -@required -- (void)disposeOnSelectHandle:(id)handle __attribute__((swift_name("disposeOnSelect(handle:)"))); -- (id _Nullable)performAtomicTrySelectDesc:(FlowKotlinx_coroutines_coreAtomicDesc *)desc __attribute__((swift_name("performAtomicTrySelect(desc:)"))); -- (void)resumeSelectWithExceptionException:(FlowKotlinThrowable *)exception __attribute__((swift_name("resumeSelectWithException(exception:)"))); -- (BOOL)trySelect __attribute__((swift_name("trySelect()"))); -- (id _Nullable)trySelectOtherOtherOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp * _Nullable)otherOp __attribute__((swift_name("trySelectOther(otherOp:)"))); -@property (readonly) id completion __attribute__((swift_name("completion"))); -@property (readonly) BOOL isSelected __attribute__((swift_name("isSelected"))); -@end; - -__attribute__((swift_name("KotlinSuspendFunction0"))) -@protocol FlowKotlinSuspendFunction0 -@required - -/** - @note This method converts instances of CancellationException to errors. - Other uncaught Kotlin exceptions are fatal. -*/ -- (void)invokeWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(completionHandler:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsWeekDay.Companion"))) -@interface FlowKtor_utilsWeekDayCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_utilsWeekDayCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_utilsWeekDay *)fromOrdinal:(int32_t)ordinal __attribute__((swift_name("from(ordinal:)"))); -- (FlowKtor_utilsWeekDay *)fromValue:(NSString *)value __attribute__((swift_name("from(value:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_utilsMonth.Companion"))) -@interface FlowKtor_utilsMonthCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_utilsMonthCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKtor_utilsMonth *)fromOrdinal:(int32_t)ordinal __attribute__((swift_name("from(ordinal:)"))); -- (FlowKtor_utilsMonth *)fromValue:(NSString *)value __attribute__((swift_name("from(value:)"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioMemory.Companion"))) -@interface FlowKtor_ioMemoryCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioMemoryCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioMemory *Empty __attribute__((swift_name("Empty"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioBuffer.Companion"))) -@interface FlowKtor_ioBufferCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioBufferCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioBuffer *Empty __attribute__((swift_name("Empty"))); -@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); -@end; - -__attribute__((swift_name("Ktor_ioObjectPool"))) -@protocol FlowKtor_ioObjectPool -@required -- (id)borrow __attribute__((swift_name("borrow()"))); -- (void)dispose __attribute__((swift_name("dispose()"))); -- (void)recycleInstance:(id)instance __attribute__((swift_name("recycle(instance:)"))); -@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioChunkBuffer.Companion"))) -@interface FlowKtor_ioChunkBufferCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioChunkBufferCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioChunkBuffer *Empty __attribute__((swift_name("Empty"))); -@property (readonly) id EmptyPool __attribute__((swift_name("EmptyPool"))); -@property (readonly) id Pool __attribute__((swift_name("Pool"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioInput.Companion"))) -@interface FlowKtor_ioInputCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioInputCompanion *shared __attribute__((swift_name("shared"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Ktor_ioByteReadPacket.Companion"))) -@interface FlowKtor_ioByteReadPacketCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKtor_ioByteReadPacketCompanion *shared __attribute__((swift_name("shared"))); -@property (readonly) FlowKtor_ioByteReadPacket *Empty __attribute__((swift_name("Empty"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinKTypeProjection"))) -@interface FlowKotlinKTypeProjection : FlowBase -- (instancetype)initWithVariance:(FlowKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("init(variance:type:)"))) __attribute__((objc_designated_initializer)); -@property (class, readonly, getter=companion) FlowKotlinKTypeProjectionCompanion *companion __attribute__((swift_name("companion"))); -- (FlowKotlinKVariance * _Nullable)component1 __attribute__((swift_name("component1()"))) __attribute__((deprecated("use corresponding property instead"))); -- (id _Nullable)component2 __attribute__((swift_name("component2()"))) __attribute__((deprecated("use corresponding property instead"))); -- (FlowKotlinKTypeProjection *)doCopyVariance:(FlowKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("doCopy(variance:type:)"))); -- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); -- (NSUInteger)hash __attribute__((swift_name("hash()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) id _Nullable type __attribute__((swift_name("type"))); -@property (readonly) FlowKotlinKVariance * _Nullable variance __attribute__((swift_name("variance"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreAtomicDesc"))) -@interface FlowKotlinx_coroutines_coreAtomicDesc : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)completeOp:(FlowKotlinx_coroutines_coreAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); -- (id _Nullable)prepareOp:(FlowKotlinx_coroutines_coreAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); -@property FlowKotlinx_coroutines_coreAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreOpDescriptor"))) -@interface FlowKotlinx_coroutines_coreOpDescriptor : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (BOOL)isEarlierThanThat:(FlowKotlinx_coroutines_coreOpDescriptor *)that __attribute__((swift_name("isEarlierThan(that:)"))); -- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinx_coroutines_coreAtomicOp * _Nullable atomicOp __attribute__((swift_name("atomicOp"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNode.PrepareOp"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp : FlowKotlinx_coroutines_coreOpDescriptor -- (instancetype)initWithAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next desc:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc *)desc __attribute__((swift_name("init(affected:next:desc:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (void)finishPrepare __attribute__((swift_name("finishPrepare()"))); -- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *affected __attribute__((swift_name("affected"))); -@property (readonly) FlowKotlinx_coroutines_coreAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc *desc __attribute__((swift_name("desc"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *next __attribute__((swift_name("next"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinKVariance"))) -@interface FlowKotlinKVariance : FlowKotlinEnum -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -@property (class, readonly) FlowKotlinKVariance *invariant __attribute__((swift_name("invariant"))); -@property (class, readonly) FlowKotlinKVariance *in __attribute__((swift_name("in"))); -@property (class, readonly) FlowKotlinKVariance *out __attribute__((swift_name("out"))); -+ (FlowKotlinArray *)values __attribute__((swift_name("values()"))); -@end; - -__attribute__((objc_subclassing_restricted)) -__attribute__((swift_name("KotlinKTypeProjection.Companion"))) -@interface FlowKotlinKTypeProjectionCompanion : FlowBase -+ (instancetype)alloc __attribute__((unavailable)); -+ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); -+ (instancetype)companion __attribute__((swift_name("init()"))); -@property (class, readonly, getter=shared) FlowKotlinKTypeProjectionCompanion *shared __attribute__((swift_name("shared"))); -- (FlowKotlinKTypeProjection *)contravariantType:(id)type __attribute__((swift_name("contravariant(type:)"))); -- (FlowKotlinKTypeProjection *)covariantType:(id)type __attribute__((swift_name("covariant(type:)"))); -- (FlowKotlinKTypeProjection *)invariantType:(id)type __attribute__((swift_name("invariant(type:)"))); -@property (readonly) FlowKotlinKTypeProjection *STAR __attribute__((swift_name("STAR"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreAtomicOp"))) -@interface FlowKotlinx_coroutines_coreAtomicOp<__contravariant T> : FlowKotlinx_coroutines_coreOpDescriptor -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)completeAffected:(T _Nullable)affected failure:(id _Nullable)failure __attribute__((swift_name("complete(affected:failure:)"))); -- (id _Nullable)decideDecision:(id _Nullable)decision __attribute__((swift_name("decide(decision:)"))); -- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); -- (id _Nullable)prepareAffected:(T _Nullable)affected __attribute__((swift_name("prepare(affected:)"))); -@property (readonly) FlowKotlinx_coroutines_coreAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); -@property (readonly) id _Nullable consensus __attribute__((swift_name("consensus"))); -@property (readonly) BOOL isDecided __attribute__((swift_name("isDecided"))); -@property (readonly) int64_t opSequence __attribute__((swift_name("opSequence"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNode"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNode : FlowBase -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)addLastNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node __attribute__((swift_name("addLast(node:)"))); -- (BOOL)addLastIfNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node condition:(FlowBoolean *(^)(void))condition __attribute__((swift_name("addLastIf(node:condition:)"))); -- (BOOL)addLastIfPrevNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node predicate:(FlowBoolean *(^)(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *))predicate __attribute__((swift_name("addLastIfPrev(node:predicate:)"))); -- (BOOL)addLastIfPrevAndIfNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node predicate:(FlowBoolean *(^)(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *))predicate condition:(FlowBoolean *(^)(void))condition __attribute__((swift_name("addLastIfPrevAndIf(node:predicate:condition:)"))); -- (BOOL)addOneIfEmptyNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node __attribute__((swift_name("addOneIfEmpty(node:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc *)describeAddLastNode:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)node __attribute__((swift_name("describeAddLast(node:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc *)describeRemoveFirst __attribute__((swift_name("describeRemoveFirst()"))); -- (void)helpRemove __attribute__((swift_name("helpRemove()"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)nextIfRemoved __attribute__((swift_name("nextIfRemoved()"))); -- (BOOL)remove __attribute__((swift_name("remove()"))); -- (id _Nullable)removeFirstIfIsInstanceOfOrPeekIfPredicate:(FlowBoolean *(^)(id _Nullable))predicate __attribute__((swift_name("removeFirstIfIsInstanceOfOrPeekIf(predicate:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)removeFirstOrNull __attribute__((swift_name("removeFirstOrNull()"))); -- (NSString *)description __attribute__((swift_name("description()"))); -@property (readonly) BOOL isRemoved __attribute__((swift_name("isRemoved"))); -@property (readonly, getter=next_) id next __attribute__((swift_name("next"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *nextNode __attribute__((swift_name("nextNode"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *prevNode __attribute__((swift_name("prevNode"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNode.AbstractAtomicDesc"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc : FlowKotlinx_coroutines_coreAtomicDesc -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); -+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); -- (void)completeOp:(FlowKotlinx_coroutines_coreAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); -- (id _Nullable)failureAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected __attribute__((swift_name("failure(affected:)"))); -- (void)finishOnSuccessAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); -- (void)finishPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); -- (id _Nullable)onPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("onPrepare(prepareOp:)"))); -- (void)onRemovedAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected __attribute__((swift_name("onRemoved(affected:)"))); -- (id _Nullable)prepareOp:(FlowKotlinx_coroutines_coreAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); -- (BOOL)retryAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(FlowKotlinx_coroutines_coreOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); -- (id)updatedNextAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAddLastDesc : FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc -- (instancetype)initWithQueue:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)queue node:(T)node __attribute__((swift_name("init(queue:node:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (void)finishOnSuccessAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); -- (void)finishPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); -- (BOOL)retryAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(FlowKotlinx_coroutines_coreOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); -- (id)updatedNextAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); -@property (readonly) T node __attribute__((swift_name("node"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *originalNext __attribute__((swift_name("originalNext"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); -@end; - -__attribute__((swift_name("Kotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc"))) -@interface FlowKotlinx_coroutines_coreLockFreeLinkedListNodeRemoveFirstDesc : FlowKotlinx_coroutines_coreLockFreeLinkedListNodeAbstractAtomicDesc -- (instancetype)initWithQueue:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)queue __attribute__((swift_name("init(queue:)"))) __attribute__((objc_designated_initializer)); -- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); -+ (instancetype)new __attribute__((unavailable)); -- (id _Nullable)failureAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected __attribute__((swift_name("failure(affected:)"))); -- (void)finishOnSuccessAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); -- (void)finishPreparePrepareOp:(FlowKotlinx_coroutines_coreLockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); -- (BOOL)retryAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); -- (FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(FlowKotlinx_coroutines_coreOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); -- (id)updatedNextAffected:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)affected next:(FlowKotlinx_coroutines_coreLockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); -@property (readonly) FlowKotlinx_coroutines_coreLockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); -@property (readonly) T _Nullable result __attribute__((swift_name("result"))); -@end; - -#pragma pop_macro("_Nullable_result") -#pragma clang diagnostic pop -NS_ASSUME_NONNULL_END diff --git a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Info.plist b/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Info.plist deleted file mode 100644 index 6b4dd3b..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Info.plist +++ /dev/null @@ -1,31 +0,0 @@ - - - - - CFBundleExecutable - Flow - CFBundleIdentifier - org.onflow.flow.Flow - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Flow - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSupportedPlatforms - - iPhoneSimulator - - CFBundleVersion - 1 - MinimumOSVersion - 9.0 - UIDeviceFamily - - 1 - 2 - - - \ No newline at end of file diff --git a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Modules/module.modulemap b/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Modules/module.modulemap deleted file mode 100644 index 77af621..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/Flow.framework/Modules/module.modulemap +++ /dev/null @@ -1,8 +0,0 @@ -framework module Flow { - umbrella header "Flow.h" - - export * - module * { export * } - - use Foundation -} \ No newline at end of file diff --git a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/dSYMs/Flow.framework.dSYM/Contents/Info.plist b/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/dSYMs/Flow.framework.dSYM/Contents/Info.plist deleted file mode 100644 index 66c4dd3..0000000 --- a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/dSYMs/Flow.framework.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.org.onflow.flow.Flow - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/dSYMs/Flow.framework.dSYM/Contents/Resources/DWARF/Flow b/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/dSYMs/Flow.framework.dSYM/Contents/Resources/DWARF/Flow deleted file mode 100644 index dcd4334..0000000 Binary files a/flow/swiftpackage/Flow.xcframework/ios-x86_64-simulator/dSYMs/Flow.framework.dSYM/Contents/Resources/DWARF/Flow and /dev/null differ diff --git a/gradle.properties b/gradle.properties index 4457c04..002545e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,8 +8,8 @@ kotlin.code.style=official android.useAndroidX=true #MPP -kotlin.mpp.enableGranularSourceSetsMetadata=true -kotlin.native.enableDependencyPropagation=false +#kotlin.mpp.enableGranularSourceSetsMetadata=true +#kotlin.native.enableDependencyPropagation=false kotlin.mpp.enableCInteropCommonization=true kotlin.native.binary.memoryModel=experimental kotlin.mpp.androidSourceSetLayoutVersion=2 \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d0add4d..a2a88fe 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Jun 06 15:31:57 EDT 2022 +#Wed Nov 13 10:56:32 AEDT 2024 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip distributionPath=wrapper/dists -zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists