@xmtp/wasm-bindings 1.3.4 → 1.4.0-dev.7f5d8e0

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>;
5
4
  export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
6
5
  export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
7
6
  export function encodeReaction(reaction: Reaction): Uint8Array;
8
7
  export function decodeReaction(bytes: Uint8Array): Reaction;
8
+ export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
9
9
  export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
10
10
  export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
11
11
  export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
12
- 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>;
13
- export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
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
  */
@@ -111,6 +111,8 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
111
111
  * *This API requires the following crate features to be activated: `ReadableStreamType`*
112
112
  */
113
113
  type ReadableStreamType = "bytes";
114
+ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
115
+
114
116
  export interface Identifier {
115
117
  identifier: string;
116
118
  identifierKind: IdentifierKind;
@@ -118,8 +120,6 @@ export interface Identifier {
118
120
 
119
121
  export type IdentifierKind = "Ethereum" | "Passkey";
120
122
 
121
- export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
122
-
123
123
  export class ApiStats {
124
124
  private constructor();
125
125
  free(): void;
@@ -135,18 +135,6 @@ export class ApiStats {
135
135
  export class Client {
136
136
  private constructor();
137
137
  free(): void;
138
- setConsentStates(records: Consent[]): Promise<void>;
139
- getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
140
- createInboxSignatureRequest(): SignatureRequestHandle | undefined;
141
- addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
142
- revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
143
- revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
144
- revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
145
- changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
146
- applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
147
- registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
148
- signWithInstallationKey(signature_text: string): Uint8Array;
149
- verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
150
138
  /**
151
139
  * Output booleans should be zipped with the index of input identifiers
152
140
  */
@@ -161,6 +149,8 @@ export class Client {
161
149
  apiAggregateStatistics(): string;
162
150
  clearAllStatistics(): void;
163
151
  uploadDebugArchive(server_url: string): Promise<string>;
152
+ setConsentStates(records: Consent[]): Promise<void>;
153
+ getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
164
154
  /**
165
155
  *
166
156
  * * Get the client's inbox state.
@@ -179,11 +169,23 @@ export class Client {
179
169
  *
180
170
  */
181
171
  getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
172
+ createInboxSignatureRequest(): SignatureRequestHandle | undefined;
173
+ addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
174
+ revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
175
+ revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
176
+ revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
177
+ changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
178
+ applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
179
+ registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
180
+ signWithInstallationKey(signature_text: string): Uint8Array;
181
+ verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
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,8 +617,34 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
615
617
 
616
618
  export interface InitOutput {
617
619
  readonly memory: WebAssembly.Memory;
618
- readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
619
- readonly generateInboxId: (a: any) => [number, number, number, number];
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;
620
648
  readonly __wbg_consent_free: (a: number, b: number) => void;
621
649
  readonly __wbg_get_consent_entityType: (a: number) => number;
622
650
  readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -719,8 +747,6 @@ export interface InitOutput {
719
747
  readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
720
748
  readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
721
749
  readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
722
- readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
723
- readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
724
750
  readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
725
751
  readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
726
752
  readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -728,7 +754,6 @@ export interface InitOutput {
728
754
  readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
729
755
  readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
730
756
  readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
731
- readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
732
757
  readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
733
758
  readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
734
759
  readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -804,6 +829,28 @@ export interface InitOutput {
804
829
  readonly __wbg_get_encodedcontent_content: (a: number) => any;
805
830
  readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
806
831
  readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
832
+ readonly __wbg_installation_free: (a: number, b: number) => void;
833
+ readonly __wbg_get_installation_bytes: (a: number) => any;
834
+ readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
835
+ readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
836
+ readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
837
+ readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
838
+ readonly __wbg_inboxstate_free: (a: number, b: number) => void;
839
+ readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
840
+ readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
841
+ readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
842
+ readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
843
+ readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
844
+ readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
845
+ readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
846
+ readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
847
+ readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
848
+ readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
849
+ readonly __wbg_lifetime_free: (a: number, b: number) => void;
850
+ readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
851
+ readonly client_inboxState: (a: number, b: number) => any;
852
+ readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
853
+ readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
807
854
  readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
808
855
  readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
809
856
  readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -870,6 +917,7 @@ export interface InitOutput {
870
917
  readonly streamcloser_endAndWait: (a: number) => any;
871
918
  readonly streamcloser_waitForReady: (a: number) => any;
872
919
  readonly streamcloser_isClosed: (a: number) => number;
920
+ readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
873
921
  readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
874
922
  readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
875
923
  readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
@@ -879,98 +927,38 @@ export interface InitOutput {
879
927
  readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
880
928
  readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
881
929
  readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
930
+ readonly __wbg_get_installation_id: (a: number) => [number, number];
931
+ readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
882
932
  readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
883
933
  readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
884
934
  readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
885
935
  readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
886
936
  readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
937
+ readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
938
+ readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
887
939
  readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
888
940
  readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
889
941
  readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
942
+ readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
943
+ readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
890
944
  readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
891
945
  readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
892
946
  readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
893
947
  readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
948
+ readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
949
+ readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
894
950
  readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
895
951
  readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
896
952
  readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
897
953
  readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
954
+ readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
898
955
  readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
899
956
  readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
900
957
  readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
901
958
  readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
902
- readonly __wbg_client_free: (a: number, b: number) => void;
903
- readonly __wbg_logoptions_free: (a: number, b: number) => void;
904
- readonly __wbg_get_logoptions_structured: (a: number) => number;
905
- readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
906
- readonly __wbg_get_logoptions_performance: (a: number) => number;
907
- readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
908
- readonly __wbg_get_logoptions_level: (a: number) => number;
909
- readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
910
- readonly logoptions_new: (a: number, b: number, c: number) => number;
911
- 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;
912
- readonly client_accountIdentifier: (a: number) => any;
913
- readonly client_inboxId: (a: number) => [number, number];
914
- readonly client_isRegistered: (a: number) => number;
915
- readonly client_installationId: (a: number) => [number, number];
916
- readonly client_installationIdBytes: (a: number) => any;
917
- readonly client_canMessage: (a: number, b: number, c: number) => any;
918
- readonly client_sendSyncRequest: (a: number) => any;
919
- readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
920
- readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
921
- readonly client_conversations: (a: number) => number;
922
- readonly client_syncPreferences: (a: number) => any;
923
- readonly client_apiStatistics: (a: number) => number;
924
- readonly client_apiIdentityStatistics: (a: number) => number;
925
- readonly client_apiAggregateStatistics: (a: number) => [number, number];
926
- readonly client_clearAllStatistics: (a: number) => void;
927
- readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
928
- readonly __wbg_apistats_free: (a: number, b: number) => void;
929
- readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
930
- readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
931
- readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
932
- readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
933
- readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
934
- readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
935
- readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
936
- readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
937
- readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
938
- readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
939
- readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
940
- readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
941
- readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
942
- readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
943
- readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
944
- readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
945
- readonly __wbg_identitystats_free: (a: number, b: number) => void;
946
- readonly __wbg_installation_free: (a: number, b: number) => void;
947
- readonly __wbg_get_installation_bytes: (a: number) => any;
948
- readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
949
- readonly __wbg_get_installation_id: (a: number) => [number, number];
950
- readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
951
- readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
952
- readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
953
- readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
954
- readonly __wbg_inboxstate_free: (a: number, b: number) => void;
955
- readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
956
- readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
957
- readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
958
- readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
959
- readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
960
- readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
961
- readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
962
- readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
963
- readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
964
- readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
965
959
  readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
966
960
  readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
967
- readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
968
- readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
969
- readonly __wbg_lifetime_free: (a: number, b: number) => void;
970
- readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
971
- readonly client_inboxState: (a: number, b: number) => any;
972
- readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
973
- readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
961
+ readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
974
962
  readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
975
963
  readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
976
964
  readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -992,18 +980,34 @@ export interface InitOutput {
992
980
  readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
993
981
  readonly grouppermissions_policyType: (a: number) => [number, number, number];
994
982
  readonly grouppermissions_policySet: (a: number) => [number, number, number];
983
+ readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
984
+ readonly generateInboxId: (a: any) => [number, number, number, number];
985
+ readonly __wbg_apistats_free: (a: number, b: number) => void;
986
+ readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
987
+ readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
988
+ readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
989
+ readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
990
+ readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
991
+ readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
992
+ readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
993
+ readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
994
+ readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
995
+ readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
996
+ readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
997
+ readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
998
+ readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
999
+ readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
1000
+ readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
1001
+ readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
1002
+ readonly __wbg_identitystats_free: (a: number, b: number) => void;
995
1003
  readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
996
1004
  readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
997
1005
  readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
998
1006
  readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
999
- readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
1000
- readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
1001
1007
  readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
1002
1008
  readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
1003
1009
  readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
1004
1010
  readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
1005
- readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
1006
- readonly __wbg_get_lifetime_not_after: (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 closure5049_externref_shim: (a: number, b: number, c: any) => void;
1052
- readonly closure5992_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 closure4978_externref_shim: (a: number, b: number, c: any) => void;
1056
+ readonly closure5922_externref_shim: (a: number, b: number, c: any, d: any) => void;
1053
1057
  readonly __wbindgen_start: () => void;
1054
1058
  }
1055
1059