rapidhash-wasm-vn 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -1,44 +1,44 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const hash_v1: (a: number, b: number, c: number, d: bigint) => bigint;
4
+ export const __wbg_fasthasher_free: (a: number, b: number) => void;
5
5
  export const __wbg_portablehashv1_free: (a: number, b: number) => void;
6
- export const portablehashv1_new: (a: number, b: bigint) => number;
7
- export const portablehashv1_update: (a: number, b: number, c: number) => void;
8
- export const portablehashv1_digest: (a: number) => bigint;
9
- export const portablehashv1_reset: (a: number) => void;
6
+ export const __wbg_portablehashv2_free: (a: number, b: number) => void;
7
+ export const fasthasher_digest: (a: number) => bigint;
8
+ export const fasthasher_new: (a: number, b: bigint) => number;
9
+ export const fasthasher_reset: (a: number) => void;
10
+ export const fasthasher_update: (a: number, b: number, c: number) => void;
11
+ export const fasthasher_update_i128: (a: number, b: bigint, c: bigint) => void;
12
+ export const fasthasher_update_i16: (a: number, b: number) => void;
13
+ export const fasthasher_update_i32: (a: number, b: number) => void;
14
+ export const fasthasher_update_i64: (a: number, b: bigint) => void;
15
+ export const fasthasher_update_i8: (a: number, b: number) => void;
16
+ export const hash_file_v3: (a: number, b: number, c: number, d: bigint) => [bigint, number, number];
17
+ export const hash_v1: (a: number, b: number, c: number, d: bigint) => bigint;
10
18
  export const hash_v1_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
11
19
  export const hash_v2: (a: number, b: number, c: number, d: bigint) => bigint;
12
- export const __wbg_portablehashv2_free: (a: number, b: number) => void;
13
- export const portablehashv2_new: (a: number, b: bigint) => number;
14
- export const portablehashv2_update: (a: number, b: number, c: number) => void;
15
- export const portablehashv2_digest: (a: number) => bigint;
16
- export const portablehashv2_reset: (a: number) => void;
17
20
  export const hash_v2_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
18
21
  export const hash_v3: (a: number, b: number, c: number, d: bigint) => bigint;
22
+ export const hash_v3_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
19
23
  export const hash_v3_micro: (a: number, b: number, c: number, d: bigint) => bigint;
20
24
  export const hash_v3_nano: (a: number, b: number, c: number, d: bigint) => bigint;
21
- export const hash_file_v3: (a: number, b: number, c: number, d: bigint) => [bigint, number, number];
25
+ export const portablehashv1_digest: (a: number) => bigint;
26
+ export const portablehashv1_new: (a: number, b: bigint) => number;
27
+ export const portablehashv1_reset: (a: number) => void;
28
+ export const portablehashv1_update: (a: number, b: number, c: number) => void;
29
+ export const portablehashv2_digest: (a: number) => bigint;
30
+ export const portablehashv2_new: (a: number, b: bigint) => number;
31
+ export const portablehashv2_reset: (a: number) => void;
32
+ export const portablehashv2_update: (a: number, b: number, c: number) => void;
22
33
  export const portablehashv3_digest: (a: number) => bigint;
23
- export const hash_v3_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
24
- export const __wbg_fasthasher_free: (a: number, b: number) => void;
25
- export const fasthasher_new: (a: number, b: bigint) => number;
26
- export const fasthasher_update: (a: number, b: number, c: number) => void;
27
- export const fasthasher_update_i8: (a: number, b: number) => void;
28
- export const fasthasher_update_i16: (a: number, b: number) => void;
29
- export const fasthasher_update_i32: (a: number, b: number) => void;
30
- export const fasthasher_update_i64: (a: number, b: bigint) => void;
31
- export const fasthasher_update_i128: (a: number, b: bigint, c: bigint) => void;
32
- export const fasthasher_digest: (a: number) => bigint;
33
- export const fasthasher_reset: (a: number) => void;
34
- export const qualityhasher_update: (a: number, b: number, c: number) => void;
35
34
  export const qualityhasher_digest: (a: number) => bigint;
