@xmtp/wasm-bindings 1.3.3 → 1.3.5

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.
@@ -1,16 +1,16 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
4
- export function generateInboxId(accountIdentifier: Identifier): string;
3
+ export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
4
+ export function encodeReaction(reaction: Reaction): Uint8Array;
5
+ export function decodeReaction(bytes: Uint8Array): Reaction;
5
6
  export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
6
7
  export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
7
8
  export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
8
9
  export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
9
- export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null): Promise<Client>;
10
10
  export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
11
11
  export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
12
- export function encodeReaction(reaction: Reaction): Uint8Array;
13
- export function decodeReaction(bytes: Uint8Array): Reaction;
12
+ export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
13
+ export function generateInboxId(accountIdentifier: Identifier): string;
14
14
  /**
15
15
  * Entry point invoked by JavaScript in a worker.
16
16
  */
@@ -135,6 +135,20 @@ export class ApiStats {
135
135
  export class Client {
136
136
  private constructor();
137
137
  free(): void;
138
+ /**
139
+ * Output booleans should be zipped with the index of input identifiers
140
+ */
141
+ canMessage(account_identifiers: Identifier[]): Promise<any>;
142
+ sendSyncRequest(): Promise<void>;
143
+ findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
144
+ inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
145
+ conversations(): Conversations;
146
+ syncPreferences(): Promise<number>;
147
+ apiStatistics(): ApiStats;
148
+ apiIdentityStatistics(): IdentityStats;
149
+ apiAggregateStatistics(): string;
150
+ clearAllStatistics(): void;
151
+ uploadDebugArchive(server_url: string): Promise<string>;
138
152
  setConsentStates(records: Consent[]): Promise<void>;
139
153
  getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
140
154
  /**
@@ -165,25 +179,13 @@ export class Client {
165
179
  registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
166
180
  signWithInstallationKey(signature_text: string): Uint8Array;
167
181
  verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
168
- /**
169
- * Output booleans should be zipped with the index of input identifiers
170
- */
171
- canMessage(account_identifiers: Identifier[]): Promise<any>;
172
- sendSyncRequest(): Promise<void>;
173
- findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
174
- inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
175
- conversations(): Conversations;
176
- syncPreferences(): Promise<number>;
177
- apiStatistics(): ApiStats;
178
- apiIdentityStatistics(): IdentityStats;
179
- apiAggregateStatistics(): string;
180
- clearAllStatistics(): void;
181
- uploadDebugArchive(server_url: string): Promise<string>;
182
182
  readonly accountIdentifier: Identifier;
183
183
  readonly inboxId: string;
184
184
  readonly isRegistered: boolean;
185
185
  readonly installationId: string;
186
186
  readonly installationIdBytes: Uint8Array;
187
+ readonly appVersion: string;
188
+ readonly libxmtpVersion: string;
187
189
  }
188
190
  export class Consent {
189
191
  free(): void;
@@ -615,6 +617,34 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
615
617
 
616
618
  export interface InitOutput {
617
619
  readonly memory: WebAssembly.Memory;
620
+ readonly __wbg_client_free: (a: number, b: number) => void;
621
+ readonly __wbg_logoptions_free: (a: number, b: number) => void;
622
+ readonly __wbg_get_logoptions_structured: (a: number) => number;
623
+ readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
624
+ readonly __wbg_get_logoptions_performance: (a: number) => number;
625
+ readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
626
+ readonly __wbg_get_logoptions_level: (a: number) => number;
627
+ readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
628
+ readonly logoptions_new: (a: number, b: number, c: number) => number;
629
+ readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => any;
630
+ readonly client_accountIdentifier: (a: number) => any;
631
+ readonly client_inboxId: (a: number) => [number, number];
632
+ readonly client_isRegistered: (a: number) => number;
633
+ readonly client_installationId: (a: number) => [number, number];
634
+ readonly client_installationIdBytes: (a: number) => any;
635
+ readonly client_appVersion: (a: number) => [number, number];
636
+ readonly client_libxmtpVersion: (a: number) => [number, number];
637
+ readonly client_canMessage: (a: number, b: number, c: number) => any;
638
+ readonly client_sendSyncRequest: (a: number) => any;
639
+ readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
640
+ readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
641
+ readonly client_conversations: (a: number) => number;
642
+ readonly client_syncPreferences: (a: number) => any;
643
+ readonly client_apiStatistics: (a: number) => number;
644
+ readonly client_apiIdentityStatistics: (a: number) => number;
645
+ readonly client_apiAggregateStatistics: (a: number) => [number, number];
646
+ readonly client_clearAllStatistics: (a: number) => void;
647
+ readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
618
648
  readonly __wbg_consent_free: (a: number, b: number) => void;
619
649
  readonly __wbg_get_consent_entityType: (a: number) => number;
620
650
  readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -627,6 +657,16 @@ export interface InitOutput {
627
657
  readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
628
658
  readonly conversation_consentState: (a: number) => [number, number, number];
629
659
  readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
660
+ readonly __wbg_reaction_free: (a: number, b: number) => void;
661
+ readonly __wbg_get_reaction_action: (a: number) => number;
662
+ readonly __wbg_set_reaction_action: (a: number, b: number) => void;
663
+ readonly __wbg_get_reaction_content: (a: number) => [number, number];
664
+ readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
665
+ readonly __wbg_get_reaction_schema: (a: number) => number;
666
+ readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
667
+ readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
668
+ readonly encodeReaction: (a: number) => [number, number, number];
669
+ readonly decodeReaction: (a: any) => [number, number, number];
630
670
  readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
631
671
  readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
632
672
  readonly groupmetadata_conversationType: (a: number) => [number, number];
@@ -697,16 +737,12 @@ export interface InitOutput {
697
737
  readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
698
738
  readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
699
739
  readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
700
- readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
701
- readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
702
740
  readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
703
741
  readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
704
742
  readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
705
743
  readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
706
744
  readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
707
745
  readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
708
- readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
709
- readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
710
746
  readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
711
747
  readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
712
748
  readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
@@ -770,8 +806,24 @@ export interface InitOutput {
770
806
  readonly __wbg_get_encodedcontent_content: (a: number) => any;
771
807
  readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
772
808
  readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
773
- readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
774
- readonly generateInboxId: (a: any) => [number, number, number, number];
809
+ readonly __wbg_apistats_free: (a: number, b: number) => void;
810
+ readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
811
+ readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
812
+ readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
813
+ readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
814
+ readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
815
+ readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
816
+ readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
817
+ readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
818
+ readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
819
+ readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
820
+ readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
821
+ readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
822
+ readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
823
+ readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
824
+ readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
825
+ readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
826
+ readonly __wbg_identitystats_free: (a: number, b: number) => void;
775
827
  readonly __wbg_installation_free: (a: number, b: number) => void;
776
828
  readonly __wbg_get_installation_bytes: (a: number) => any;
777
829
  readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
@@ -864,23 +916,39 @@ export interface InitOutput {
864
916
  readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
865
917
  readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
866
918
  readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
919
+ readonly __wbg_get_reaction_reference: (a: number) => [number, number];
867
920
  readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
868
921
  readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
922
+ readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
869
923
  readonly __wbg_get_installation_id: (a: number) => [number, number];
870
924
  readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
925
+ readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
871
926
  readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
872
927
  readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
928
+ readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
873
929
  readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
874
930
  readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
875
931
  readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
876
932
  readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
877
933
  readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
934
+ readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
935
+ readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
936
+ readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
937
+ readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
938
+ readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
939
+ readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
878
940
  readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
879
941
  readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
880
942
  readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
881
943
  readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
882
944
  readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
883
945
  readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
946
+ readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
947
+ readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
948
+ readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
949
+ readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
950
+ readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
951
+ readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
884
952
  readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
885
953
  readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
886
954
  readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
@@ -891,34 +959,8 @@ export interface InitOutput {
891
959
  readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
892
960
  readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
893
961
  readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
894
- readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
895
962
  readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
896
- readonly __wbg_client_free: (a: number, b: number) => void;
897
- readonly __wbg_logoptions_free: (a: number, b: number) => void;
898
- readonly __wbg_get_logoptions_structured: (a: number) => number;
899
- readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
900
- readonly __wbg_get_logoptions_performance: (a: number) => number;
901
- readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
902
- readonly __wbg_get_logoptions_level: (a: number) => number;
903
- readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
904
- readonly logoptions_new: (a: number, b: number, c: number) => number;
905
- readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => any;
906
- readonly client_accountIdentifier: (a: number) => any;
907
- readonly client_inboxId: (a: number) => [number, number];
908
- readonly client_isRegistered: (a: number) => number;
909
- readonly client_installationId: (a: number) => [number, number];
910
- readonly client_installationIdBytes: (a: number) => any;
911
- readonly client_canMessage: (a: number, b: number, c: number) => any;
912
- readonly client_sendSyncRequest: (a: number) => any;
913
- readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
914
- readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
915
- readonly client_conversations: (a: number) => number;
916
- readonly client_syncPreferences: (a: number) => any;
917
- readonly client_apiStatistics: (a: number) => number;
918
- readonly client_apiIdentityStatistics: (a: number) => number;
919
- readonly client_apiAggregateStatistics: (a: number) => [number, number];
920
- readonly client_clearAllStatistics: (a: number) => void;
921
- readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
963
+ readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
922
964
  readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
923
965
  readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
924
966
  readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
@@ -943,38 +985,8 @@ export interface InitOutput {
943
985
  readonly multiremoteattachment_new: (a: number, b: number) => number;
944
986
  readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
945
987
  readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
946
- readonly __wbg_reaction_free: (a: number, b: number) => void;
947
- readonly __wbg_get_reaction_reference: (a: number) => [number, number];
948
- readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
949
- readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
950
- readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
951
- readonly __wbg_get_reaction_action: (a: number) => number;
952
- readonly __wbg_set_reaction_action: (a: number, b: number) => void;
953
- readonly __wbg_get_reaction_content: (a: number) => [number, number];
954
- readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
955
- readonly __wbg_get_reaction_schema: (a: number) => number;
956
- readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
957
- readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
958
- readonly encodeReaction: (a: number) => [number, number, number];
959
- readonly decodeReaction: (a: any) => [number, number, number];
960
- readonly __wbg_apistats_free: (a: number, b: number) => void;
961
- readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
962
- readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
963
- readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
964
- readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
965
- readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
966
- readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
967
- readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
968
- readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
969
- readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
970
- readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
971
- readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
972
- readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
973
- readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
974
- readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
975
- readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
976
- readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
977
- readonly __wbg_identitystats_free: (a: number, b: number) => void;
988
+ readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
989
+ readonly generateInboxId: (a: any) => [number, number, number, number];
978
990
  readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
979
991
  readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
980
992
  readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -996,14 +1008,6 @@ export interface InitOutput {
996
1008
  readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
997
1009
  readonly grouppermissions_policyType: (a: number) => [number, number, number];
998
1010
  readonly grouppermissions_policySet: (a: number) => [number, number, number];
999
- readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
1000
- readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
1001
- readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
1002
- readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
1003
- readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
1004
- readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
1005
- readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
1006
- readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
1007
1011
  readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
1008
1012
  readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
1009
1013
  readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -1046,10 +1050,10 @@ export interface InitOutput {
1046
1050
  readonly __externref_drop_slice: (a: number, b: number) => void;
1047
1051
  readonly __wbindgen_export_7: WebAssembly.Table;
1048
1052
  readonly __externref_table_dealloc: (a: number) => void;
1049
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42782d8d6f6b94ef: (a: number, b: number) => void;
1050
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h912129f7a2cf8b7b: (a: number, b: number) => void;
1051
- readonly closure5046_externref_shim: (a: number, b: number, c: any) => void;
1052
- readonly closure5989_externref_shim: (a: number, b: number, c: any, d: any) => void;
1053
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h469745bf9f974f96: (a: number, b: number) => void;
1054
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc5db0b12f1fa1c9f: (a: number, b: number) => void;
1055
+ readonly closure4980_externref_shim: (a: number, b: number, c: any) => void;
1056
+ readonly closure5924_externref_shim: (a: number, b: number, c: any, d: any) => void;
1053
1057
  readonly __wbindgen_start: () => void;
1054
1058
  }
1055
1059