@xmtp/wasm-bindings 1.3.3 → 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;
5
- export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
6
- export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
7
- export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
8
- 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>;
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>;
10
4
  export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
11
5
  export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
12
6
  export function encodeReaction(reaction: Reaction): Uint8Array;
13
7
  export function decodeReaction(bytes: Uint8Array): Reaction;
8
+ export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
9
+ export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
10
+ export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
11
+ export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
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,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,35 @@ 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_remoteattachmentinfo_free: (a: number, b: number) => void;
661
+ readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
662
+ readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
663
+ readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
664
+ readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
665
+ readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
666
+ readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
667
+ readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
668
+ readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
669
+ readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
670
+ readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
671
+ readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
672
+ readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
673
+ readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
674
+ readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
675
+ readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
676
+ readonly multiremoteattachment_new: (a: number, b: number) => number;
677
+ readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
678
+ readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
679
+ readonly __wbg_reaction_free: (a: number, b: number) => void;
680
+ readonly __wbg_get_reaction_action: (a: number) => number;
681
+ readonly __wbg_set_reaction_action: (a: number, b: number) => void;
682
+ readonly __wbg_get_reaction_content: (a: number) => [number, number];
683
+ readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
684
+ readonly __wbg_get_reaction_schema: (a: number) => number;
685
+ readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
686
+ readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
687
+ readonly encodeReaction: (a: number) => [number, number, number];
688
+ readonly decodeReaction: (a: any) => [number, number, number];
630
689
  readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
631
690
  readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
632
691
  readonly groupmetadata_conversationType: (a: number) => [number, number];
@@ -770,8 +829,6 @@ export interface InitOutput {
770
829
  readonly __wbg_get_encodedcontent_content: (a: number) => any;
771
830
  readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
772
831
  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];
775
832
  readonly __wbg_installation_free: (a: number, b: number) => void;
776
833
  readonly __wbg_get_installation_bytes: (a: number) => any;
777
834
  readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
@@ -864,12 +921,19 @@ export interface InitOutput {
864
921
  readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
865
922
  readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
866
923
  readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
924
+ readonly __wbg_get_reaction_reference: (a: number) => [number, number];
867
925
  readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
926
+ readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
927
+ readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
868
928
  readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
929
+ readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
869
930
  readonly __wbg_get_installation_id: (a: number) => [number, number];
870
931
  readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
932
+ readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
871
933
  readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
934
+ readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
872
935
  readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
936
+ readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
873
937
  readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
874
938
  readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
875
939
  readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
@@ -885,6 +949,8 @@ export interface InitOutput {
885
949
  readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
886
950
  readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
887
951
  readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
952
+ readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
953
+ readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
888
954
  readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
889
955
  readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
890
956
  readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
@@ -893,88 +959,6 @@ export interface InitOutput {
893
959
  readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
894
960
  readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
895
961
  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;
922
- readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
923
- readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
924
- readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
925
- readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
926
- readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
927
- readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
928
- readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
929
- readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
930
- readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
931
- readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
932
- readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
933
- readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
934
- readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
935
- readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
936
- readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
937
- readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
938
- readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
939
- readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
940
- readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
941
- readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
942
- readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
943
- readonly multiremoteattachment_new: (a: number, b: number) => number;
944
- readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
945
- 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;
978
962
  readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
979
963
  readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
980
964
  readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -996,6 +980,26 @@ export interface InitOutput {
996
980
  readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
997
981
  readonly grouppermissions_policyType: (a: number) => [number, number, number];
998
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;
999
1003
  readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
1000
1004
  readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
1001
1005
  readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
@@ -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 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