35
+ export const qualityhasher_update: (a: number, b: number, c: number) => void;
36
36
  export const fasthasher_update_u128: (a: number, b: bigint, c: bigint) => void;
37
37
  export const qualityhasher_update_u128: (a: number, b: bigint, c: bigint) => void;
38
- export const fasthasher_update_u8: (a: number, b: number) => void;
39
38
  export const fasthasher_update_u16: (a: number, b: number) => void;
40
- export const qualityhasher_update_u8: (a: number, b: number) => void;
39
+ export const fasthasher_update_u8: (a: number, b: number) => void;
41
40
  export const qualityhasher_update_u16: (a: number, b: number) => void;
41
+ export const qualityhasher_update_u8: (a: number, b: number) => void;
42
42
  export const qualityhasher_new: (a: number, b: bigint) => number;
43
43
  export const fasthasher_update_u32: (a: number, b: number) => void;
44
44
  export const fasthasher_update_u64: (a: number, b: bigint) => void;
@@ -46,18 +46,18 @@ export const qualityhasher_update_u32: (a: number, b: number) => void;
46
46
  export const qualityhasher_update_u64: (a: number, b: bigint) => void;
47
47
  export const __wbg_qualityhasher_free: (a: number, b: number) => void;
48
48
  export const __wbg_portablehashv3_free: (a: number, b: number) => void;
49
+ export const portablehashv3_update: (a: number, b: number, c: number) => void;
49
50
  export const portablehashv3_reset: (a: number) => void;
50
- export const qualityhasher_reset: (a: number) => void;
51
- export const qualityhasher_update_i128: (a: number, b: bigint, c: bigint) => void;
51
+ export const qualityhasher_update_i8: (a: number, b: number) => void;
52
52
  export const qualityhasher_update_i64: (a: number, b: bigint) => void;
53
53
  export const qualityhasher_update_i32: (a: number, b: number) => void;
54
54
  export const qualityhasher_update_i16: (a: number, b: number) => void;
55
- export const qualityhasher_update_i8: (a: number, b: number) => void;
56
- export const portablehashv3_update: (a: number, b: number, c: number) => void;
55
+ export const qualityhasher_update_i128: (a: number, b: bigint, c: bigint) => void;
56
+ export const qualityhasher_reset: (a: number) => void;
57
57
  export const portablehashv3_new: (a: number, b: bigint) => number;
58
- export const __wbindgen_export_0: WebAssembly.Table;
58
+ export const __wbindgen_externrefs: WebAssembly.Table;
59
59
  export const __wbindgen_malloc: (a: number, b: number) => number;
60
- export const __externref_table_alloc: () => number;
61
60
  export const __externref_table_dealloc: (a: number) => void;
61
+ export const __externref_table_alloc: () => number;
62
62
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
63
63
  export const __wbindgen_start: () => void;
@@ -1,261 +1,274 @@
1
1
  declare namespace wasm_bindgen {
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Computes RapidHash V1 (64-bit) hash
6
- *
7
- * # Arguments
8
- *
9
- * * `input` - Input data to hash
10
- * * `seed` - Seed value for hash (default: 0)
11
- */
12
- export function hash_v1(input: Uint8Array, seed?: bigint | null): bigint;
13
- /**
14
- * Computes multiple RapidHash V1 (64-bit) hashes in batch
15
- */
16
- export function hash_v1_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
17
- /**
18
- * Computes RapidHash V2 (64-bit) hash
19
- *
20
- * # Arguments
21
- *
22
- * * `input` - Input data to hash
23
- * * `seed` - Seed value for hash (default: 0)
24
- */
25
- export function hash_v2(input: Uint8Array, seed?: bigint | null): bigint;
26
- /**
27
- * Computes multiple RapidHash V2 (64-bit) hashes in batch
28
- */
29
- export function hash_v2_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
30
- /**
31
- * Computes RapidHash V3 (64-bit) hash
32
- *
33
- * # Arguments
34
- *
35
- * * `input` - Input data to hash
36
- * * `seed` - Seed value for hash (default: 0)
37
- */
38
- export function hash_v3(input: Uint8Array, seed?: bigint | null): bigint;
39
- /**
40
- * Computes RapidHash V3 (64-bit) micro hash
41
- *
42
- * # Arguments
43
- *
44
- * * `input` - Input data to hash
45
- * * `seed` - Seed value for hash (default: 0)
46
- */
47
- export function hash_v3_micro(input: Uint8Array, seed?: bigint | null): bigint;
48
- /**
49
- * Computes RapidHash V3 (64-bit) nano hash
50
- *
51
- * # Arguments
52
- *
53
- * * `input` - Input data to hash
54
- * * `seed` - Seed value for hash (default: 0)
55
- */
56
- export function hash_v3_nano(input: Uint8Array, seed?: bigint | null): bigint;
57
- /**
58
- * RapidHash V3 - (64-bit) hash file
59
- *
60
- * # Arguments
61
- *
62
- * * `input` - Input data to hash
63
- * * `seed` - Seed value for hash (default: 0)
64
- */
65
- export function hash_file_v3(input: Uint8Array, seed?: bigint | null): bigint;
66
- /**
67
- * Computes multiple RapidHash V3 (64-bit) hashes in batch
68
- */
69
- export function hash_v3_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
70
- export class FastHasher {
71
- free(): void;
72
- [Symbol.dispose](): void;
73
- constructor(seed?: bigint | null);
74
- /**
75
- * Updates the hash with new data
76
- */
77
- update(data: Uint8Array): void;
78
- update_u8(data: number): void;
79
- update_u16(data: number): void;
80
- update_u32(data: number): void;
81
- update_u64(data: bigint): void;
82
- update_u128(data: bigint): void;
83
- update_i8(data: number): void;
84
- update_i16(data: number): void;
85
- update_i32(data: number): void;
86
- update_i64(data: bigint): void;
87
- update_i128(data: bigint): void;
88
- /**
89
- * Finalizes the hash and returns the result
90
- */
91
- digest(): bigint;
92
- /**
93
- * Resets the hasher
94
- */
95
- reset(): void;
96
- }
97
- /**
98
- * Streaming PortableHashV1
99
- */
100
- export class PortableHashV1 {
101
- free(): void;
102
- [Symbol.dispose](): void;
103
- constructor(seed?: bigint | null);
104
- /**
105
- * Updates the hash with new data
106
- */
107
- update(data: Uint8Array): void;
108
- /**
109
- * Finalizes the hash and returns the result
110
- */
111
- digest(): bigint;
112
- /**
113
- * Resets the hasher with optional new seed
114
- */
115
- reset(): void;
116
- }
117
- /**
118
- * Streaming PortableHashV2
119
- */
120
- export class PortableHashV2 {
121
- free(): void;
122
- [Symbol.dispose](): void;
123
- constructor(seed?: bigint | null);
124
- /**
125
- * Updates the hash with new data
126
- */
127
- update(data: Uint8Array): void;
128
- /**
129
- * Finalizes the hash and returns the result
130
- */
131
- digest(): bigint;
132
- /**
133
- * Resets the hasher with optional new seed
134
- */
135
- reset(): void;
136
- }
137
- /**
138
- * Streaming PortableHashV3
139
- */
140
- export class PortableHashV3 {
141
- free(): void;
142
- [Symbol.dispose](): void;
143
- constructor(seed?: bigint | null);
144
- /**
145
- * Updates the hash with new data
146
- */
147
- update(data: Uint8Array): void;
148
- /**
149
- * Finalizes the hash and returns the result
150
- */
151
- digest(): bigint;
152
- /**
153
- * Resets the hasher with optional new seed
154
- */
155
- reset(): void;
156
- }
157
- export class QualityHasher {
158
- free(): void;
159
- [Symbol.dispose](): void;
160
- constructor(seed?: bigint | null);
161
- /**
162
- * Updates the hash with new data
163
- */
164
- update(data: Uint8Array): void;
165
- update_u8(data: number): void;
166
- update_u16(data: number): void;
167
- update_u32(data: number): void;
168
- update_u64(data: bigint): void;
169
- update_u128(data: bigint): void;
170
- update_i8(data: number): void;
171
- update_i16(data: number): void;
172
- update_i32(data: number): void;
173
- update_i64(data: bigint): void;
174
- update_i128(data: bigint): void;
175
- /**
176
- * Finalizes the hash and returns the result
177
- */
178
- digest(): bigint;
179
- /**
180
- * Resets the hasher
181
- */
182
- reset(): void;
183
- }
184
-
185
- }
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export class FastHasher {
6
+ free(): void;
7
+ [Symbol.dispose](): void;
8
+ /**
9
+ * Finalizes the hash and returns the result
10
+ */
11
+ digest(): bigint;
12
+ constructor(seed?: bigint | null);
13
+ /**
14
+ * Resets the hasher
15
+ */
16
+ reset(): void;
17
+ /**
18
+ * Updates the hash with new data
19
+ */
20
+ update(data: Uint8Array): void;
21
+ update_i128(data: bigint): void;
22
+ update_i16(data: number): void;
23
+ update_i32(data: number): void;
24
+ update_i64(data: bigint): void;
25
+ update_i8(data: number): void;
26
+ update_u128(data: bigint): void;
27
+ update_u16(data: number): void;
28
+ update_u32(data: number): void;
29
+ update_u64(data: bigint): void;
30
+ update_u8(data: number): void;
31
+ }
32
+
33
+ /**
34
+ * Streaming PortableHashV1
35
+ */
36
+ export class PortableHashV1 {
37
+ free(): void;
38
+ [Symbol.dispose](): void;
39
+ /**
40
+ * Finalizes the hash and returns the result
41
+ */
42
+ digest(): bigint;
43
+ constructor(seed?: bigint | null);
44
+ /**
45
+ * Resets the hasher with optional new seed
46
+ */
47
+ reset(): void;
48
+ /**
49
+ * Updates the hash with new data
50
+ */
51
+ update(data: Uint8Array): void;
52
+ }
53
+
54
+ /**
55
+ * Streaming PortableHashV2
56
+ */
57
+ export class PortableHashV2 {
58
+ free(): void;
59
+ [Symbol.dispose](): void;
60
+ /**
61
+ * Finalizes the hash and returns the result
62
+ */
63
+ digest(): bigint;
64
+ constructor(seed?: bigint | null);
65
+ /**
66
+ * Resets the hasher with optional new seed
67
+ */
68
+ reset(): void;
69
+ /**
70
+ * Updates the hash with new data
71
+ */
72
+ update(data: Uint8Array): void;
73
+ }
74
+
75
+ /**
76
+ * Streaming PortableHashV3
77
+ */
78
+ export class PortableHashV3 {
79
+ free(): void;
80
+ [Symbol.dispose](): void;
81
+ /**
82
+ * Finalizes the hash and returns the result
83
+ */
84
+ digest(): bigint;
85
+ constructor(seed?: bigint | null);
86
+ /**
87
+ * Resets the hasher with optional new seed
88
+ */
89
+ reset(): void;
90
+ /**
91
+ * Updates the hash with new data
92
+ */
93
+ update(data: Uint8Array): void;
94
+ }
95
+
96
+ export class QualityHasher {
97
+ free(): void;
98
+ [Symbol.dispose](): void;
99
+ /**
100
+ * Finalizes the hash and returns the result
101
+ */
102
+ digest(): bigint;
103
+ constructor(seed?: bigint | null);
104
+ /**
105
+ * Resets the hasher
106
+ */
107
+ reset(): void;
108
+ /**
109
+ * Updates the hash with new data
110
+ */
111
+ update(data: Uint8Array): void;
112
+ update_i128(data: bigint): void;
113
+ update_i16(data: number): void;
114
+ update_i32(data: number): void;
115
+ update_i64(data: bigint): void;
116
+ update_i8(data: number): void;
117
+ update_u128(data: bigint): void;
118
+ update_u16(data: number): void;
119
+ update_u32(data: number): void;
120
+ update_u64(data: bigint): void;
121
+ update_u8(data: number): void;
122
+ }
123
+
124
+ /**
125
+ * RapidHash V3 - (64-bit) hash file
126
+ *
127
+ * # Arguments
128
+ *
129
+ * * `input` - Input data to hash
130
+ * * `seed` - Seed value for hash (default: 0)
131
+ */
132
+ export function hash_file_v3(input: Uint8Array, seed?: bigint | null): bigint;
133
+
134
+ /**
135
+ * Computes RapidHash V1 (64-bit) hash
136
+ *
137
+ * # Arguments
138
+ *
139
+ * * `input` - Input data to hash
140
+ * * `seed` - Seed value for hash (default: 0)
141
+ */
142
+ export function hash_v1(input: Uint8Array, seed?: bigint | null): bigint;
186
143
 
144
+ /**
145
+ * Computes multiple RapidHash V1 (64-bit) hashes in batch
146
+ */
147
+ export function hash_v1_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
148
+
149
+ /**
150
+ * Computes RapidHash V2 (64-bit) hash
151
+ *
152
+ * # Arguments
153
+ *
154
+ * * `input` - Input data to hash
155
+ * * `seed` - Seed value for hash (default: 0)
156
+ */
157
+ export function hash_v2(input: Uint8Array, seed?: bigint | null): bigint;
158
+
159
+ /**
160
+ * Computes multiple RapidHash V2 (64-bit) hashes in batch
161
+ */
162
+ export function hash_v2_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
163
+
164
+ /**
165
+ * Computes RapidHash V3 (64-bit) hash
166
+ *
167
+ * # Arguments
168
+ *
169
+ * * `input` - Input data to hash
170
+ * * `seed` - Seed value for hash (default: 0)
171
+ */
172
+ export function hash_v3(input: Uint8Array, seed?: bigint | null): bigint;
173
+
174
+ /**
175
+ * Computes multiple RapidHash V3 (64-bit) hashes in batch
176
+ */
177
+ export function hash_v3_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
178
+
179
+ /**
180
+ * Computes RapidHash V3 (64-bit) micro hash
181
+ *
182
+ * # Arguments
183
+ *
184
+ * * `input` - Input data to hash
185
+ * * `seed` - Seed value for hash (default: 0)
186
+ */
187
+ export function hash_v3_micro(input: Uint8Array, seed?: bigint | null): bigint;
188
+
189
+ /**
190
+ * Computes RapidHash V3 (64-bit) nano hash
191
+ *
192
+ * # Arguments
193
+ *
194
+ * * `input` - Input data to hash
195
+ * * `seed` - Seed value for hash (default: 0)
196
+ */
197
+ export function hash_v3_nano(input: Uint8Array, seed?: bigint | null): bigint;
198
+
199
+ }
187
200
  declare type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
188
201
 
189
202
  declare interface InitOutput {
190
- readonly memory: WebAssembly.Memory;
191
- readonly hash_v1: (a: number, b: number, c: number, d: bigint) => bigint;
192
- readonly __wbg_portablehashv1_free: (a: number, b: number) => void;
193
- readonly portablehashv1_new: (a: number, b: bigint) => number;
194
- readonly portablehashv1_update: (a: number, b: number, c: number) => void;
195
- readonly portablehashv1_digest: (a: number) => bigint;
196
- readonly portablehashv1_reset: (a: number) => void;
197
- readonly hash_v1_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
198
- readonly hash_v2: (a: number, b: number, c: number, d: bigint) => bigint;
199
- readonly __wbg_portablehashv2_free: (a: number, b: number) => void;
200
- readonly portablehashv2_new: (a: number, b: bigint) => number;
201
- readonly portablehashv2_update: (a: number, b: number, c: number) => void;
202
- readonly portablehashv2_digest: (a: number) => bigint;
203
- readonly portablehashv2_reset: (a: number) => void;
204
- readonly hash_v2_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
205
- readonly hash_v3: (a: number, b: number, c: number, d: bigint) => bigint;
206
- readonly hash_v3_micro: (a: number, b: number, c: number, d: bigint) => bigint;
207
- readonly hash_v3_nano: (a: number, b: number, c: number, d: bigint) => bigint;
208
- readonly hash_file_v3: (a: number, b: number, c: number, d: bigint) => [bigint, number, number];
209
- readonly portablehashv3_digest: (a: number) => bigint;
210
- readonly hash_v3_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
211
- readonly __wbg_fasthasher_free: (a: number, b: number) => void;
212
- readonly fasthasher_new: (a: number, b: bigint) => number;
213
- readonly fasthasher_update: (a: number, b: number, c: number) => void;
214
- readonly fasthasher_update_i8: (a: number, b: number) => void;
215
- readonly fasthasher_update_i16: (a: number, b: number) => void;
216
- readonly fasthasher_update_i32: (a: number, b: number) => void;
217
- readonly fasthasher_update_i64: (a: number, b: bigint) => void;
218
- readonly fasthasher_update_i128: (a: number, b: bigint, c: bigint) => void;
219
- readonly fasthasher_digest: (a: number) => bigint;
220
- readonly fasthasher_reset: (a: number) => void;
221
- readonly qualityhasher_update: (a: number, b: number, c: number) => void;
222
- readonly qualityhasher_digest: (a: number) => bigint;
223
- readonly fasthasher_update_u128: (a: number, b: bigint, c: bigint) => void;
224
- readonly qualityhasher_update_u128: (a: number, b: bigint, c: bigint) => void;
225
- readonly fasthasher_update_u8: (a: number, b: number) => void;
226
- readonly fasthasher_update_u16: (a: number, b: number) => void;
227
- readonly qualityhasher_update_u8: (a: number, b: number) => void;
228
- readonly qualityhasher_update_u16: (a: number, b: number) => void;
229
- readonly qualityhasher_new: (a: number, b: bigint) => number;
230
- readonly fasthasher_update_u32: (a: number, b: number) => void;
231
- readonly fasthasher_update_u64: (a: number, b: bigint) => void;
232
- readonly qualityhasher_update_u32: (a: number, b: number) => void;
233
- readonly qualityhasher_update_u64: (a: number, b: bigint) => void;
234
- readonly __wbg_qualityhasher_free: (a: number, b: number) => void;
235
- readonly __wbg_portablehashv3_free: (a: number, b: number) => void;
236
- readonly portablehashv3_reset: (a: number) => void;
237
- readonly qualityhasher_reset: (a: number) => void;
238
- readonly qualityhasher_update_i128: (a: number, b: bigint, c: bigint) => void;
239
- readonly qualityhasher_update_i64: (a: number, b: bigint) => void;
240
- readonly qualityhasher_update_i32: (a: number, b: number) => void;
241
- readonly qualityhasher_update_i16: (a: number, b: number) => void;
242
- readonly qualityhasher_update_i8: (a: number, b: number) => void;
243
- readonly portablehashv3_update: (a: number, b: number, c: number) => void;
244
- readonly portablehashv3_new: (a: number, b: bigint) => number;
245
- readonly __wbindgen_export_0: WebAssembly.Table;
246
- readonly __wbindgen_malloc: (a: number, b: number) => number;
247
- readonly __externref_table_alloc: () => number;
248
- readonly __externref_table_dealloc: (a: number) => void;
249
- readonly __wbindgen_free: (a: number, b: number, c: number) => void;
250
- readonly __wbindgen_start: () => void;
203
+ readonly memory: WebAssembly.Memory;
204
+ readonly __wbg_fasthasher_free: (a: number, b: number) => void;
205
+ readonly __wbg_portablehashv1_free: (a: number, b: number) => void;
206
+ readonly __wbg_portablehashv2_free: (a: number, b: number) => void;
207
+ readonly fasthasher_digest: (a: number) => bigint;
208
+ readonly fasthasher_new: (a: number, b: bigint) => number;
209
+ readonly fasthasher_reset: (a: number) => void;
210
+ readonly fasthasher_update: (a: number, b: number, c: number) => void;
211
+ readonly fasthasher_update_i128: (a: number, b: bigint, c: bigint) => void;
212
+ readonly fasthasher_update_i16: (a: number, b: number) => void;
213
+ readonly fasthasher_update_i32: (a: number, b: number) => void;
214
+ readonly fasthasher_update_i64: (a: number, b: bigint) => void;
215
+ readonly fasthasher_update_i8: (a: number, b: number) => void;
216
+ readonly hash_file_v3: (a: number, b: number, c: number, d: bigint) => [bigint, number, number];
217
+ readonly hash_v1: (a: number, b: number, c: number, d: bigint) => bigint;
218
+ readonly hash_v1_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
219
+ readonly hash_v2: (a: number, b: number, c: number, d: bigint) => bigint;
220
+ readonly hash_v2_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
221
+ readonly hash_v3: (a: number, b: number, c: number, d: bigint) => bigint;
222
+ readonly hash_v3_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
223
+ readonly hash_v3_micro: (a: number, b: number, c: number, d: bigint) => bigint;
224
+ readonly hash_v3_nano: (a: number, b: number, c: number, d: bigint) => bigint;
225
+ readonly portablehashv1_digest: (a: number) => bigint;
226
+ readonly portablehashv1_new: (a: number, b: bigint) => number;
227
+ readonly portablehashv1_reset: (a: number) => void;
228
+ readonly portablehashv1_update: (a: number, b: number, c: number) => void;
229
+ readonly portablehashv2_digest: (a: number) => bigint;
230
+ readonly portablehashv2_new: (a: number, b: bigint) => number;
231
+ readonly portablehashv2_reset: (a: number) => void;
232
+ readonly portablehashv2_update: (a: number, b: number, c: number) => void;
233
+ readonly portablehashv3_digest: (a: number) => bigint;
234
+ readonly qualityhasher_digest: (a: number) => bigint;
235
+ readonly qualityhasher_update: (a: number, b: number, c: number) => void;
236
+ readonly fasthasher_update_u128: (a: number, b: bigint, c: bigint) => void;
237
+ readonly qualityhasher_update_u128: (a: number, b: bigint, c: bigint) => void;
238
+ readonly fasthasher_update_u16: (a: number, b: number) => void;
239
+ readonly fasthasher_update_u8: (a: number, b: number) => void;
240
+ readonly qualityhasher_update_u16: (a: number, b: number) => void;
241
+ readonly qualityhasher_update_u8: (a: number, b: number) => void;
242
+ readonly qualityhasher_new: (a: number, b: bigint) => number;
243
+ readonly fasthasher_update_u32: (a: number, b: number) => void;
244
+ readonly fasthasher_update_u64: (a: number, b: bigint) => void;
245
+ readonly qualityhasher_update_u32: (a: number, b: number) => void;
246
+ readonly qualityhasher_update_u64: (a: number, b: bigint) => void;
247
+ readonly __wbg_qualityhasher_free: (a: number, b: number) => void;
248
+ readonly __wbg_portablehashv3_free: (a: number, b: number) => void;
249
+ readonly portablehashv3_update: (a: number, b: number, c: number) => void;
250
+ readonly portablehashv3_reset: (a: number) => void;
251
+ readonly qualityhasher_update_i8: (a: number, b: number) => void;
252
+ readonly qualityhasher_update_i64: (a: number, b: bigint) => void;
253
+ readonly qualityhasher_update_i32: (a: number, b: number) => void;
254
+ readonly qualityhasher_update_i16: (a: number, b: number) => void;
255
+ readonly qualityhasher_update_i128: (a: number, b: bigint, c: bigint) => void;
256
+ readonly qualityhasher_reset: (a: number) => void;
257
+ readonly portablehashv3_new: (a: number, b: bigint) => number;
258
+ readonly __wbindgen_externrefs: WebAssembly.Table;
259
+ readonly __wbindgen_malloc: (a: number, b: number) => number;
260
+ readonly __externref_table_dealloc: (a: number) => void;
261
+ readonly __externref_table_alloc: () => number;
262
+ readonly __wbindgen_free: (a: number, b: number, c: number) => void;
263
+ readonly __wbindgen_start: () => void;
251
264
  }
252
265
 
253
266
  /**
254
- * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
255
- * for everything else, calls `WebAssembly.instantiate` directly.
256
- *
257
- * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
258
- *
259
- * @returns {Promise<InitOutput>}
260
- */
267
+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
268
+ * for everything else, calls `WebAssembly.instantiate` directly.
269
+ *
270
+ * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
271
+ *
272
+ * @returns {Promise<InitOutput>}
273
+ */
261
274
  declare function wasm_bindgen (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;