@signalapp/libsignal-client 0.89.1 → 0.89.2
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.
- package/dist/MessageBackup.js +3 -2
- package/dist/Mp4Sanitizer.js +2 -1
- package/dist/Native.d.ts +13 -6
- package/dist/Native.js +2 -2
- package/dist/acknowledgments.md +5 -5
- package/dist/io.d.ts +2 -3
- package/dist/io.js +14 -6
- package/dist/net/Chat.d.ts +2 -2
- package/dist/net/chat/AuthMessagesService.d.ts +19 -0
- package/dist/net/chat/AuthMessagesService.js +24 -0
- package/dist/net.d.ts +1 -0
- package/dist/net.js +1 -0
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/darwin-x64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/linux-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/linux-x64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/win32-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/win32-x64/@signalapp+libsignal-client.node +0 -0
package/dist/MessageBackup.js
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
import * as Native from './Native.js';
|
|
11
11
|
import { ErrorCode, LibSignalErrorBase } from './Errors.js';
|
|
12
12
|
import { BackupKey } from './AccountKeys.js';
|
|
13
|
+
import { _bridgeInputStream } from './io.js';
|
|
13
14
|
/**
|
|
14
15
|
* Result of validating a message backup bundle.
|
|
15
16
|
*/
|
|
@@ -101,7 +102,7 @@ export async function validate(backupKey, purpose, inputFactory, length) {
|
|
|
101
102
|
try {
|
|
102
103
|
firstStream = inputFactory();
|
|
103
104
|
secondStream = inputFactory();
|
|
104
|
-
return new ValidationOutcome(await Native.MessageBackupValidator_Validate(backupKey, firstStream, secondStream, length, purpose));
|
|
105
|
+
return new ValidationOutcome(await Native.MessageBackupValidator_Validate(backupKey, _bridgeInputStream(firstStream), _bridgeInputStream(secondStream), length, purpose));
|
|
105
106
|
}
|
|
106
107
|
finally {
|
|
107
108
|
await firstStream?.close();
|
|
@@ -191,7 +192,7 @@ export class ComparableBackup {
|
|
|
191
192
|
* @throws BackupValidationError If an IO error occurs or the input is invalid.
|
|
192
193
|
*/
|
|
193
194
|
static async fromUnencrypted(purpose, input, length) {
|
|
194
|
-
const handle = await Native.ComparableBackup_ReadUnencrypted(input, length, purpose);
|
|
195
|
+
const handle = await Native.ComparableBackup_ReadUnencrypted(_bridgeInputStream(input), length, purpose);
|
|
195
196
|
return new ComparableBackup(handle);
|
|
196
197
|
}
|
|
197
198
|
/**
|
package/dist/Mp4Sanitizer.js
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
* @module Mp4Sanitizer
|
|
31
31
|
*/
|
|
32
32
|
import * as Native from './Native.js';
|
|
33
|
+
import { _bridgeInputStream } from './io.js';
|
|
33
34
|
export class SanitizedMetadata {
|
|
34
35
|
_nativeHandle;
|
|
35
36
|
constructor(handle) {
|
|
@@ -75,7 +76,7 @@ export class SanitizedMetadata {
|
|
|
75
76
|
* @throws {UnsupportedMediaInputError} If the input could not be parsed because it's unsupported in some way.
|
|
76
77
|
*/
|
|
77
78
|
export async function sanitize(input, len) {
|
|
78
|
-
const sanitizedMetadataNativeHandle = await Native.Mp4Sanitizer_Sanitize(input, len);
|
|
79
|
+
const sanitizedMetadataNativeHandle = await Native.Mp4Sanitizer_Sanitize(_bridgeInputStream(input), len);
|
|
79
80
|
return SanitizedMetadata._fromNativeHandle(sanitizedMetadataNativeHandle);
|
|
80
81
|
}
|
|
81
82
|
//# sourceMappingURL=Mp4Sanitizer.js.map
|
package/dist/Native.d.ts
CHANGED
|
@@ -46,10 +46,7 @@ export type SignedPreKeyStore = BridgeSignedPreKeyStore;
|
|
|
46
46
|
export type KyberPreKeyStore = BridgeKyberPreKeyStore;
|
|
47
47
|
export type SessionStore = BridgeSessionStore;
|
|
48
48
|
export type SenderKeyStore = BridgeSenderKeyStore;
|
|
49
|
-
export type InputStream =
|
|
50
|
-
_read: (amount: number) => Promise<Uint8Array<ArrayBuffer>>;
|
|
51
|
-
_skip: (amount: number) => Promise<void>;
|
|
52
|
-
};
|
|
49
|
+
export type InputStream = BridgeInputStream;
|
|
53
50
|
export type SyncInputStream = Uint8Array<ArrayBuffer>;
|
|
54
51
|
export type ChallengeOption = 'pushChallenge' | 'captcha';
|
|
55
52
|
export type RegistrationPushTokenType = 'apn' | 'fcm';
|
|
@@ -86,6 +83,12 @@ export type PreKeysResponse = {
|
|
|
86
83
|
identityKey: PublicKey;
|
|
87
84
|
preKeyBundles: PreKeyBundle[];
|
|
88
85
|
};
|
|
86
|
+
export type UploadForm = {
|
|
87
|
+
cdn: number;
|
|
88
|
+
key: string;
|
|
89
|
+
headers: [string, string][];
|
|
90
|
+
signedUploadUrl: string;
|
|
91
|
+
};
|
|
89
92
|
export type AccountEntropyPool = string;
|
|
90
93
|
export type CancellablePromise<T> = Promise<T> & {
|
|
91
94
|
_cancellationToken: bigint;
|
|
@@ -93,8 +96,8 @@ export type CancellablePromise<T> = Promise<T> & {
|
|
|
93
96
|
export type Serialized<T> = Uint8Array<ArrayBuffer>;
|
|
94
97
|
type ConnectChatBridge = Wrapper<ConnectionManager>;
|
|
95
98
|
type TestingFutureCancellationGuard = Wrapper<TestingFutureCancellationCounter>;
|
|
96
|
-
declare const registerErrors: (errorsModule: Record<string, unknown>) => void, initLogger: (maxLevel: LogLevel, callback: (level: LogLevel, target: string, file: string | null, line: number | null, message: string) => void) => void, SealedSenderMultiRecipientMessage_Parse: (buffer: Uint8Array<ArrayBuffer>) => SealedSenderMultiRecipientMessage, MinidumpToJSONString: (buffer: Uint8Array<ArrayBuffer>) => string, Aes256GcmSiv_New: (key: Uint8Array<ArrayBuffer>) => Aes256GcmSiv, Aes256GcmSiv_Encrypt: (aesGcmSivObj: Wrapper<Aes256GcmSiv>, ptext: Uint8Array<ArrayBuffer>, nonce: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, Aes256GcmSiv_Decrypt: (aesGcmSiv: Wrapper<Aes256GcmSiv>, ctext: Uint8Array<ArrayBuffer>, nonce: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, PublicKey_HpkeSeal: (pk: Wrapper<PublicKey>, plaintext: Uint8Array<ArrayBuffer>, info: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, PrivateKey_HpkeOpen: (sk: Wrapper<PrivateKey>, ciphertext: Uint8Array<ArrayBuffer>, info: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, HKDF_DeriveSecrets: (outputLength: number, ikm: Uint8Array<ArrayBuffer>, label: Uint8Array<ArrayBuffer> | null, salt: Uint8Array<ArrayBuffer> | null) => Uint8Array<ArrayBuffer>, ServiceId_ServiceIdBinary: (value: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServiceId_ServiceIdString: (value: Uint8Array<ArrayBuffer>) => string, ServiceId_ServiceIdLog: (value: Uint8Array<ArrayBuffer>) => string, ServiceId_ParseFromServiceIdBinary: (input: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServiceId_ParseFromServiceIdString: (input: string) => Uint8Array<ArrayBuffer>, ProtocolAddress_New: (name: string, deviceId: number) => ProtocolAddress, PublicKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => PublicKey, PublicKey_Serialize: (obj: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, PublicKey_GetPublicKeyBytes: (obj: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, ProtocolAddress_DeviceId: (obj: Wrapper<ProtocolAddress>) => number, ProtocolAddress_Name: (obj: Wrapper<ProtocolAddress>) => string, PublicKey_Equals: (lhs: Wrapper<PublicKey>, rhs: Wrapper<PublicKey>) => boolean, PublicKey_Verify: (key: Wrapper<PublicKey>, message: Uint8Array<ArrayBuffer>, signature: Uint8Array<ArrayBuffer>) => boolean, PrivateKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => PrivateKey, PrivateKey_Serialize: (obj: Wrapper<PrivateKey>) => Uint8Array<ArrayBuffer>, PrivateKey_Generate: () => PrivateKey, PrivateKey_GetPublicKey: (k: Wrapper<PrivateKey>) => PublicKey, PrivateKey_Sign: (key: Wrapper<PrivateKey>, message: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, PrivateKey_Agree: (privateKey: Wrapper<PrivateKey>, publicKey: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, KyberPublicKey_Serialize: (obj: Wrapper<KyberPublicKey>) => Uint8Array<ArrayBuffer>, KyberPublicKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => KyberPublicKey, KyberSecretKey_Serialize: (obj: Wrapper<KyberSecretKey>) => Uint8Array<ArrayBuffer>, KyberSecretKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => KyberSecretKey, KyberPublicKey_Equals: (lhs: Wrapper<KyberPublicKey>, rhs: Wrapper<KyberPublicKey>) => boolean, KyberKeyPair_Generate: () => KyberKeyPair, KyberKeyPair_GetPublicKey: (keyPair: Wrapper<KyberKeyPair>) => KyberPublicKey, KyberKeyPair_GetSecretKey: (keyPair: Wrapper<KyberKeyPair>) => KyberSecretKey, IdentityKeyPair_Serialize: (publicKey: Wrapper<PublicKey>, privateKey: Wrapper<PrivateKey>) => Uint8Array<ArrayBuffer>, IdentityKeyPair_Deserialize: (input: Uint8Array<ArrayBuffer>) => [PublicKey, PrivateKey], IdentityKeyPair_SignAlternateIdentity: (publicKey: Wrapper<PublicKey>, privateKey: Wrapper<PrivateKey>, otherIdentity: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, IdentityKey_VerifyAlternateIdentity: (publicKey: Wrapper<PublicKey>, otherIdentity: Wrapper<PublicKey>, signature: Uint8Array<ArrayBuffer>) => boolean, Fingerprint_New: (iterations: number, version: number, localIdentifier: Uint8Array<ArrayBuffer>, localKey: Wrapper<PublicKey>, remoteIdentifier: Uint8Array<ArrayBuffer>, remoteKey: Wrapper<PublicKey>) => Fingerprint, Fingerprint_ScannableEncoding: (obj: Wrapper<Fingerprint>) => Uint8Array<ArrayBuffer>, Fingerprint_DisplayString: (obj: Wrapper<Fingerprint>) => string, ScannableFingerprint_Compare: (fprint1: Uint8Array<ArrayBuffer>, fprint2: Uint8Array<ArrayBuffer>) => boolean, SignalMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => SignalMessage, SignalMessage_GetBody: (obj: Wrapper<SignalMessage>) => Uint8Array<ArrayBuffer>, SignalMessage_GetSerialized: (obj: Wrapper<SignalMessage>) => Uint8Array<ArrayBuffer>, SignalMessage_GetCounter: (obj: Wrapper<SignalMessage>) => number, SignalMessage_GetMessageVersion: (obj: Wrapper<SignalMessage>) => number, SignalMessage_GetPqRatchet: (msg: Wrapper<SignalMessage>) => Uint8Array<ArrayBuffer>, SignalMessage_New: (messageVersion: number, macKey: Uint8Array<ArrayBuffer>, senderRatchetKey: Wrapper<PublicKey>, counter: number, previousCounter: number, ciphertext: Uint8Array<ArrayBuffer>, senderIdentityKey: Wrapper<PublicKey>, receiverIdentityKey: Wrapper<PublicKey>, pqRatchet: Uint8Array<ArrayBuffer>) => SignalMessage, SignalMessage_VerifyMac: (msg: Wrapper<SignalMessage>, senderIdentityKey: Wrapper<PublicKey>, receiverIdentityKey: Wrapper<PublicKey>, macKey: Uint8Array<ArrayBuffer>) => boolean, PreKeySignalMessage_New: (messageVersion: number, registrationId: number, preKeyId: number | null, signedPreKeyId: number, baseKey: Wrapper<PublicKey>, identityKey: Wrapper<PublicKey>, signalMessage: Wrapper<SignalMessage>) => PreKeySignalMessage, PreKeySignalMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => PreKeySignalMessage, PreKeySignalMessage_Serialize: (obj: Wrapper<PreKeySignalMessage>) => Uint8Array<ArrayBuffer>, PreKeySignalMessage_GetRegistrationId: (obj: Wrapper<PreKeySignalMessage>) => number, PreKeySignalMessage_GetSignedPreKeyId: (obj: Wrapper<PreKeySignalMessage>) => number, PreKeySignalMessage_GetPreKeyId: (obj: Wrapper<PreKeySignalMessage>) => number | null, PreKeySignalMessage_GetVersion: (obj: Wrapper<PreKeySignalMessage>) => number, SenderKeyMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderKeyMessage, SenderKeyMessage_GetCipherText: (obj: Wrapper<SenderKeyMessage>) => Uint8Array<ArrayBuffer>, SenderKeyMessage_Serialize: (obj: Wrapper<SenderKeyMessage>) => Uint8Array<ArrayBuffer>, SenderKeyMessage_GetDistributionId: (obj: Wrapper<SenderKeyMessage>) => Uuid, SenderKeyMessage_GetChainId: (obj: Wrapper<SenderKeyMessage>) => number, SenderKeyMessage_GetIteration: (obj: Wrapper<SenderKeyMessage>) => number, SenderKeyMessage_New: (messageVersion: number, distributionId: Uuid, chainId: number, iteration: number, ciphertext: Uint8Array<ArrayBuffer>, pk: Wrapper<PrivateKey>) => SenderKeyMessage, SenderKeyMessage_VerifySignature: (skm: Wrapper<SenderKeyMessage>, pubkey: Wrapper<PublicKey>) => boolean, SenderKeyDistributionMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderKeyDistributionMessage, SenderKeyDistributionMessage_GetChainKey: (obj: Wrapper<SenderKeyDistributionMessage>) => Uint8Array<ArrayBuffer>, SenderKeyDistributionMessage_Serialize: (obj: Wrapper<SenderKeyDistributionMessage>) => Uint8Array<ArrayBuffer>, SenderKeyDistributionMessage_GetDistributionId: (obj: Wrapper<SenderKeyDistributionMessage>) => Uuid, SenderKeyDistributionMessage_GetChainId: (obj: Wrapper<SenderKeyDistributionMessage>) => number, SenderKeyDistributionMessage_GetIteration: (obj: Wrapper<SenderKeyDistributionMessage>) => number, SenderKeyDistributionMessage_New: (messageVersion: number, distributionId: Uuid, chainId: number, iteration: number, chainkey: Uint8Array<ArrayBuffer>, pk: Wrapper<PublicKey>) => SenderKeyDistributionMessage, DecryptionErrorMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => DecryptionErrorMessage, DecryptionErrorMessage_GetTimestamp: (obj: Wrapper<DecryptionErrorMessage>) => Timestamp, DecryptionErrorMessage_GetDeviceId: (obj: Wrapper<DecryptionErrorMessage>) => number, DecryptionErrorMessage_Serialize: (obj: Wrapper<DecryptionErrorMessage>) => Uint8Array<ArrayBuffer>, DecryptionErrorMessage_GetRatchetKey: (m: Wrapper<DecryptionErrorMessage>) => PublicKey | null, DecryptionErrorMessage_ForOriginalMessage: (originalBytes: Uint8Array<ArrayBuffer>, originalType: number, originalTimestamp: Timestamp, originalSenderDeviceId: number) => DecryptionErrorMessage, DecryptionErrorMessage_ExtractFromSerializedContent: (bytes: Uint8Array<ArrayBuffer>) => DecryptionErrorMessage, PlaintextContent_Deserialize: (data: Uint8Array<ArrayBuffer>) => PlaintextContent, PlaintextContent_Serialize: (obj: Wrapper<PlaintextContent>) => Uint8Array<ArrayBuffer>, PlaintextContent_GetBody: (obj: Wrapper<PlaintextContent>) => Uint8Array<ArrayBuffer>, PlaintextContent_FromDecryptionErrorMessage: (m: Wrapper<DecryptionErrorMessage>) => PlaintextContent, PreKeyBundle_New: (registrationId: number, deviceId: number, prekeyId: number | null, prekey: Wrapper<PublicKey> | null, signedPrekeyId: number, signedPrekey: Wrapper<PublicKey>, signedPrekeySignature: Uint8Array<ArrayBuffer>, identityKey: Wrapper<PublicKey>, kyberPrekeyId: number, kyberPrekey: Wrapper<KyberPublicKey>, kyberPrekeySignature: Uint8Array<ArrayBuffer>) => PreKeyBundle, PreKeyBundle_GetIdentityKey: (p: Wrapper<PreKeyBundle>) => PublicKey, PreKeyBundle_GetSignedPreKeySignature: (obj: Wrapper<PreKeyBundle>) => Uint8Array<ArrayBuffer>, PreKeyBundle_GetKyberPreKeySignature: (obj: Wrapper<PreKeyBundle>) => Uint8Array<ArrayBuffer>, PreKeyBundle_GetRegistrationId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetDeviceId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetSignedPreKeyId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetKyberPreKeyId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetPreKeyId: (obj: Wrapper<PreKeyBundle>) => number | null, PreKeyBundle_GetPreKeyPublic: (obj: Wrapper<PreKeyBundle>) => PublicKey | null, PreKeyBundle_GetSignedPreKeyPublic: (obj: Wrapper<PreKeyBundle>) => PublicKey, PreKeyBundle_GetKyberPreKeyPublic: (bundle: Wrapper<PreKeyBundle>) => KyberPublicKey, SignedPreKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => SignedPreKeyRecord, SignedPreKeyRecord_GetSignature: (obj: Wrapper<SignedPreKeyRecord>) => Uint8Array<ArrayBuffer>, SignedPreKeyRecord_Serialize: (obj: Wrapper<SignedPreKeyRecord>) => Uint8Array<ArrayBuffer>, SignedPreKeyRecord_GetId: (obj: Wrapper<SignedPreKeyRecord>) => number, SignedPreKeyRecord_GetTimestamp: (obj: Wrapper<SignedPreKeyRecord>) => Timestamp, SignedPreKeyRecord_GetPublicKey: (obj: Wrapper<SignedPreKeyRecord>) => PublicKey, SignedPreKeyRecord_GetPrivateKey: (obj: Wrapper<SignedPreKeyRecord>) => PrivateKey, KyberPreKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => KyberPreKeyRecord, KyberPreKeyRecord_GetSignature: (obj: Wrapper<KyberPreKeyRecord>) => Uint8Array<ArrayBuffer>, KyberPreKeyRecord_Serialize: (obj: Wrapper<KyberPreKeyRecord>) => Uint8Array<ArrayBuffer>, KyberPreKeyRecord_GetId: (obj: Wrapper<KyberPreKeyRecord>) => number, KyberPreKeyRecord_GetTimestamp: (obj: Wrapper<KyberPreKeyRecord>) => Timestamp, KyberPreKeyRecord_GetPublicKey: (obj: Wrapper<KyberPreKeyRecord>) => KyberPublicKey, KyberPreKeyRecord_GetSecretKey: (obj: Wrapper<KyberPreKeyRecord>) => KyberSecretKey, KyberPreKeyRecord_GetKeyPair: (obj: Wrapper<KyberPreKeyRecord>) => KyberKeyPair, SignedPreKeyRecord_New: (id: number, timestamp: Timestamp, pubKey: Wrapper<PublicKey>, privKey: Wrapper<PrivateKey>, signature: Uint8Array<ArrayBuffer>) => SignedPreKeyRecord, KyberPreKeyRecord_New: (id: number, timestamp: Timestamp, keyPair: Wrapper<KyberKeyPair>, signature: Uint8Array<ArrayBuffer>) => KyberPreKeyRecord, PreKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => PreKeyRecord, PreKeyRecord_Serialize: (obj: Wrapper<PreKeyRecord>) => Uint8Array<ArrayBuffer>, PreKeyRecord_GetId: (obj: Wrapper<PreKeyRecord>) => number, PreKeyRecord_GetPublicKey: (obj: Wrapper<PreKeyRecord>) => PublicKey, PreKeyRecord_GetPrivateKey: (obj: Wrapper<PreKeyRecord>) => PrivateKey, PreKeyRecord_New: (id: number, pubKey: Wrapper<PublicKey>, privKey: Wrapper<PrivateKey>) => PreKeyRecord, SenderKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderKeyRecord, SenderKeyRecord_Serialize: (obj: Wrapper<SenderKeyRecord>) => Uint8Array<ArrayBuffer>, ServerCertificate_Deserialize: (data: Uint8Array<ArrayBuffer>) => ServerCertificate, ServerCertificate_GetSerialized: (obj: Wrapper<ServerCertificate>) => Uint8Array<ArrayBuffer>, ServerCertificate_GetCertificate: (obj: Wrapper<ServerCertificate>) => Uint8Array<ArrayBuffer>, ServerCertificate_GetSignature: (obj: Wrapper<ServerCertificate>) => Uint8Array<ArrayBuffer>, ServerCertificate_GetKeyId: (obj: Wrapper<ServerCertificate>) => number, ServerCertificate_GetKey: (obj: Wrapper<ServerCertificate>) => PublicKey, ServerCertificate_New: (keyId: number, serverKey: Wrapper<PublicKey>, trustRoot: Wrapper<PrivateKey>) => ServerCertificate, SenderCertificate_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderCertificate, SenderCertificate_GetSerialized: (obj: Wrapper<SenderCertificate>) => Uint8Array<ArrayBuffer>, SenderCertificate_GetCertificate: (obj: Wrapper<SenderCertificate>) => Uint8Array<ArrayBuffer>, SenderCertificate_GetSignature: (obj: Wrapper<SenderCertificate>) => Uint8Array<ArrayBuffer>, SenderCertificate_GetSenderUuid: (obj: Wrapper<SenderCertificate>) => string, SenderCertificate_GetSenderE164: (obj: Wrapper<SenderCertificate>) => string | null, SenderCertificate_GetExpiration: (obj: Wrapper<SenderCertificate>) => Timestamp, SenderCertificate_GetDeviceId: (obj: Wrapper<SenderCertificate>) => number, SenderCertificate_GetKey: (obj: Wrapper<SenderCertificate>) => PublicKey, SenderCertificate_Validate: (cert: Wrapper<SenderCertificate>, trustRoots: Wrapper<PublicKey>[], time: Timestamp) => boolean, SenderCertificate_GetServerCertificate: (cert: Wrapper<SenderCertificate>) => ServerCertificate, SenderCertificate_New: (senderUuid: string, senderE164: string | null, senderDeviceId: number, senderKey: Wrapper<PublicKey>, expiration: Timestamp, signerCert: Wrapper<ServerCertificate>, signerKey: Wrapper<PrivateKey>) => SenderCertificate, UnidentifiedSenderMessageContent_Deserialize: (data: Uint8Array<ArrayBuffer>) => UnidentifiedSenderMessageContent, UnidentifiedSenderMessageContent_Serialize: (obj: Wrapper<UnidentifiedSenderMessageContent>) => Uint8Array<ArrayBuffer>, UnidentifiedSenderMessageContent_GetContents: (obj: Wrapper<UnidentifiedSenderMessageContent>) => Uint8Array<ArrayBuffer>, UnidentifiedSenderMessageContent_GetGroupId: (obj: Wrapper<UnidentifiedSenderMessageContent>) => Uint8Array<ArrayBuffer> | null, UnidentifiedSenderMessageContent_GetSenderCert: (m: Wrapper<UnidentifiedSenderMessageContent>) => SenderCertificate, UnidentifiedSenderMessageContent_GetMsgType: (m: Wrapper<UnidentifiedSenderMessageContent>) => number, UnidentifiedSenderMessageContent_GetContentHint: (m: Wrapper<UnidentifiedSenderMessageContent>) => number, UnidentifiedSenderMessageContent_New: (message: Wrapper<CiphertextMessage>, sender: Wrapper<SenderCertificate>, contentHint: number, groupId: Uint8Array<ArrayBuffer> | null) => UnidentifiedSenderMessageContent, CiphertextMessage_Type: (msg: Wrapper<CiphertextMessage>) => number, CiphertextMessage_Serialize: (obj: Wrapper<CiphertextMessage>) => Uint8Array<ArrayBuffer>, CiphertextMessage_FromPlaintextContent: (m: Wrapper<PlaintextContent>) => CiphertextMessage, SessionRecord_ArchiveCurrentState: (sessionRecord: Wrapper<SessionRecord>) => void, SessionRecord_HasUsableSenderChain: (s: Wrapper<SessionRecord>, now: Timestamp) => boolean, SessionRecord_CurrentRatchetKeyMatches: (s: Wrapper<SessionRecord>, key: Wrapper<PublicKey>) => boolean, SessionRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => SessionRecord, SessionRecord_Serialize: (obj: Wrapper<SessionRecord>) => Uint8Array<ArrayBuffer>, SessionRecord_GetLocalRegistrationId: (obj: Wrapper<SessionRecord>) => number, SessionRecord_GetRemoteRegistrationId: (obj: Wrapper<SessionRecord>) => number, SealedSenderDecryptionResult_GetSenderUuid: (obj: Wrapper<SealedSenderDecryptionResult>) => string, SealedSenderDecryptionResult_GetSenderE164: (obj: Wrapper<SealedSenderDecryptionResult>) => string | null, SealedSenderDecryptionResult_GetDeviceId: (obj: Wrapper<SealedSenderDecryptionResult>) => number, SealedSenderDecryptionResult_Message: (obj: Wrapper<SealedSenderDecryptionResult>) => Uint8Array<ArrayBuffer>, SessionBuilder_ProcessPreKeyBundle: (bundle: Wrapper<PreKeyBundle>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore, now: Timestamp) => Promise<void>, SessionCipher_EncryptMessage: (ptext: Uint8Array<ArrayBuffer>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore, now: Timestamp) => Promise<CiphertextMessage>, SessionCipher_DecryptSignalMessage: (message: Wrapper<SignalMessage>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SessionCipher_DecryptPreKeySignalMessage: (message: Wrapper<PreKeySignalMessage>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore, prekeyStore: PreKeyStore, signedPrekeyStore: SignedPreKeyStore, kyberPrekeyStore: KyberPreKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SealedSender_Encrypt: (destination: Wrapper<ProtocolAddress>, content: Wrapper<UnidentifiedSenderMessageContent>, identityKeyStore: IdentityKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SealedSender_MultiRecipientEncrypt: (recipients: Wrapper<ProtocolAddress>[], recipientSessions: Wrapper<SessionRecord>[], excludedRecipients: Uint8Array<ArrayBuffer>, content: Wrapper<UnidentifiedSenderMessageContent>, identityKeyStore: IdentityKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SealedSender_MultiRecipientMessageForSingleRecipient: (encodedMultiRecipientMessage: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, SealedSender_DecryptToUsmc: (ctext: Uint8Array<ArrayBuffer>, identityStore: IdentityKeyStore) => Promise<UnidentifiedSenderMessageContent>, SealedSender_DecryptMessage: (message: Uint8Array<ArrayBuffer>, trustRoot: Wrapper<PublicKey>, timestamp: Timestamp, localE164: string | null, localUuid: string, localDeviceId: number, sessionStore: SessionStore, identityStore: IdentityKeyStore, prekeyStore: PreKeyStore, signedPrekeyStore: SignedPreKeyStore, kyberPrekeyStore: KyberPreKeyStore) => Promise<SealedSenderDecryptionResult>, SenderKeyDistributionMessage_Create: (sender: Wrapper<ProtocolAddress>, distributionId: Uuid, store: SenderKeyStore) => Promise<SenderKeyDistributionMessage>, SenderKeyDistributionMessage_Process: (sender: Wrapper<ProtocolAddress>, senderKeyDistributionMessage: Wrapper<SenderKeyDistributionMessage>, store: SenderKeyStore) => Promise<void>, GroupCipher_EncryptMessage: (sender: Wrapper<ProtocolAddress>, distributionId: Uuid, message: Uint8Array<ArrayBuffer>, store: SenderKeyStore) => Promise<CiphertextMessage>, GroupCipher_DecryptMessage: (sender: Wrapper<ProtocolAddress>, message: Uint8Array<ArrayBuffer>, store: SenderKeyStore) => Promise<Uint8Array<ArrayBuffer>>, Cds2ClientState_New: (mrenclave: Uint8Array<ArrayBuffer>, attestationMsg: Uint8Array<ArrayBuffer>, currentTimestamp: Timestamp) => SgxClientState, HsmEnclaveClient_New: (trustedPublicKey: Uint8Array<ArrayBuffer>, trustedCodeHashes: Uint8Array<ArrayBuffer>) => HsmEnclaveClient, HsmEnclaveClient_CompleteHandshake: (cli: Wrapper<HsmEnclaveClient>, handshakeReceived: Uint8Array<ArrayBuffer>) => void, HsmEnclaveClient_EstablishedSend: (cli: Wrapper<HsmEnclaveClient>, plaintextToSend: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, HsmEnclaveClient_EstablishedRecv: (cli: Wrapper<HsmEnclaveClient>, receivedCiphertext: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, HsmEnclaveClient_InitialRequest: (obj: Wrapper<HsmEnclaveClient>) => Uint8Array<ArrayBuffer>, SgxClientState_InitialRequest: (obj: Wrapper<SgxClientState>) => Uint8Array<ArrayBuffer>, SgxClientState_CompleteHandshake: (cli: Wrapper<SgxClientState>, handshakeReceived: Uint8Array<ArrayBuffer>) => void, SgxClientState_EstablishedSend: (cli: Wrapper<SgxClientState>, plaintextToSend: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, SgxClientState_EstablishedRecv: (cli: Wrapper<SgxClientState>, receivedCiphertext: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ExpiringProfileKeyCredential_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ExpiringProfileKeyCredentialResponse_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, GroupMasterKey_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, GroupPublicParams_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, GroupSecretParams_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKey_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCiphertext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCommitment_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCredentialRequest_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCredentialRequestContext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredential_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialPresentation_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialRequest_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialRequestContext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialResponse_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, UuidCiphertext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ServerPublicParams_Deserialize: (buffer: Uint8Array<ArrayBuffer>) => ServerPublicParams, ServerPublicParams_Serialize: (handle: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>, ServerSecretParams_Deserialize: (buffer: Uint8Array<ArrayBuffer>) => ServerSecretParams, ServerSecretParams_Serialize: (handle: Wrapper<ServerSecretParams>) => Uint8Array<ArrayBuffer>, ProfileKey_GetCommitment: (profileKey: Serialized<ProfileKey>, userId: Uint8Array<ArrayBuffer>) => Serialized<ProfileKeyCommitment>, ProfileKey_GetProfileKeyVersion: (profileKey: Serialized<ProfileKey>, userId: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ProfileKey_DeriveAccessKey: (profileKey: Serialized<ProfileKey>) => Uint8Array<ArrayBuffer>, GroupSecretParams_GenerateDeterministic: (randomness: Uint8Array<ArrayBuffer>) => Serialized<GroupSecretParams>, GroupSecretParams_DeriveFromMasterKey: (masterKey: Serialized<GroupMasterKey>) => Serialized<GroupSecretParams>, GroupSecretParams_GetMasterKey: (params: Serialized<GroupSecretParams>) => Serialized<GroupMasterKey>, GroupSecretParams_GetPublicParams: (params: Serialized<GroupSecretParams>) => Serialized<GroupPublicParams>, GroupSecretParams_EncryptServiceId: (params: Serialized<GroupSecretParams>, serviceId: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, GroupSecretParams_DecryptServiceId: (params: Serialized<GroupSecretParams>, ciphertext: Serialized<UuidCiphertext>) => Uint8Array<ArrayBuffer>, GroupSecretParams_EncryptProfileKey: (params: Serialized<GroupSecretParams>, profileKey: Serialized<ProfileKey>, userId: Uint8Array<ArrayBuffer>) => Serialized<ProfileKeyCiphertext>, GroupSecretParams_DecryptProfileKey: (params: Serialized<GroupSecretParams>, profileKey: Serialized<ProfileKeyCiphertext>, userId: Uint8Array<ArrayBuffer>) => Serialized<ProfileKey>, GroupSecretParams_EncryptBlobWithPaddingDeterministic: (params: Serialized<GroupSecretParams>, randomness: Uint8Array<ArrayBuffer>, plaintext: Uint8Array<ArrayBuffer>, paddingLen: number) => Uint8Array<ArrayBuffer>, GroupSecretParams_DecryptBlobWithPadding: (params: Serialized<GroupSecretParams>, ciphertext: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerSecretParams_GenerateDeterministic: (randomness: Uint8Array<ArrayBuffer>) => ServerSecretParams, ServerSecretParams_GetPublicParams: (params: Wrapper<ServerSecretParams>) => ServerPublicParams, ServerSecretParams_SignDeterministic: (params: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, message: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerPublicParams_GetEndorsementPublicKey: (params: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId: (params: Wrapper<ServerPublicParams>, aci: Uint8Array<ArrayBuffer>, pni: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, authCredentialWithPniResponseBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, groupSecretParams: Serialized<GroupSecretParams>, authCredentialWithPniBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, profileKey: Serialized<ProfileKey>) => Serialized<ProfileKeyCredentialRequestContext>, ServerPublicParams_ReceiveExpiringProfileKeyCredential: (serverPublicParams: Wrapper<ServerPublicParams>, requestContext: Serialized<ProfileKeyCredentialRequestContext>, response: Serialized<ExpiringProfileKeyCredentialResponse>, currentTimeInSeconds: Timestamp) => Serialized<ExpiringProfileKeyCredential>, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, groupSecretParams: Serialized<GroupSecretParams>, profileKeyCredential: Serialized<ExpiringProfileKeyCredential>) => Uint8Array<ArrayBuffer>, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, receiptSerial: Uint8Array<ArrayBuffer>) => Serialized<ReceiptCredentialRequestContext>, ServerPublicParams_ReceiveReceiptCredential: (serverPublicParams: Wrapper<ServerPublicParams>, requestContext: Serialized<ReceiptCredentialRequestContext>, response: Serialized<ReceiptCredentialResponse>) => Serialized<ReceiptCredential>, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, receiptCredential: Serialized<ReceiptCredential>) => Serialized<ReceiptCredentialPresentation>, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic: (serverSecretParams: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, aci: Uint8Array<ArrayBuffer>, pni: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp) => Uint8Array<ArrayBuffer>, AuthCredentialWithPni_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, AuthCredentialWithPniResponse_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, ServerSecretParams_VerifyAuthCredentialPresentation: (serverSecretParams: Wrapper<ServerSecretParams>, groupPublicParams: Serialized<GroupPublicParams>, presentationBytes: Uint8Array<ArrayBuffer>, currentTimeInSeconds: Timestamp) => void, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic: (serverSecretParams: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, request: Serialized<ProfileKeyCredentialRequest>, userId: Uint8Array<ArrayBuffer>, commitment: Serialized<ProfileKeyCommitment>, expirationInSeconds: Timestamp) => Serialized<ExpiringProfileKeyCredentialResponse>, ServerSecretParams_VerifyProfileKeyCredentialPresentation: (serverSecretParams: Wrapper<ServerSecretParams>, groupPublicParams: Serialized<GroupPublicParams>, presentationBytes: Uint8Array<ArrayBuffer>, currentTimeInSeconds: Timestamp) => void, ServerSecretParams_IssueReceiptCredentialDeterministic: (serverSecretParams: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, request: Serialized<ReceiptCredentialRequest>, receiptExpirationTime: Timestamp, receiptLevel: bigint) => Serialized<ReceiptCredentialResponse>, ServerSecretParams_VerifyReceiptCredentialPresentation: (serverSecretParams: Wrapper<ServerSecretParams>, presentation: Serialized<ReceiptCredentialPresentation>) => void, GroupPublicParams_GetGroupIdentifier: (groupPublicParams: Serialized<GroupPublicParams>) => Uint8Array<ArrayBuffer>, ServerPublicParams_VerifySignature: (serverPublicParams: Wrapper<ServerPublicParams>, message: Uint8Array<ArrayBuffer>, notarySignature: Uint8Array<ArrayBuffer>) => void, AuthCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, AuthCredentialPresentation_GetUuidCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, AuthCredentialPresentation_GetPniCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, AuthCredentialPresentation_GetRedemptionTime: (presentationBytes: Uint8Array<ArrayBuffer>) => Timestamp, ProfileKeyCredentialRequestContext_GetRequest: (context: Serialized<ProfileKeyCredentialRequestContext>) => Serialized<ProfileKeyCredentialRequest>, ExpiringProfileKeyCredential_GetExpirationTime: (credential: Serialized<ExpiringProfileKeyCredential>) => Timestamp, ProfileKeyCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, ProfileKeyCredentialPresentation_GetUuidCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<ProfileKeyCiphertext>, ReceiptCredentialRequestContext_GetRequest: (requestContext: Serialized<ReceiptCredentialRequestContext>) => Serialized<ReceiptCredentialRequest>, ReceiptCredential_GetReceiptExpirationTime: (receiptCredential: Serialized<ReceiptCredential>) => Timestamp, ReceiptCredential_GetReceiptLevel: (receiptCredential: Serialized<ReceiptCredential>) => bigint, ReceiptCredentialPresentation_GetReceiptExpirationTime: (presentation: Serialized<ReceiptCredentialPresentation>) => Timestamp, ReceiptCredentialPresentation_GetReceiptLevel: (presentation: Serialized<ReceiptCredentialPresentation>) => bigint, ReceiptCredentialPresentation_GetReceiptSerial: (presentation: Serialized<ReceiptCredentialPresentation>) => Uint8Array<ArrayBuffer>, GenericServerSecretParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, GenericServerSecretParams_GenerateDeterministic: (randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GenericServerSecretParams_GetPublicParams: (paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GenericServerPublicParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkSecretParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkSecretParams_DeriveFromRootKey: (rootKey: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkSecretParams_GetPublicParams: (paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkSecretParams_DecryptUserId: (paramsBytes: Uint8Array<ArrayBuffer>, userId: Serialized<UuidCiphertext>) => Uint8Array<ArrayBuffer>, CallLinkSecretParams_EncryptUserId: (paramsBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, CallLinkPublicParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequestContext_CheckValidContents: (contextBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequestContext_NewDeterministic: (roomId: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialRequestContext_GetRequest: (contextBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialRequest_CheckValidContents: (requestBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequest_IssueDeterministic: (requestBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, timestamp: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialResponse_CheckValidContents: (responseBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequestContext_ReceiveResponse: (contextBytes: Uint8Array<ArrayBuffer>, responseBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredential_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredential_PresentDeterministic: (credentialBytes: Uint8Array<ArrayBuffer>, roomId: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialPresentation_Verify: (presentationBytes: Uint8Array<ArrayBuffer>, roomId: Uint8Array<ArrayBuffer>, now: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialResponse_CheckValidContents: (responseBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialResponse_IssueDeterministic: (userId: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkAuthCredentialResponse_Receive: (responseBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkAuthCredential_CheckValidContents: (credentialBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredential_PresentDeterministic: (credentialBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkAuthCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialPresentation_Verify: (presentationBytes: Uint8Array<ArrayBuffer>, now: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialPresentation_GetUserId: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, BackupAuthCredentialRequestContext_New: (backupKey: Uint8Array<ArrayBuffer>, uuid: Uuid) => Uint8Array<ArrayBuffer>, BackupAuthCredentialRequestContext_CheckValidContents: (contextBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialRequestContext_GetRequest: (contextBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialRequest_CheckValidContents: (requestBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialRequest_IssueDeterministic: (requestBytes: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, backupLevel: number, credentialType: number, paramsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialResponse_CheckValidContents: (responseBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialRequestContext_ReceiveResponse: (contextBytes: Uint8Array<ArrayBuffer>, responseBytes: Uint8Array<ArrayBuffer>, expectedRedemptionTime: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredential_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredential_GetBackupId: (credentialBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredential_GetBackupLevel: (credentialBytes: Uint8Array<ArrayBuffer>) => number, BackupAuthCredential_GetType: (credentialBytes: Uint8Array<ArrayBuffer>) => number, BackupAuthCredential_PresentDeterministic: (credentialBytes: Uint8Array<ArrayBuffer>, serverParamsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialPresentation_Verify: (presentationBytes: Uint8Array<ArrayBuffer>, now: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialPresentation_GetBackupId: (presentationBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialPresentation_GetBackupLevel: (presentationBytes: Uint8Array<ArrayBuffer>) => number, BackupAuthCredentialPresentation_GetType: (presentationBytes: Uint8Array<ArrayBuffer>) => number, GroupSendDerivedKeyPair_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendDerivedKeyPair_ForExpiration: (expiration: Timestamp, serverParams: Wrapper<ServerSecretParams>) => Uint8Array<ArrayBuffer>, GroupSendEndorsementsResponse_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendEndorsementsResponse_IssueDeterministic: (concatenatedGroupMemberCiphertexts: Uint8Array<ArrayBuffer>, keyPair: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GroupSendEndorsementsResponse_GetExpiration: (responseBytes: Uint8Array<ArrayBuffer>) => Timestamp, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds: (responseBytes: Uint8Array<ArrayBuffer>, groupMembers: Uint8Array<ArrayBuffer>, localUser: Uint8Array<ArrayBuffer>, now: Timestamp, groupParams: Serialized<GroupSecretParams>, serverParams: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>[], GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts: (responseBytes: Uint8Array<ArrayBuffer>, concatenatedGroupMemberCiphertexts: Uint8Array<ArrayBuffer>, localUserCiphertext: Uint8Array<ArrayBuffer>, now: Timestamp, serverParams: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>[], GroupSendEndorsement_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendEndorsement_Combine: (endorsements: Uint8Array<ArrayBuffer>[]) => Uint8Array<ArrayBuffer>, GroupSendEndorsement_Remove: (endorsement: Uint8Array<ArrayBuffer>, toRemove: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GroupSendEndorsement_ToToken: (endorsement: Uint8Array<ArrayBuffer>, groupParams: Serialized<GroupSecretParams>) => Uint8Array<ArrayBuffer>, GroupSendEndorsement_CallLinkParams_ToToken: (endorsement: Uint8Array<ArrayBuffer>, callLinkSecretParamsSerialized: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GroupSendToken_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendToken_ToFullToken: (token: Uint8Array<ArrayBuffer>, expiration: Timestamp) => Uint8Array<ArrayBuffer>, GroupSendFullToken_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendFullToken_GetExpiration: (token: Uint8Array<ArrayBuffer>) => Timestamp, GroupSendFullToken_Verify: (token: Uint8Array<ArrayBuffer>, userIds: Uint8Array<ArrayBuffer>, now: Timestamp, keyPair: Uint8Array<ArrayBuffer>) => void, LookupRequest_new: () => LookupRequest, LookupRequest_addE164: (request: Wrapper<LookupRequest>, e164: string) => void, LookupRequest_addPreviousE164: (request: Wrapper<LookupRequest>, e164: string) => void, LookupRequest_setToken: (request: Wrapper<LookupRequest>, token: Uint8Array<ArrayBuffer>) => void, LookupRequest_addAciAndAccessKey: (request: Wrapper<LookupRequest>, aci: Uint8Array<ArrayBuffer>, accessKey: Uint8Array<ArrayBuffer>) => void, CdsiLookup_new: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, request: Wrapper<LookupRequest>) => CancellablePromise<CdsiLookup>, CdsiLookup_token: (lookup: Wrapper<CdsiLookup>) => Uint8Array<ArrayBuffer>, CdsiLookup_complete: (asyncRuntime: Wrapper<TokioAsyncContext>, lookup: Wrapper<CdsiLookup>) => CancellablePromise<LookupResponse>, HttpRequest_new: (method: string, path: string, bodyAsSlice: Uint8Array<ArrayBuffer> | null) => HttpRequest, HttpRequest_add_header: (request: Wrapper<HttpRequest>, name: string, value: string) => void, ChatConnectionInfo_local_port: (connectionInfo: Wrapper<ChatConnectionInfo>) => number, ChatConnectionInfo_ip_version: (connectionInfo: Wrapper<ChatConnectionInfo>) => number, ChatConnectionInfo_description: (connectionInfo: Wrapper<ChatConnectionInfo>) => string, UnauthenticatedChatConnection_connect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, languages: string[]) => CancellablePromise<UnauthenticatedChatConnection>, UnauthenticatedChatConnection_init_listener: (chat: Wrapper<UnauthenticatedChatConnection>, listener: ChatListener) => void, UnauthenticatedChatConnection_send: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number) => CancellablePromise<ChatResponse>, UnauthenticatedChatConnection_disconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>) => CancellablePromise<void>, UnauthenticatedChatConnection_info: (chat: Wrapper<UnauthenticatedChatConnection>) => ChatConnectionInfo, UnauthenticatedChatConnection_look_up_username_hash: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, hash: Uint8Array<ArrayBuffer>) => CancellablePromise<Uuid | null>, UnauthenticatedChatConnection_look_up_username_link: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, uuid: Uuid, entropy: Uint8Array<ArrayBuffer>) => CancellablePromise<[string, Uint8Array<ArrayBuffer>] | null>, UnauthenticatedChatConnection_send_multi_recipient_message: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, payload: Uint8Array<ArrayBuffer>, timestamp: Timestamp, auth: Uint8Array<ArrayBuffer> | null, onlineOnly: boolean, isUrgent: boolean) => CancellablePromise<Uint8Array<ArrayBuffer>[]>, AuthenticatedChatConnection_preconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>) => CancellablePromise<void>, AuthenticatedChatConnection_connect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, receiveStories: boolean, languages: string[]) => CancellablePromise<AuthenticatedChatConnection>, AuthenticatedChatConnection_init_listener: (chat: Wrapper<AuthenticatedChatConnection>, listener: ChatListener) => void, AuthenticatedChatConnection_send: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthenticatedChatConnection>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number) => CancellablePromise<ChatResponse>, AuthenticatedChatConnection_disconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthenticatedChatConnection>) => CancellablePromise<void>, AuthenticatedChatConnection_info: (chat: Wrapper<AuthenticatedChatConnection>) => ChatConnectionInfo, ServerMessageAck_SendStatus: (ack: Wrapper<ServerMessageAck>, status: number) => void, ProvisioningChatConnection_connect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>) => CancellablePromise<ProvisioningChatConnection>, ProvisioningChatConnection_init_listener: (chat: Wrapper<ProvisioningChatConnection>, listener: ProvisioningListener) => void, ProvisioningChatConnection_info: (chat: Wrapper<ProvisioningChatConnection>) => ChatConnectionInfo, ProvisioningChatConnection_disconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<ProvisioningChatConnection>) => CancellablePromise<void>, UnauthenticatedChatConnection_get_pre_keys_access_key_auth: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, auth: Uint8Array<ArrayBuffer>, target: Uint8Array<ArrayBuffer>, device: number) => CancellablePromise<PreKeysResponse>, UnauthenticatedChatConnection_get_pre_keys_access_group_auth: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, auth: Uint8Array<ArrayBuffer>, target: Uint8Array<ArrayBuffer>, device: number) => CancellablePromise<PreKeysResponse>, UnauthenticatedChatConnection_account_exists: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, account: Uint8Array<ArrayBuffer>) => CancellablePromise<boolean>, KeyTransparency_AciSearchKey: (aci: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, KeyTransparency_E164SearchKey: (e164: string) => Uint8Array<ArrayBuffer>, KeyTransparency_UsernameHashSearchKey: (hash: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, KeyTransparency_Search: (asyncRuntime: Wrapper<TokioAsyncContext>, environment: number, chatConnection: Wrapper<UnauthenticatedChatConnection>, aci: Uint8Array<ArrayBuffer>, aciIdentityKey: Wrapper<PublicKey>, e164: string | null, unidentifiedAccessKey: Uint8Array<ArrayBuffer> | null, usernameHash: Uint8Array<ArrayBuffer> | null, accountData: Uint8Array<ArrayBuffer> | null, lastDistinguishedTreeHead: Uint8Array<ArrayBuffer>) => CancellablePromise<Uint8Array<ArrayBuffer>>, KeyTransparency_Monitor: (asyncRuntime: Wrapper<TokioAsyncContext>, environment: number, chatConnection: Wrapper<UnauthenticatedChatConnection>, aci: Uint8Array<ArrayBuffer>, aciIdentityKey: Wrapper<PublicKey>, e164: string | null, unidentifiedAccessKey: Uint8Array<ArrayBuffer> | null, usernameHash: Uint8Array<ArrayBuffer> | null, accountData: Uint8Array<ArrayBuffer> | null, lastDistinguishedTreeHead: Uint8Array<ArrayBuffer>, isSelfMonitor: boolean) => CancellablePromise<Uint8Array<ArrayBuffer>>, KeyTransparency_Distinguished: (asyncRuntime: Wrapper<TokioAsyncContext>, environment: number, chatConnection: Wrapper<UnauthenticatedChatConnection>, lastDistinguishedTreeHead: Uint8Array<ArrayBuffer> | null) => CancellablePromise<Uint8Array<ArrayBuffer>>, RegistrationService_CreateSession: (asyncRuntime: Wrapper<TokioAsyncContext>, createSession: RegistrationCreateSessionRequest, connectChat: ConnectChatBridge) => CancellablePromise<RegistrationService>, RegistrationService_ResumeSession: (asyncRuntime: Wrapper<TokioAsyncContext>, sessionId: string, number: string, connectChat: ConnectChatBridge) => CancellablePromise<RegistrationService>, RegistrationService_RequestVerificationCode: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, transport: string, client: string, languages: string[]) => CancellablePromise<void>, RegistrationService_SubmitVerificationCode: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, code: string) => CancellablePromise<void>, RegistrationService_SubmitCaptcha: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, captchaValue: string) => CancellablePromise<void>, RegistrationService_CheckSvr2Credentials: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, svrTokens: string[]) => CancellablePromise<CheckSvr2CredentialsResponse>, RegistrationService_RegisterAccount: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, registerAccount: Wrapper<RegisterAccountRequest>, accountAttributes: Wrapper<RegistrationAccountAttributes>) => CancellablePromise<RegisterAccountResponse>, RegistrationService_ReregisterAccount: (asyncRuntime: Wrapper<TokioAsyncContext>, connectChat: ConnectChatBridge, number: string, registerAccount: Wrapper<RegisterAccountRequest>, accountAttributes: Wrapper<RegistrationAccountAttributes>) => CancellablePromise<RegisterAccountResponse>, RegistrationService_SessionId: (service: Wrapper<RegistrationService>) => string, RegistrationService_RegistrationSession: (service: Wrapper<RegistrationService>) => RegistrationSession, RegistrationSession_GetAllowedToRequestCode: (session: Wrapper<RegistrationSession>) => boolean, RegistrationSession_GetVerified: (session: Wrapper<RegistrationSession>) => boolean, RegistrationSession_GetNextCallSeconds: (session: Wrapper<RegistrationSession>) => number | null, RegistrationSession_GetNextSmsSeconds: (session: Wrapper<RegistrationSession>) => number | null, RegistrationSession_GetNextVerificationAttemptSeconds: (session: Wrapper<RegistrationSession>) => number | null, RegistrationSession_GetRequestedInformation: (session: Wrapper<RegistrationSession>) => ChallengeOption[], RegisterAccountRequest_Create: () => RegisterAccountRequest, RegisterAccountRequest_SetSkipDeviceTransfer: (registerAccount: Wrapper<RegisterAccountRequest>) => void, RegisterAccountRequest_SetAccountPassword: (registerAccount: Wrapper<RegisterAccountRequest>, accountPassword: string) => void, RegisterAccountRequest_SetIdentityPublicKey: (registerAccount: Wrapper<RegisterAccountRequest>, identityType: number, identityKey: Wrapper<PublicKey>) => void, RegisterAccountRequest_SetIdentitySignedPreKey: (registerAccount: Wrapper<RegisterAccountRequest>, identityType: number, signedPreKey: SignedPublicPreKey) => void, RegisterAccountRequest_SetIdentityPqLastResortPreKey: (registerAccount: Wrapper<RegisterAccountRequest>, identityType: number, pqLastResortPreKey: SignedPublicPreKey) => void, RegistrationAccountAttributes_Create: (recoveryPassword: Uint8Array<ArrayBuffer>, aciRegistrationId: number, pniRegistrationId: number, registrationLock: string | null, unidentifiedAccessKey: Uint8Array<ArrayBuffer>, unrestrictedUnidentifiedAccess: boolean, capabilities: string[], discoverableByPhoneNumber: boolean) => RegistrationAccountAttributes, RegisterAccountResponse_GetIdentity: (response: Wrapper<RegisterAccountResponse>, identityType: number) => Uint8Array<ArrayBuffer>, RegisterAccountResponse_GetNumber: (response: Wrapper<RegisterAccountResponse>) => string, RegisterAccountResponse_GetUsernameHash: (response: Wrapper<RegisterAccountResponse>) => Uint8Array<ArrayBuffer> | null, RegisterAccountResponse_GetUsernameLinkHandle: (response: Wrapper<RegisterAccountResponse>) => Uuid | null, RegisterAccountResponse_GetStorageCapable: (response: Wrapper<RegisterAccountResponse>) => boolean, RegisterAccountResponse_GetReregistration: (response: Wrapper<RegisterAccountResponse>) => boolean, RegisterAccountResponse_GetEntitlementBadges: (response: Wrapper<RegisterAccountResponse>) => RegisterResponseBadge[], RegisterAccountResponse_GetEntitlementBackupLevel: (response: Wrapper<RegisterAccountResponse>) => bigint | null, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds: (response: Wrapper<RegisterAccountResponse>) => bigint | null, SecureValueRecoveryForBackups_CreateNewBackupChain: (environment: number, backupKey: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, SecureValueRecoveryForBackups_StoreBackup: (asyncRuntime: Wrapper<TokioAsyncContext>, backupKey: Uint8Array<ArrayBuffer>, previousSecretData: Uint8Array<ArrayBuffer>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string) => CancellablePromise<BackupStoreResponse>, SecureValueRecoveryForBackups_RestoreBackupFromServer: (asyncRuntime: Wrapper<TokioAsyncContext>, backupKey: Uint8Array<ArrayBuffer>, metadata: Uint8Array<ArrayBuffer>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string) => CancellablePromise<BackupRestoreResponse>, SecureValueRecoveryForBackups_RemoveBackup: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string) => CancellablePromise<void>, BackupStoreResponse_GetForwardSecrecyToken: (response: Wrapper<BackupStoreResponse>) => Uint8Array<ArrayBuffer>, BackupStoreResponse_GetOpaqueMetadata: (response: Wrapper<BackupStoreResponse>) => Uint8Array<ArrayBuffer>, BackupStoreResponse_GetNextBackupSecretData: (response: Wrapper<BackupStoreResponse>) => Uint8Array<ArrayBuffer>, BackupRestoreResponse_GetForwardSecrecyToken: (response: Wrapper<BackupRestoreResponse>) => Uint8Array<ArrayBuffer>, BackupRestoreResponse_GetNextBackupSecretData: (response: Wrapper<BackupRestoreResponse>) => Uint8Array<ArrayBuffer>, TokioAsyncContext_new: () => TokioAsyncContext, TokioAsyncContext_cancel: (context: Wrapper<TokioAsyncContext>, rawCancellationId: bigint) => void, ConnectionProxyConfig_new: (scheme: string, host: string, port: number, username: string | null, password: string | null) => ConnectionProxyConfig, ConnectionManager_new: (environment: number, userAgent: string, remoteConfig: Wrapper<BridgedStringMap>, buildVariant: number) => ConnectionManager, ConnectionManager_set_proxy: (connectionManager: Wrapper<ConnectionManager>, proxy: Wrapper<ConnectionProxyConfig>) => void, ConnectionManager_set_invalid_proxy: (connectionManager: Wrapper<ConnectionManager>) => void, ConnectionManager_clear_proxy: (connectionManager: Wrapper<ConnectionManager>) => void, ConnectionManager_set_ipv6_enabled: (connectionManager: Wrapper<ConnectionManager>, ipv6Enabled: boolean) => void, ConnectionManager_set_censorship_circumvention_enabled: (connectionManager: Wrapper<ConnectionManager>, enabled: boolean) => void, ConnectionManager_set_remote_config: (connectionManager: Wrapper<ConnectionManager>, remoteConfig: Wrapper<BridgedStringMap>, buildVariant: number) => void, ConnectionManager_on_network_change: (connectionManager: Wrapper<ConnectionManager>) => void, AccountEntropyPool_Generate: () => string, AccountEntropyPool_IsValid: (accountEntropy: string) => boolean, AccountEntropyPool_DeriveSvrKey: (accountEntropy: AccountEntropyPool) => Uint8Array<ArrayBuffer>, AccountEntropyPool_DeriveBackupKey: (accountEntropy: AccountEntropyPool) => Uint8Array<ArrayBuffer>, BackupKey_DeriveBackupId: (backupKey: Uint8Array<ArrayBuffer>, aci: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupKey_DeriveEcKey: (backupKey: Uint8Array<ArrayBuffer>, aci: Uint8Array<ArrayBuffer>) => PrivateKey, BackupKey_DeriveLocalBackupMetadataKey: (backupKey: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupKey_DeriveMediaId: (backupKey: Uint8Array<ArrayBuffer>, mediaName: string) => Uint8Array<ArrayBuffer>, BackupKey_DeriveMediaEncryptionKey: (backupKey: Uint8Array<ArrayBuffer>, mediaId: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupKey_DeriveThumbnailTransitEncryptionKey: (backupKey: Uint8Array<ArrayBuffer>, mediaId: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, IncrementalMac_CalculateChunkSize: (dataSize: number) => number, IncrementalMac_Initialize: (key: Uint8Array<ArrayBuffer>, chunkSize: number) => IncrementalMac, IncrementalMac_Update: (mac: Wrapper<IncrementalMac>, bytes: Uint8Array<ArrayBuffer>, offset: number, length: number) => Uint8Array<ArrayBuffer>, IncrementalMac_Finalize: (mac: Wrapper<IncrementalMac>) => Uint8Array<ArrayBuffer>, ValidatingMac_Initialize: (key: Uint8Array<ArrayBuffer>, chunkSize: number, digests: Uint8Array<ArrayBuffer>) => ValidatingMac | null, ValidatingMac_Update: (mac: Wrapper<ValidatingMac>, bytes: Uint8Array<ArrayBuffer>, offset: number, length: number) => number, ValidatingMac_Finalize: (mac: Wrapper<ValidatingMac>) => number, MessageBackupKey_FromAccountEntropyPool: (accountEntropy: AccountEntropyPool, aci: Uint8Array<ArrayBuffer>, forwardSecrecyToken: Uint8Array<ArrayBuffer> | null) => MessageBackupKey, MessageBackupKey_FromBackupKeyAndBackupId: (backupKey: Uint8Array<ArrayBuffer>, backupId: Uint8Array<ArrayBuffer>, forwardSecrecyToken: Uint8Array<ArrayBuffer> | null) => MessageBackupKey, MessageBackupKey_GetHmacKey: (key: Wrapper<MessageBackupKey>) => Uint8Array<ArrayBuffer>, MessageBackupKey_GetAesKey: (key: Wrapper<MessageBackupKey>) => Uint8Array<ArrayBuffer>, MessageBackupValidator_Validate: (key: Wrapper<MessageBackupKey>, firstStream: InputStream, secondStream: InputStream, len: bigint, purpose: number) => Promise<MessageBackupValidationOutcome>, OnlineBackupValidator_New: (backupInfoFrame: Uint8Array<ArrayBuffer>, purpose: number) => OnlineBackupValidator, OnlineBackupValidator_AddFrame: (backup: Wrapper<OnlineBackupValidator>, frame: Uint8Array<ArrayBuffer>) => void, OnlineBackupValidator_Finalize: (backup: Wrapper<OnlineBackupValidator>) => void, BackupJsonExporter_New: (backupInfo: Uint8Array<ArrayBuffer>, shouldValidate: boolean) => BackupJsonExporter, BackupJsonExporter_GetInitialChunk: (exporter: Wrapper<BackupJsonExporter>) => string, BackupJsonExporter_ExportFrames: (exporter: Wrapper<BackupJsonExporter>, frames: Uint8Array<ArrayBuffer>) => JsonFrameExportResult[], BackupJsonExporter_Finish: (exporter: Wrapper<BackupJsonExporter>) => void, Username_Hash: (username: string) => Uint8Array<ArrayBuffer>, Username_Proof: (username: string, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, Username_Verify: (proof: Uint8Array<ArrayBuffer>, hash: Uint8Array<ArrayBuffer>) => void, Username_CandidatesFrom: (nickname: string, minLen: number, maxLen: number) => string[], Username_HashFromParts: (nickname: string, discriminator: string, minLen: number, maxLen: number) => Uint8Array<ArrayBuffer>, UsernameLink_Create: (username: string, entropy: Uint8Array<ArrayBuffer> | null) => Uint8Array<ArrayBuffer>, UsernameLink_DecryptUsername: (entropy: Uint8Array<ArrayBuffer>, encryptedUsername: Uint8Array<ArrayBuffer>) => string, SignalMedia_CheckAvailable: () => void, Mp4Sanitizer_Sanitize: (input: InputStream, len: bigint) => Promise<SanitizedMetadata>, WebpSanitizer_Sanitize: (input: SyncInputStream) => void, SanitizedMetadata_GetMetadata: (sanitized: Wrapper<SanitizedMetadata>) => Uint8Array<ArrayBuffer>, SanitizedMetadata_GetDataOffset: (sanitized: Wrapper<SanitizedMetadata>) => bigint, SanitizedMetadata_GetDataLen: (sanitized: Wrapper<SanitizedMetadata>) => bigint, BridgedStringMap_new: (initialCapacity: number) => BridgedStringMap, BridgedStringMap_insert: (map: Wrapper<BridgedStringMap>, key: string, value: string) => void, TESTING_NonSuspendingBackgroundThreadRuntime_New: () => NonSuspendingBackgroundThreadRuntime, TESTING_FutureSuccess: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: number) => CancellablePromise<number>, TESTING_TokioAsyncContext_FutureSuccessBytes: (asyncRuntime: Wrapper<TokioAsyncContext>, count: number) => CancellablePromise<Uint8Array<ArrayBuffer>>, TESTING_FutureFailure: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: number) => CancellablePromise<number>, TESTING_FutureCancellationCounter_Create: (initialValue: number) => TestingFutureCancellationCounter, TESTING_FutureCancellationCounter_WaitForCount: (asyncRuntime: Wrapper<TokioAsyncContext>, count: Wrapper<TestingFutureCancellationCounter>, target: number) => CancellablePromise<void>, TESTING_FutureIncrementOnCancel: (asyncRuntime: Wrapper<TokioAsyncContext>, _guard: TestingFutureCancellationGuard) => CancellablePromise<void>, TESTING_TokioAsyncFuture: (asyncRuntime: Wrapper<TokioAsyncContext>, input: number) => CancellablePromise<number>, TESTING_TestingHandleType_getValue: (handle: Wrapper<TestingHandleType>) => number, TESTING_FutureProducesPointerType: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: number) => CancellablePromise<TestingHandleType>, TESTING_OtherTestingHandleType_getValue: (handle: Wrapper<OtherTestingHandleType>) => string, TESTING_FutureProducesOtherPointerType: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: string) => CancellablePromise<OtherTestingHandleType>, TESTING_PanicOnBorrowSync: (_input: null) => void, TESTING_PanicOnBorrowAsync: (_input: null) => Promise<void>, TESTING_PanicOnBorrowIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null) => CancellablePromise<void>, TESTING_ErrorOnBorrowSync: (_input: null) => void, TESTING_ErrorOnBorrowAsync: (_input: null) => Promise<void>, TESTING_ErrorOnBorrowIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null) => CancellablePromise<void>, TESTING_PanicOnLoadSync: (_needsCleanup: null, _input: null) => void, TESTING_PanicOnLoadAsync: (_needsCleanup: null, _input: null) => Promise<void>, TESTING_PanicOnLoadIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _needsCleanup: null, _input: null) => CancellablePromise<void>, TESTING_PanicInBodySync: (_input: null) => void, TESTING_PanicInBodyAsync: (_input: null) => Promise<void>, TESTING_PanicInBodyIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null) => CancellablePromise<void>, TESTING_PanicOnReturnSync: (_needsCleanup: null) => null, TESTING_PanicOnReturnAsync: (_needsCleanup: null) => Promise<null>, TESTING_PanicOnReturnIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _needsCleanup: null) => CancellablePromise<null>, TESTING_ErrorOnReturnSync: (_needsCleanup: null) => null, TESTING_ErrorOnReturnAsync: (_needsCleanup: null) => Promise<null>, TESTING_ErrorOnReturnIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _needsCleanup: null) => CancellablePromise<null>, TESTING_ReturnStringArray: () => string[], TESTING_JoinStringArray: (array: string[], joinWith: string) => string, TESTING_ProcessBytestringArray: (input: Uint8Array<ArrayBuffer>[]) => Uint8Array<ArrayBuffer>[], TESTING_RoundTripU8: (input: number) => number, TESTING_RoundTripU16: (input: number) => number, TESTING_RoundTripU32: (input: number) => number, TESTING_RoundTripI32: (input: number) => number, TESTING_RoundTripU64: (input: bigint) => bigint, TESTING_ConvertOptionalUuid: (present: boolean) => Uuid | null, TESTING_InputStreamReadIntoZeroLengthSlice: (capsAlphabetInput: InputStream) => Promise<Uint8Array<ArrayBuffer>>, ComparableBackup_ReadUnencrypted: (stream: InputStream, len: bigint, purpose: number) => Promise<ComparableBackup>, ComparableBackup_GetComparableString: (backup: Wrapper<ComparableBackup>) => string, ComparableBackup_GetUnknownFields: (backup: Wrapper<ComparableBackup>) => string[], TESTING_FakeChatServer_Create: () => FakeChatServer, TESTING_FakeChatServer_GetNextRemote: (asyncRuntime: Wrapper<TokioAsyncContext>, server: Wrapper<FakeChatServer>) => CancellablePromise<FakeChatRemoteEnd>, TESTING_FakeChatConnection_Create: (tokio: Wrapper<TokioAsyncContext>, listener: ChatListener, alertsJoinedByNewlines: string) => FakeChatConnection, TESTING_FakeChatConnection_CreateProvisioning: (tokio: Wrapper<TokioAsyncContext>, listener: ProvisioningListener) => FakeChatConnection, TESTING_FakeChatConnection_TakeAuthenticatedChat: (chat: Wrapper<FakeChatConnection>) => AuthenticatedChatConnection, TESTING_FakeChatConnection_TakeUnauthenticatedChat: (chat: Wrapper<FakeChatConnection>) => UnauthenticatedChatConnection, TESTING_FakeChatConnection_TakeProvisioningChat: (chat: Wrapper<FakeChatConnection>) => ProvisioningChatConnection, TESTING_FakeChatConnection_TakeRemote: (chat: Wrapper<FakeChatConnection>) => FakeChatRemoteEnd, TESTING_FakeChatRemoteEnd_SendRawServerRequest: (chat: Wrapper<FakeChatRemoteEnd>, bytes: Uint8Array<ArrayBuffer>) => void, TESTING_FakeChatRemoteEnd_SendRawServerResponse: (chat: Wrapper<FakeChatRemoteEnd>, bytes: Uint8Array<ArrayBuffer>) => void, TESTING_FakeChatRemoteEnd_SendServerResponse: (chat: Wrapper<FakeChatRemoteEnd>, response: Wrapper<FakeChatResponse>) => void, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted: (chat: Wrapper<FakeChatRemoteEnd>) => void, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<FakeChatRemoteEnd>) => CancellablePromise<[HttpRequest, bigint] | null>, TESTING_ChatResponseConvert: (bodyPresent: boolean) => ChatResponse, TESTING_ChatRequestGetMethod: (request: Wrapper<HttpRequest>) => string, TESTING_ChatRequestGetPath: (request: Wrapper<HttpRequest>) => string, TESTING_ChatRequestGetHeaderNames: (request: Wrapper<HttpRequest>) => string[], TESTING_ChatRequestGetHeaderValue: (request: Wrapper<HttpRequest>, headerName: string) => string, TESTING_ChatRequestGetBody: (request: Wrapper<HttpRequest>) => Uint8Array<ArrayBuffer>, TESTING_FakeChatResponse_Create: (id: bigint, status: number, message: string, headers: string[], body: Uint8Array<ArrayBuffer> | null) => FakeChatResponse, TESTING_ChatConnectErrorConvert: (errorDescription: string) => void, TESTING_ChatSendErrorConvert: (errorDescription: string) => void, TESTING_KeyTransFatalVerificationFailure: () => void, TESTING_KeyTransNonFatalVerificationFailure: () => void, TESTING_KeyTransChatSendError: () => void, TESTING_RegistrationSessionInfoConvert: () => RegistrationSession, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert: () => CheckSvr2CredentialsResponse, TESTING_FakeRegistrationSession_CreateSession: (asyncRuntime: Wrapper<TokioAsyncContext>, createSession: RegistrationCreateSessionRequest, chat: Wrapper<FakeChatServer>) => CancellablePromise<RegistrationService>, TESTING_RegisterAccountResponse_CreateTestValue: () => RegisterAccountResponse, TESTING_RegistrationService_CreateSessionErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_ResumeSessionErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_UpdateSessionErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_RequestVerificationCodeErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_SubmitVerificationErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_RegisterAccountErrorConvert: (errorDescription: string) => void, TESTING_CdsiLookupResponseConvert: (asyncRuntime: Wrapper<TokioAsyncContext>) => CancellablePromise<LookupResponse>, TESTING_CdsiLookupErrorConvert: (errorDescription: string) => void, TESTING_ServerMessageAck_Create: () => ServerMessageAck, TESTING_ConnectionManager_newLocalOverride: (userAgent: string, chatPort: number, cdsiPort: number, svr2Port: number, svrBPort: number, rootCertificateDer: Uint8Array<ArrayBuffer>) => ConnectionManager, TESTING_ConnectionManager_isUsingProxy: (manager: Wrapper<ConnectionManager>) => number, TESTING_CreateOTP: (username: string, secret: Uint8Array<ArrayBuffer>) => string, TESTING_CreateOTPFromBase64: (username: string, secret: string) => string, TESTING_SignedPublicPreKey_CheckBridgesCorrectly: (sourcePublicKey: Wrapper<PublicKey>, signedPreKey: SignedPublicPreKey) => void, TestingSemaphore_New: (initial: number) => TestingSemaphore, TestingSemaphore_AddPermits: (semaphore: Wrapper<TestingSemaphore>, permits: number) => void, TestingValueHolder_New: (value: number) => TestingValueHolder, TestingValueHolder_Get: (holder: Wrapper<TestingValueHolder>) => number, TESTING_ReturnPair: () => [number, string], test_only_fn_returns_123: () => number, TESTING_BridgedStringMap_dump_to_json: (map: Wrapper<BridgedStringMap>) => string, TESTING_TokioAsyncContext_NewSingleThreaded: () => TokioAsyncContext;
|
|
97
|
-
export { registerErrors, initLogger, SealedSenderMultiRecipientMessage_Parse, MinidumpToJSONString, Aes256GcmSiv_New, Aes256GcmSiv_Encrypt, Aes256GcmSiv_Decrypt, PublicKey_HpkeSeal, PrivateKey_HpkeOpen, HKDF_DeriveSecrets, ServiceId_ServiceIdBinary, ServiceId_ServiceIdString, ServiceId_ServiceIdLog, ServiceId_ParseFromServiceIdBinary, ServiceId_ParseFromServiceIdString, ProtocolAddress_New, PublicKey_Deserialize, PublicKey_Serialize, PublicKey_GetPublicKeyBytes, ProtocolAddress_DeviceId, ProtocolAddress_Name, PublicKey_Equals, PublicKey_Verify, PrivateKey_Deserialize, PrivateKey_Serialize, PrivateKey_Generate, PrivateKey_GetPublicKey, PrivateKey_Sign, PrivateKey_Agree, KyberPublicKey_Serialize, KyberPublicKey_Deserialize, KyberSecretKey_Serialize, KyberSecretKey_Deserialize, KyberPublicKey_Equals, KyberKeyPair_Generate, KyberKeyPair_GetPublicKey, KyberKeyPair_GetSecretKey, IdentityKeyPair_Serialize, IdentityKeyPair_Deserialize, IdentityKeyPair_SignAlternateIdentity, IdentityKey_VerifyAlternateIdentity, Fingerprint_New, Fingerprint_ScannableEncoding, Fingerprint_DisplayString, ScannableFingerprint_Compare, SignalMessage_Deserialize, SignalMessage_GetBody, SignalMessage_GetSerialized, SignalMessage_GetCounter, SignalMessage_GetMessageVersion, SignalMessage_GetPqRatchet, SignalMessage_New, SignalMessage_VerifyMac, PreKeySignalMessage_New, PreKeySignalMessage_Deserialize, PreKeySignalMessage_Serialize, PreKeySignalMessage_GetRegistrationId, PreKeySignalMessage_GetSignedPreKeyId, PreKeySignalMessage_GetPreKeyId, PreKeySignalMessage_GetVersion, SenderKeyMessage_Deserialize, SenderKeyMessage_GetCipherText, SenderKeyMessage_Serialize, SenderKeyMessage_GetDistributionId, SenderKeyMessage_GetChainId, SenderKeyMessage_GetIteration, SenderKeyMessage_New, SenderKeyMessage_VerifySignature, SenderKeyDistributionMessage_Deserialize, SenderKeyDistributionMessage_GetChainKey, SenderKeyDistributionMessage_Serialize, SenderKeyDistributionMessage_GetDistributionId, SenderKeyDistributionMessage_GetChainId, SenderKeyDistributionMessage_GetIteration, SenderKeyDistributionMessage_New, DecryptionErrorMessage_Deserialize, DecryptionErrorMessage_GetTimestamp, DecryptionErrorMessage_GetDeviceId, DecryptionErrorMessage_Serialize, DecryptionErrorMessage_GetRatchetKey, DecryptionErrorMessage_ForOriginalMessage, DecryptionErrorMessage_ExtractFromSerializedContent, PlaintextContent_Deserialize, PlaintextContent_Serialize, PlaintextContent_GetBody, PlaintextContent_FromDecryptionErrorMessage, PreKeyBundle_New, PreKeyBundle_GetIdentityKey, PreKeyBundle_GetSignedPreKeySignature, PreKeyBundle_GetKyberPreKeySignature, PreKeyBundle_GetRegistrationId, PreKeyBundle_GetDeviceId, PreKeyBundle_GetSignedPreKeyId, PreKeyBundle_GetKyberPreKeyId, PreKeyBundle_GetPreKeyId, PreKeyBundle_GetPreKeyPublic, PreKeyBundle_GetSignedPreKeyPublic, PreKeyBundle_GetKyberPreKeyPublic, SignedPreKeyRecord_Deserialize, SignedPreKeyRecord_GetSignature, SignedPreKeyRecord_Serialize, SignedPreKeyRecord_GetId, SignedPreKeyRecord_GetTimestamp, SignedPreKeyRecord_GetPublicKey, SignedPreKeyRecord_GetPrivateKey, KyberPreKeyRecord_Deserialize, KyberPreKeyRecord_GetSignature, KyberPreKeyRecord_Serialize, KyberPreKeyRecord_GetId, KyberPreKeyRecord_GetTimestamp, KyberPreKeyRecord_GetPublicKey, KyberPreKeyRecord_GetSecretKey, KyberPreKeyRecord_GetKeyPair, SignedPreKeyRecord_New, KyberPreKeyRecord_New, PreKeyRecord_Deserialize, PreKeyRecord_Serialize, PreKeyRecord_GetId, PreKeyRecord_GetPublicKey, PreKeyRecord_GetPrivateKey, PreKeyRecord_New, SenderKeyRecord_Deserialize, SenderKeyRecord_Serialize, ServerCertificate_Deserialize, ServerCertificate_GetSerialized, ServerCertificate_GetCertificate, ServerCertificate_GetSignature, ServerCertificate_GetKeyId, ServerCertificate_GetKey, ServerCertificate_New, SenderCertificate_Deserialize, SenderCertificate_GetSerialized, SenderCertificate_GetCertificate, SenderCertificate_GetSignature, SenderCertificate_GetSenderUuid, SenderCertificate_GetSenderE164, SenderCertificate_GetExpiration, SenderCertificate_GetDeviceId, SenderCertificate_GetKey, SenderCertificate_Validate, SenderCertificate_GetServerCertificate, SenderCertificate_New, UnidentifiedSenderMessageContent_Deserialize, UnidentifiedSenderMessageContent_Serialize, UnidentifiedSenderMessageContent_GetContents, UnidentifiedSenderMessageContent_GetGroupId, UnidentifiedSenderMessageContent_GetSenderCert, UnidentifiedSenderMessageContent_GetMsgType, UnidentifiedSenderMessageContent_GetContentHint, UnidentifiedSenderMessageContent_New, CiphertextMessage_Type, CiphertextMessage_Serialize, CiphertextMessage_FromPlaintextContent, SessionRecord_ArchiveCurrentState, SessionRecord_HasUsableSenderChain, SessionRecord_CurrentRatchetKeyMatches, SessionRecord_Deserialize, SessionRecord_Serialize, SessionRecord_GetLocalRegistrationId, SessionRecord_GetRemoteRegistrationId, SealedSenderDecryptionResult_GetSenderUuid, SealedSenderDecryptionResult_GetSenderE164, SealedSenderDecryptionResult_GetDeviceId, SealedSenderDecryptionResult_Message, SessionBuilder_ProcessPreKeyBundle, SessionCipher_EncryptMessage, SessionCipher_DecryptSignalMessage, SessionCipher_DecryptPreKeySignalMessage, SealedSender_Encrypt, SealedSender_MultiRecipientEncrypt, SealedSender_MultiRecipientMessageForSingleRecipient, SealedSender_DecryptToUsmc, SealedSender_DecryptMessage, SenderKeyDistributionMessage_Create, SenderKeyDistributionMessage_Process, GroupCipher_EncryptMessage, GroupCipher_DecryptMessage, Cds2ClientState_New, HsmEnclaveClient_New, HsmEnclaveClient_CompleteHandshake, HsmEnclaveClient_EstablishedSend, HsmEnclaveClient_EstablishedRecv, HsmEnclaveClient_InitialRequest, SgxClientState_InitialRequest, SgxClientState_CompleteHandshake, SgxClientState_EstablishedSend, SgxClientState_EstablishedRecv, ExpiringProfileKeyCredential_CheckValidContents, ExpiringProfileKeyCredentialResponse_CheckValidContents, GroupMasterKey_CheckValidContents, GroupPublicParams_CheckValidContents, GroupSecretParams_CheckValidContents, ProfileKey_CheckValidContents, ProfileKeyCiphertext_CheckValidContents, ProfileKeyCommitment_CheckValidContents, ProfileKeyCredentialRequest_CheckValidContents, ProfileKeyCredentialRequestContext_CheckValidContents, ReceiptCredential_CheckValidContents, ReceiptCredentialPresentation_CheckValidContents, ReceiptCredentialRequest_CheckValidContents, ReceiptCredentialRequestContext_CheckValidContents, ReceiptCredentialResponse_CheckValidContents, UuidCiphertext_CheckValidContents, ServerPublicParams_Deserialize, ServerPublicParams_Serialize, ServerSecretParams_Deserialize, ServerSecretParams_Serialize, ProfileKey_GetCommitment, ProfileKey_GetProfileKeyVersion, ProfileKey_DeriveAccessKey, GroupSecretParams_GenerateDeterministic, GroupSecretParams_DeriveFromMasterKey, GroupSecretParams_GetMasterKey, GroupSecretParams_GetPublicParams, GroupSecretParams_EncryptServiceId, GroupSecretParams_DecryptServiceId, GroupSecretParams_EncryptProfileKey, GroupSecretParams_DecryptProfileKey, GroupSecretParams_EncryptBlobWithPaddingDeterministic, GroupSecretParams_DecryptBlobWithPadding, ServerSecretParams_GenerateDeterministic, ServerSecretParams_GetPublicParams, ServerSecretParams_SignDeterministic, ServerPublicParams_GetEndorsementPublicKey, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic, ServerPublicParams_ReceiveExpiringProfileKeyCredential, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic, ServerPublicParams_ReceiveReceiptCredential, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic, AuthCredentialWithPni_CheckValidContents, AuthCredentialWithPniResponse_CheckValidContents, ServerSecretParams_VerifyAuthCredentialPresentation, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic, ServerSecretParams_VerifyProfileKeyCredentialPresentation, ServerSecretParams_IssueReceiptCredentialDeterministic, ServerSecretParams_VerifyReceiptCredentialPresentation, GroupPublicParams_GetGroupIdentifier, ServerPublicParams_VerifySignature, AuthCredentialPresentation_CheckValidContents, AuthCredentialPresentation_GetUuidCiphertext, AuthCredentialPresentation_GetPniCiphertext, AuthCredentialPresentation_GetRedemptionTime, ProfileKeyCredentialRequestContext_GetRequest, ExpiringProfileKeyCredential_GetExpirationTime, ProfileKeyCredentialPresentation_CheckValidContents, ProfileKeyCredentialPresentation_GetUuidCiphertext, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext, ReceiptCredentialRequestContext_GetRequest, ReceiptCredential_GetReceiptExpirationTime, ReceiptCredential_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptExpirationTime, ReceiptCredentialPresentation_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptSerial, GenericServerSecretParams_CheckValidContents, GenericServerSecretParams_GenerateDeterministic, GenericServerSecretParams_GetPublicParams, GenericServerPublicParams_CheckValidContents, CallLinkSecretParams_CheckValidContents, CallLinkSecretParams_DeriveFromRootKey, CallLinkSecretParams_GetPublicParams, CallLinkSecretParams_DecryptUserId, CallLinkSecretParams_EncryptUserId, CallLinkPublicParams_CheckValidContents, CreateCallLinkCredentialRequestContext_CheckValidContents, CreateCallLinkCredentialRequestContext_NewDeterministic, CreateCallLinkCredentialRequestContext_GetRequest, CreateCallLinkCredentialRequest_CheckValidContents, CreateCallLinkCredentialRequest_IssueDeterministic, CreateCallLinkCredentialResponse_CheckValidContents, CreateCallLinkCredentialRequestContext_ReceiveResponse, CreateCallLinkCredential_CheckValidContents, CreateCallLinkCredential_PresentDeterministic, CreateCallLinkCredentialPresentation_CheckValidContents, CreateCallLinkCredentialPresentation_Verify, CallLinkAuthCredentialResponse_CheckValidContents, CallLinkAuthCredentialResponse_IssueDeterministic, CallLinkAuthCredentialResponse_Receive, CallLinkAuthCredential_CheckValidContents, CallLinkAuthCredential_PresentDeterministic, CallLinkAuthCredentialPresentation_CheckValidContents, CallLinkAuthCredentialPresentation_Verify, CallLinkAuthCredentialPresentation_GetUserId, BackupAuthCredentialRequestContext_New, BackupAuthCredentialRequestContext_CheckValidContents, BackupAuthCredentialRequestContext_GetRequest, BackupAuthCredentialRequest_CheckValidContents, BackupAuthCredentialRequest_IssueDeterministic, BackupAuthCredentialResponse_CheckValidContents, BackupAuthCredentialRequestContext_ReceiveResponse, BackupAuthCredential_CheckValidContents, BackupAuthCredential_GetBackupId, BackupAuthCredential_GetBackupLevel, BackupAuthCredential_GetType, BackupAuthCredential_PresentDeterministic, BackupAuthCredentialPresentation_CheckValidContents, BackupAuthCredentialPresentation_Verify, BackupAuthCredentialPresentation_GetBackupId, BackupAuthCredentialPresentation_GetBackupLevel, BackupAuthCredentialPresentation_GetType, GroupSendDerivedKeyPair_CheckValidContents, GroupSendDerivedKeyPair_ForExpiration, GroupSendEndorsementsResponse_CheckValidContents, GroupSendEndorsementsResponse_IssueDeterministic, GroupSendEndorsementsResponse_GetExpiration, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts, GroupSendEndorsement_CheckValidContents, GroupSendEndorsement_Combine, GroupSendEndorsement_Remove, GroupSendEndorsement_ToToken, GroupSendEndorsement_CallLinkParams_ToToken, GroupSendToken_CheckValidContents, GroupSendToken_ToFullToken, GroupSendFullToken_CheckValidContents, GroupSendFullToken_GetExpiration, GroupSendFullToken_Verify, LookupRequest_new, LookupRequest_addE164, LookupRequest_addPreviousE164, LookupRequest_setToken, LookupRequest_addAciAndAccessKey, CdsiLookup_new, CdsiLookup_token, CdsiLookup_complete, HttpRequest_new, HttpRequest_add_header, ChatConnectionInfo_local_port, ChatConnectionInfo_ip_version, ChatConnectionInfo_description, UnauthenticatedChatConnection_connect, UnauthenticatedChatConnection_init_listener, UnauthenticatedChatConnection_send, UnauthenticatedChatConnection_disconnect, UnauthenticatedChatConnection_info, UnauthenticatedChatConnection_look_up_username_hash, UnauthenticatedChatConnection_look_up_username_link, UnauthenticatedChatConnection_send_multi_recipient_message, AuthenticatedChatConnection_preconnect, AuthenticatedChatConnection_connect, AuthenticatedChatConnection_init_listener, AuthenticatedChatConnection_send, AuthenticatedChatConnection_disconnect, AuthenticatedChatConnection_info, ServerMessageAck_SendStatus, ProvisioningChatConnection_connect, ProvisioningChatConnection_init_listener, ProvisioningChatConnection_info, ProvisioningChatConnection_disconnect, UnauthenticatedChatConnection_get_pre_keys_access_key_auth, UnauthenticatedChatConnection_get_pre_keys_access_group_auth, UnauthenticatedChatConnection_account_exists, KeyTransparency_AciSearchKey, KeyTransparency_E164SearchKey, KeyTransparency_UsernameHashSearchKey, KeyTransparency_Search, KeyTransparency_Monitor, KeyTransparency_Distinguished, RegistrationService_CreateSession, RegistrationService_ResumeSession, RegistrationService_RequestVerificationCode, RegistrationService_SubmitVerificationCode, RegistrationService_SubmitCaptcha, RegistrationService_CheckSvr2Credentials, RegistrationService_RegisterAccount, RegistrationService_ReregisterAccount, RegistrationService_SessionId, RegistrationService_RegistrationSession, RegistrationSession_GetAllowedToRequestCode, RegistrationSession_GetVerified, RegistrationSession_GetNextCallSeconds, RegistrationSession_GetNextSmsSeconds, RegistrationSession_GetNextVerificationAttemptSeconds, RegistrationSession_GetRequestedInformation, RegisterAccountRequest_Create, RegisterAccountRequest_SetSkipDeviceTransfer, RegisterAccountRequest_SetAccountPassword, RegisterAccountRequest_SetIdentityPublicKey, RegisterAccountRequest_SetIdentitySignedPreKey, RegisterAccountRequest_SetIdentityPqLastResortPreKey, RegistrationAccountAttributes_Create, RegisterAccountResponse_GetIdentity, RegisterAccountResponse_GetNumber, RegisterAccountResponse_GetUsernameHash, RegisterAccountResponse_GetUsernameLinkHandle, RegisterAccountResponse_GetStorageCapable, RegisterAccountResponse_GetReregistration, RegisterAccountResponse_GetEntitlementBadges, RegisterAccountResponse_GetEntitlementBackupLevel, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds, SecureValueRecoveryForBackups_CreateNewBackupChain, SecureValueRecoveryForBackups_StoreBackup, SecureValueRecoveryForBackups_RestoreBackupFromServer, SecureValueRecoveryForBackups_RemoveBackup, BackupStoreResponse_GetForwardSecrecyToken, BackupStoreResponse_GetOpaqueMetadata, BackupStoreResponse_GetNextBackupSecretData, BackupRestoreResponse_GetForwardSecrecyToken, BackupRestoreResponse_GetNextBackupSecretData, TokioAsyncContext_new, TokioAsyncContext_cancel, ConnectionProxyConfig_new, ConnectionManager_new, ConnectionManager_set_proxy, ConnectionManager_set_invalid_proxy, ConnectionManager_clear_proxy, ConnectionManager_set_ipv6_enabled, ConnectionManager_set_censorship_circumvention_enabled, ConnectionManager_set_remote_config, ConnectionManager_on_network_change, AccountEntropyPool_Generate, AccountEntropyPool_IsValid, AccountEntropyPool_DeriveSvrKey, AccountEntropyPool_DeriveBackupKey, BackupKey_DeriveBackupId, BackupKey_DeriveEcKey, BackupKey_DeriveLocalBackupMetadataKey, BackupKey_DeriveMediaId, BackupKey_DeriveMediaEncryptionKey, BackupKey_DeriveThumbnailTransitEncryptionKey, IncrementalMac_CalculateChunkSize, IncrementalMac_Initialize, IncrementalMac_Update, IncrementalMac_Finalize, ValidatingMac_Initialize, ValidatingMac_Update, ValidatingMac_Finalize, MessageBackupKey_FromAccountEntropyPool, MessageBackupKey_FromBackupKeyAndBackupId, MessageBackupKey_GetHmacKey, MessageBackupKey_GetAesKey, MessageBackupValidator_Validate, OnlineBackupValidator_New, OnlineBackupValidator_AddFrame, OnlineBackupValidator_Finalize, BackupJsonExporter_New, BackupJsonExporter_GetInitialChunk, BackupJsonExporter_ExportFrames, BackupJsonExporter_Finish, Username_Hash, Username_Proof, Username_Verify, Username_CandidatesFrom, Username_HashFromParts, UsernameLink_Create, UsernameLink_DecryptUsername, SignalMedia_CheckAvailable, Mp4Sanitizer_Sanitize, WebpSanitizer_Sanitize, SanitizedMetadata_GetMetadata, SanitizedMetadata_GetDataOffset, SanitizedMetadata_GetDataLen, BridgedStringMap_new, BridgedStringMap_insert, TESTING_NonSuspendingBackgroundThreadRuntime_New, TESTING_FutureSuccess, TESTING_TokioAsyncContext_FutureSuccessBytes, TESTING_FutureFailure, TESTING_FutureCancellationCounter_Create, TESTING_FutureCancellationCounter_WaitForCount, TESTING_FutureIncrementOnCancel, TESTING_TokioAsyncFuture, TESTING_TestingHandleType_getValue, TESTING_FutureProducesPointerType, TESTING_OtherTestingHandleType_getValue, TESTING_FutureProducesOtherPointerType, TESTING_PanicOnBorrowSync, TESTING_PanicOnBorrowAsync, TESTING_PanicOnBorrowIo, TESTING_ErrorOnBorrowSync, TESTING_ErrorOnBorrowAsync, TESTING_ErrorOnBorrowIo, TESTING_PanicOnLoadSync, TESTING_PanicOnLoadAsync, TESTING_PanicOnLoadIo, TESTING_PanicInBodySync, TESTING_PanicInBodyAsync, TESTING_PanicInBodyIo, TESTING_PanicOnReturnSync, TESTING_PanicOnReturnAsync, TESTING_PanicOnReturnIo, TESTING_ErrorOnReturnSync, TESTING_ErrorOnReturnAsync, TESTING_ErrorOnReturnIo, TESTING_ReturnStringArray, TESTING_JoinStringArray, TESTING_ProcessBytestringArray, TESTING_RoundTripU8, TESTING_RoundTripU16, TESTING_RoundTripU32, TESTING_RoundTripI32, TESTING_RoundTripU64, TESTING_ConvertOptionalUuid, TESTING_InputStreamReadIntoZeroLengthSlice, ComparableBackup_ReadUnencrypted, ComparableBackup_GetComparableString, ComparableBackup_GetUnknownFields, TESTING_FakeChatServer_Create, TESTING_FakeChatServer_GetNextRemote, TESTING_FakeChatConnection_Create, TESTING_FakeChatConnection_CreateProvisioning, TESTING_FakeChatConnection_TakeAuthenticatedChat, TESTING_FakeChatConnection_TakeUnauthenticatedChat, TESTING_FakeChatConnection_TakeProvisioningChat, TESTING_FakeChatConnection_TakeRemote, TESTING_FakeChatRemoteEnd_SendRawServerRequest, TESTING_FakeChatRemoteEnd_SendRawServerResponse, TESTING_FakeChatRemoteEnd_SendServerResponse, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest, TESTING_ChatResponseConvert, TESTING_ChatRequestGetMethod, TESTING_ChatRequestGetPath, TESTING_ChatRequestGetHeaderNames, TESTING_ChatRequestGetHeaderValue, TESTING_ChatRequestGetBody, TESTING_FakeChatResponse_Create, TESTING_ChatConnectErrorConvert, TESTING_ChatSendErrorConvert, TESTING_KeyTransFatalVerificationFailure, TESTING_KeyTransNonFatalVerificationFailure, TESTING_KeyTransChatSendError, TESTING_RegistrationSessionInfoConvert, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert, TESTING_FakeRegistrationSession_CreateSession, TESTING_RegisterAccountResponse_CreateTestValue, TESTING_RegistrationService_CreateSessionErrorConvert, TESTING_RegistrationService_ResumeSessionErrorConvert, TESTING_RegistrationService_UpdateSessionErrorConvert, TESTING_RegistrationService_RequestVerificationCodeErrorConvert, TESTING_RegistrationService_SubmitVerificationErrorConvert, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert, TESTING_RegistrationService_RegisterAccountErrorConvert, TESTING_CdsiLookupResponseConvert, TESTING_CdsiLookupErrorConvert, TESTING_ServerMessageAck_Create, TESTING_ConnectionManager_newLocalOverride, TESTING_ConnectionManager_isUsingProxy, TESTING_CreateOTP, TESTING_CreateOTPFromBase64, TESTING_SignedPublicPreKey_CheckBridgesCorrectly, TestingSemaphore_New, TestingSemaphore_AddPermits, TestingValueHolder_New, TestingValueHolder_Get, TESTING_ReturnPair, test_only_fn_returns_123, TESTING_BridgedStringMap_dump_to_json, TESTING_TokioAsyncContext_NewSingleThreaded, };
|
|
99
|
+
declare const registerErrors: (errorsModule: Record<string, unknown>) => void, initLogger: (maxLevel: LogLevel, callback: (level: LogLevel, target: string, file: string | null, line: number | null, message: string) => void) => void, SealedSenderMultiRecipientMessage_Parse: (buffer: Uint8Array<ArrayBuffer>) => SealedSenderMultiRecipientMessage, MinidumpToJSONString: (buffer: Uint8Array<ArrayBuffer>) => string, Aes256GcmSiv_New: (key: Uint8Array<ArrayBuffer>) => Aes256GcmSiv, Aes256GcmSiv_Encrypt: (aesGcmSivObj: Wrapper<Aes256GcmSiv>, ptext: Uint8Array<ArrayBuffer>, nonce: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, Aes256GcmSiv_Decrypt: (aesGcmSiv: Wrapper<Aes256GcmSiv>, ctext: Uint8Array<ArrayBuffer>, nonce: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, PublicKey_HpkeSeal: (pk: Wrapper<PublicKey>, plaintext: Uint8Array<ArrayBuffer>, info: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, PrivateKey_HpkeOpen: (sk: Wrapper<PrivateKey>, ciphertext: Uint8Array<ArrayBuffer>, info: Uint8Array<ArrayBuffer>, associatedData: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, HKDF_DeriveSecrets: (outputLength: number, ikm: Uint8Array<ArrayBuffer>, label: Uint8Array<ArrayBuffer> | null, salt: Uint8Array<ArrayBuffer> | null) => Uint8Array<ArrayBuffer>, ServiceId_ServiceIdBinary: (value: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServiceId_ServiceIdString: (value: Uint8Array<ArrayBuffer>) => string, ServiceId_ServiceIdLog: (value: Uint8Array<ArrayBuffer>) => string, ServiceId_ParseFromServiceIdBinary: (input: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServiceId_ParseFromServiceIdString: (input: string) => Uint8Array<ArrayBuffer>, ProtocolAddress_New: (name: string, deviceId: number) => ProtocolAddress, PublicKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => PublicKey, PublicKey_Serialize: (obj: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, PublicKey_GetPublicKeyBytes: (obj: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, ProtocolAddress_DeviceId: (obj: Wrapper<ProtocolAddress>) => number, ProtocolAddress_Name: (obj: Wrapper<ProtocolAddress>) => string, PublicKey_Equals: (lhs: Wrapper<PublicKey>, rhs: Wrapper<PublicKey>) => boolean, PublicKey_Verify: (key: Wrapper<PublicKey>, message: Uint8Array<ArrayBuffer>, signature: Uint8Array<ArrayBuffer>) => boolean, PrivateKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => PrivateKey, PrivateKey_Serialize: (obj: Wrapper<PrivateKey>) => Uint8Array<ArrayBuffer>, PrivateKey_Generate: () => PrivateKey, PrivateKey_GetPublicKey: (k: Wrapper<PrivateKey>) => PublicKey, PrivateKey_Sign: (key: Wrapper<PrivateKey>, message: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, PrivateKey_Agree: (privateKey: Wrapper<PrivateKey>, publicKey: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, KyberPublicKey_Serialize: (obj: Wrapper<KyberPublicKey>) => Uint8Array<ArrayBuffer>, KyberPublicKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => KyberPublicKey, KyberSecretKey_Serialize: (obj: Wrapper<KyberSecretKey>) => Uint8Array<ArrayBuffer>, KyberSecretKey_Deserialize: (data: Uint8Array<ArrayBuffer>) => KyberSecretKey, KyberPublicKey_Equals: (lhs: Wrapper<KyberPublicKey>, rhs: Wrapper<KyberPublicKey>) => boolean, KyberKeyPair_Generate: () => KyberKeyPair, KyberKeyPair_GetPublicKey: (keyPair: Wrapper<KyberKeyPair>) => KyberPublicKey, KyberKeyPair_GetSecretKey: (keyPair: Wrapper<KyberKeyPair>) => KyberSecretKey, IdentityKeyPair_Serialize: (publicKey: Wrapper<PublicKey>, privateKey: Wrapper<PrivateKey>) => Uint8Array<ArrayBuffer>, IdentityKeyPair_Deserialize: (input: Uint8Array<ArrayBuffer>) => [PublicKey, PrivateKey], IdentityKeyPair_SignAlternateIdentity: (publicKey: Wrapper<PublicKey>, privateKey: Wrapper<PrivateKey>, otherIdentity: Wrapper<PublicKey>) => Uint8Array<ArrayBuffer>, IdentityKey_VerifyAlternateIdentity: (publicKey: Wrapper<PublicKey>, otherIdentity: Wrapper<PublicKey>, signature: Uint8Array<ArrayBuffer>) => boolean, Fingerprint_New: (iterations: number, version: number, localIdentifier: Uint8Array<ArrayBuffer>, localKey: Wrapper<PublicKey>, remoteIdentifier: Uint8Array<ArrayBuffer>, remoteKey: Wrapper<PublicKey>) => Fingerprint, Fingerprint_ScannableEncoding: (obj: Wrapper<Fingerprint>) => Uint8Array<ArrayBuffer>, Fingerprint_DisplayString: (obj: Wrapper<Fingerprint>) => string, ScannableFingerprint_Compare: (fprint1: Uint8Array<ArrayBuffer>, fprint2: Uint8Array<ArrayBuffer>) => boolean, SignalMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => SignalMessage, SignalMessage_GetBody: (obj: Wrapper<SignalMessage>) => Uint8Array<ArrayBuffer>, SignalMessage_GetSerialized: (obj: Wrapper<SignalMessage>) => Uint8Array<ArrayBuffer>, SignalMessage_GetCounter: (obj: Wrapper<SignalMessage>) => number, SignalMessage_GetMessageVersion: (obj: Wrapper<SignalMessage>) => number, SignalMessage_GetPqRatchet: (msg: Wrapper<SignalMessage>) => Uint8Array<ArrayBuffer>, SignalMessage_New: (messageVersion: number, macKey: Uint8Array<ArrayBuffer>, senderRatchetKey: Wrapper<PublicKey>, counter: number, previousCounter: number, ciphertext: Uint8Array<ArrayBuffer>, senderIdentityKey: Wrapper<PublicKey>, receiverIdentityKey: Wrapper<PublicKey>, pqRatchet: Uint8Array<ArrayBuffer>) => SignalMessage, SignalMessage_VerifyMac: (msg: Wrapper<SignalMessage>, senderIdentityKey: Wrapper<PublicKey>, receiverIdentityKey: Wrapper<PublicKey>, macKey: Uint8Array<ArrayBuffer>) => boolean, PreKeySignalMessage_New: (messageVersion: number, registrationId: number, preKeyId: number | null, signedPreKeyId: number, baseKey: Wrapper<PublicKey>, identityKey: Wrapper<PublicKey>, signalMessage: Wrapper<SignalMessage>) => PreKeySignalMessage, PreKeySignalMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => PreKeySignalMessage, PreKeySignalMessage_Serialize: (obj: Wrapper<PreKeySignalMessage>) => Uint8Array<ArrayBuffer>, PreKeySignalMessage_GetRegistrationId: (obj: Wrapper<PreKeySignalMessage>) => number, PreKeySignalMessage_GetSignedPreKeyId: (obj: Wrapper<PreKeySignalMessage>) => number, PreKeySignalMessage_GetPreKeyId: (obj: Wrapper<PreKeySignalMessage>) => number | null, PreKeySignalMessage_GetVersion: (obj: Wrapper<PreKeySignalMessage>) => number, SenderKeyMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderKeyMessage, SenderKeyMessage_GetCipherText: (obj: Wrapper<SenderKeyMessage>) => Uint8Array<ArrayBuffer>, SenderKeyMessage_Serialize: (obj: Wrapper<SenderKeyMessage>) => Uint8Array<ArrayBuffer>, SenderKeyMessage_GetDistributionId: (obj: Wrapper<SenderKeyMessage>) => Uuid, SenderKeyMessage_GetChainId: (obj: Wrapper<SenderKeyMessage>) => number, SenderKeyMessage_GetIteration: (obj: Wrapper<SenderKeyMessage>) => number, SenderKeyMessage_New: (messageVersion: number, distributionId: Uuid, chainId: number, iteration: number, ciphertext: Uint8Array<ArrayBuffer>, pk: Wrapper<PrivateKey>) => SenderKeyMessage, SenderKeyMessage_VerifySignature: (skm: Wrapper<SenderKeyMessage>, pubkey: Wrapper<PublicKey>) => boolean, SenderKeyDistributionMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderKeyDistributionMessage, SenderKeyDistributionMessage_GetChainKey: (obj: Wrapper<SenderKeyDistributionMessage>) => Uint8Array<ArrayBuffer>, SenderKeyDistributionMessage_Serialize: (obj: Wrapper<SenderKeyDistributionMessage>) => Uint8Array<ArrayBuffer>, SenderKeyDistributionMessage_GetDistributionId: (obj: Wrapper<SenderKeyDistributionMessage>) => Uuid, SenderKeyDistributionMessage_GetChainId: (obj: Wrapper<SenderKeyDistributionMessage>) => number, SenderKeyDistributionMessage_GetIteration: (obj: Wrapper<SenderKeyDistributionMessage>) => number, SenderKeyDistributionMessage_New: (messageVersion: number, distributionId: Uuid, chainId: number, iteration: number, chainkey: Uint8Array<ArrayBuffer>, pk: Wrapper<PublicKey>) => SenderKeyDistributionMessage, DecryptionErrorMessage_Deserialize: (data: Uint8Array<ArrayBuffer>) => DecryptionErrorMessage, DecryptionErrorMessage_GetTimestamp: (obj: Wrapper<DecryptionErrorMessage>) => Timestamp, DecryptionErrorMessage_GetDeviceId: (obj: Wrapper<DecryptionErrorMessage>) => number, DecryptionErrorMessage_Serialize: (obj: Wrapper<DecryptionErrorMessage>) => Uint8Array<ArrayBuffer>, DecryptionErrorMessage_GetRatchetKey: (m: Wrapper<DecryptionErrorMessage>) => PublicKey | null, DecryptionErrorMessage_ForOriginalMessage: (originalBytes: Uint8Array<ArrayBuffer>, originalType: number, originalTimestamp: Timestamp, originalSenderDeviceId: number) => DecryptionErrorMessage, DecryptionErrorMessage_ExtractFromSerializedContent: (bytes: Uint8Array<ArrayBuffer>) => DecryptionErrorMessage, PlaintextContent_Deserialize: (data: Uint8Array<ArrayBuffer>) => PlaintextContent, PlaintextContent_Serialize: (obj: Wrapper<PlaintextContent>) => Uint8Array<ArrayBuffer>, PlaintextContent_GetBody: (obj: Wrapper<PlaintextContent>) => Uint8Array<ArrayBuffer>, PlaintextContent_FromDecryptionErrorMessage: (m: Wrapper<DecryptionErrorMessage>) => PlaintextContent, PreKeyBundle_New: (registrationId: number, deviceId: number, prekeyId: number | null, prekey: Wrapper<PublicKey> | null, signedPrekeyId: number, signedPrekey: Wrapper<PublicKey>, signedPrekeySignature: Uint8Array<ArrayBuffer>, identityKey: Wrapper<PublicKey>, kyberPrekeyId: number, kyberPrekey: Wrapper<KyberPublicKey>, kyberPrekeySignature: Uint8Array<ArrayBuffer>) => PreKeyBundle, PreKeyBundle_GetIdentityKey: (p: Wrapper<PreKeyBundle>) => PublicKey, PreKeyBundle_GetSignedPreKeySignature: (obj: Wrapper<PreKeyBundle>) => Uint8Array<ArrayBuffer>, PreKeyBundle_GetKyberPreKeySignature: (obj: Wrapper<PreKeyBundle>) => Uint8Array<ArrayBuffer>, PreKeyBundle_GetRegistrationId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetDeviceId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetSignedPreKeyId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetKyberPreKeyId: (obj: Wrapper<PreKeyBundle>) => number, PreKeyBundle_GetPreKeyId: (obj: Wrapper<PreKeyBundle>) => number | null, PreKeyBundle_GetPreKeyPublic: (obj: Wrapper<PreKeyBundle>) => PublicKey | null, PreKeyBundle_GetSignedPreKeyPublic: (obj: Wrapper<PreKeyBundle>) => PublicKey, PreKeyBundle_GetKyberPreKeyPublic: (bundle: Wrapper<PreKeyBundle>) => KyberPublicKey, SignedPreKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => SignedPreKeyRecord, SignedPreKeyRecord_GetSignature: (obj: Wrapper<SignedPreKeyRecord>) => Uint8Array<ArrayBuffer>, SignedPreKeyRecord_Serialize: (obj: Wrapper<SignedPreKeyRecord>) => Uint8Array<ArrayBuffer>, SignedPreKeyRecord_GetId: (obj: Wrapper<SignedPreKeyRecord>) => number, SignedPreKeyRecord_GetTimestamp: (obj: Wrapper<SignedPreKeyRecord>) => Timestamp, SignedPreKeyRecord_GetPublicKey: (obj: Wrapper<SignedPreKeyRecord>) => PublicKey, SignedPreKeyRecord_GetPrivateKey: (obj: Wrapper<SignedPreKeyRecord>) => PrivateKey, KyberPreKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => KyberPreKeyRecord, KyberPreKeyRecord_GetSignature: (obj: Wrapper<KyberPreKeyRecord>) => Uint8Array<ArrayBuffer>, KyberPreKeyRecord_Serialize: (obj: Wrapper<KyberPreKeyRecord>) => Uint8Array<ArrayBuffer>, KyberPreKeyRecord_GetId: (obj: Wrapper<KyberPreKeyRecord>) => number, KyberPreKeyRecord_GetTimestamp: (obj: Wrapper<KyberPreKeyRecord>) => Timestamp, KyberPreKeyRecord_GetPublicKey: (obj: Wrapper<KyberPreKeyRecord>) => KyberPublicKey, KyberPreKeyRecord_GetSecretKey: (obj: Wrapper<KyberPreKeyRecord>) => KyberSecretKey, KyberPreKeyRecord_GetKeyPair: (obj: Wrapper<KyberPreKeyRecord>) => KyberKeyPair, SignedPreKeyRecord_New: (id: number, timestamp: Timestamp, pubKey: Wrapper<PublicKey>, privKey: Wrapper<PrivateKey>, signature: Uint8Array<ArrayBuffer>) => SignedPreKeyRecord, KyberPreKeyRecord_New: (id: number, timestamp: Timestamp, keyPair: Wrapper<KyberKeyPair>, signature: Uint8Array<ArrayBuffer>) => KyberPreKeyRecord, PreKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => PreKeyRecord, PreKeyRecord_Serialize: (obj: Wrapper<PreKeyRecord>) => Uint8Array<ArrayBuffer>, PreKeyRecord_GetId: (obj: Wrapper<PreKeyRecord>) => number, PreKeyRecord_GetPublicKey: (obj: Wrapper<PreKeyRecord>) => PublicKey, PreKeyRecord_GetPrivateKey: (obj: Wrapper<PreKeyRecord>) => PrivateKey, PreKeyRecord_New: (id: number, pubKey: Wrapper<PublicKey>, privKey: Wrapper<PrivateKey>) => PreKeyRecord, SenderKeyRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderKeyRecord, SenderKeyRecord_Serialize: (obj: Wrapper<SenderKeyRecord>) => Uint8Array<ArrayBuffer>, ServerCertificate_Deserialize: (data: Uint8Array<ArrayBuffer>) => ServerCertificate, ServerCertificate_GetSerialized: (obj: Wrapper<ServerCertificate>) => Uint8Array<ArrayBuffer>, ServerCertificate_GetCertificate: (obj: Wrapper<ServerCertificate>) => Uint8Array<ArrayBuffer>, ServerCertificate_GetSignature: (obj: Wrapper<ServerCertificate>) => Uint8Array<ArrayBuffer>, ServerCertificate_GetKeyId: (obj: Wrapper<ServerCertificate>) => number, ServerCertificate_GetKey: (obj: Wrapper<ServerCertificate>) => PublicKey, ServerCertificate_New: (keyId: number, serverKey: Wrapper<PublicKey>, trustRoot: Wrapper<PrivateKey>) => ServerCertificate, SenderCertificate_Deserialize: (data: Uint8Array<ArrayBuffer>) => SenderCertificate, SenderCertificate_GetSerialized: (obj: Wrapper<SenderCertificate>) => Uint8Array<ArrayBuffer>, SenderCertificate_GetCertificate: (obj: Wrapper<SenderCertificate>) => Uint8Array<ArrayBuffer>, SenderCertificate_GetSignature: (obj: Wrapper<SenderCertificate>) => Uint8Array<ArrayBuffer>, SenderCertificate_GetSenderUuid: (obj: Wrapper<SenderCertificate>) => string, SenderCertificate_GetSenderE164: (obj: Wrapper<SenderCertificate>) => string | null, SenderCertificate_GetExpiration: (obj: Wrapper<SenderCertificate>) => Timestamp, SenderCertificate_GetDeviceId: (obj: Wrapper<SenderCertificate>) => number, SenderCertificate_GetKey: (obj: Wrapper<SenderCertificate>) => PublicKey, SenderCertificate_Validate: (cert: Wrapper<SenderCertificate>, trustRoots: Wrapper<PublicKey>[], time: Timestamp) => boolean, SenderCertificate_GetServerCertificate: (cert: Wrapper<SenderCertificate>) => ServerCertificate, SenderCertificate_New: (senderUuid: string, senderE164: string | null, senderDeviceId: number, senderKey: Wrapper<PublicKey>, expiration: Timestamp, signerCert: Wrapper<ServerCertificate>, signerKey: Wrapper<PrivateKey>) => SenderCertificate, UnidentifiedSenderMessageContent_Deserialize: (data: Uint8Array<ArrayBuffer>) => UnidentifiedSenderMessageContent, UnidentifiedSenderMessageContent_Serialize: (obj: Wrapper<UnidentifiedSenderMessageContent>) => Uint8Array<ArrayBuffer>, UnidentifiedSenderMessageContent_GetContents: (obj: Wrapper<UnidentifiedSenderMessageContent>) => Uint8Array<ArrayBuffer>, UnidentifiedSenderMessageContent_GetGroupId: (obj: Wrapper<UnidentifiedSenderMessageContent>) => Uint8Array<ArrayBuffer> | null, UnidentifiedSenderMessageContent_GetSenderCert: (m: Wrapper<UnidentifiedSenderMessageContent>) => SenderCertificate, UnidentifiedSenderMessageContent_GetMsgType: (m: Wrapper<UnidentifiedSenderMessageContent>) => number, UnidentifiedSenderMessageContent_GetContentHint: (m: Wrapper<UnidentifiedSenderMessageContent>) => number, UnidentifiedSenderMessageContent_New: (message: Wrapper<CiphertextMessage>, sender: Wrapper<SenderCertificate>, contentHint: number, groupId: Uint8Array<ArrayBuffer> | null) => UnidentifiedSenderMessageContent, CiphertextMessage_Type: (msg: Wrapper<CiphertextMessage>) => number, CiphertextMessage_Serialize: (obj: Wrapper<CiphertextMessage>) => Uint8Array<ArrayBuffer>, CiphertextMessage_FromPlaintextContent: (m: Wrapper<PlaintextContent>) => CiphertextMessage, SessionRecord_ArchiveCurrentState: (sessionRecord: Wrapper<SessionRecord>) => void, SessionRecord_HasUsableSenderChain: (s: Wrapper<SessionRecord>, now: Timestamp) => boolean, SessionRecord_CurrentRatchetKeyMatches: (s: Wrapper<SessionRecord>, key: Wrapper<PublicKey>) => boolean, SessionRecord_Deserialize: (data: Uint8Array<ArrayBuffer>) => SessionRecord, SessionRecord_Serialize: (obj: Wrapper<SessionRecord>) => Uint8Array<ArrayBuffer>, SessionRecord_GetLocalRegistrationId: (obj: Wrapper<SessionRecord>) => number, SessionRecord_GetRemoteRegistrationId: (obj: Wrapper<SessionRecord>) => number, SealedSenderDecryptionResult_GetSenderUuid: (obj: Wrapper<SealedSenderDecryptionResult>) => string, SealedSenderDecryptionResult_GetSenderE164: (obj: Wrapper<SealedSenderDecryptionResult>) => string | null, SealedSenderDecryptionResult_GetDeviceId: (obj: Wrapper<SealedSenderDecryptionResult>) => number, SealedSenderDecryptionResult_Message: (obj: Wrapper<SealedSenderDecryptionResult>) => Uint8Array<ArrayBuffer>, SessionBuilder_ProcessPreKeyBundle: (bundle: Wrapper<PreKeyBundle>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore, now: Timestamp) => Promise<void>, SessionCipher_EncryptMessage: (ptext: Uint8Array<ArrayBuffer>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore, now: Timestamp) => Promise<CiphertextMessage>, SessionCipher_DecryptSignalMessage: (message: Wrapper<SignalMessage>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SessionCipher_DecryptPreKeySignalMessage: (message: Wrapper<PreKeySignalMessage>, protocolAddress: Wrapper<ProtocolAddress>, sessionStore: SessionStore, identityKeyStore: IdentityKeyStore, prekeyStore: PreKeyStore, signedPrekeyStore: SignedPreKeyStore, kyberPrekeyStore: KyberPreKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SealedSender_Encrypt: (destination: Wrapper<ProtocolAddress>, content: Wrapper<UnidentifiedSenderMessageContent>, identityKeyStore: IdentityKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SealedSender_MultiRecipientEncrypt: (recipients: Wrapper<ProtocolAddress>[], recipientSessions: Wrapper<SessionRecord>[], excludedRecipients: Uint8Array<ArrayBuffer>, content: Wrapper<UnidentifiedSenderMessageContent>, identityKeyStore: IdentityKeyStore) => Promise<Uint8Array<ArrayBuffer>>, SealedSender_MultiRecipientMessageForSingleRecipient: (encodedMultiRecipientMessage: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, SealedSender_DecryptToUsmc: (ctext: Uint8Array<ArrayBuffer>, identityStore: IdentityKeyStore) => Promise<UnidentifiedSenderMessageContent>, SealedSender_DecryptMessage: (message: Uint8Array<ArrayBuffer>, trustRoot: Wrapper<PublicKey>, timestamp: Timestamp, localE164: string | null, localUuid: string, localDeviceId: number, sessionStore: SessionStore, identityStore: IdentityKeyStore, prekeyStore: PreKeyStore, signedPrekeyStore: SignedPreKeyStore, kyberPrekeyStore: KyberPreKeyStore) => Promise<SealedSenderDecryptionResult>, SenderKeyDistributionMessage_Create: (sender: Wrapper<ProtocolAddress>, distributionId: Uuid, store: SenderKeyStore) => Promise<SenderKeyDistributionMessage>, SenderKeyDistributionMessage_Process: (sender: Wrapper<ProtocolAddress>, senderKeyDistributionMessage: Wrapper<SenderKeyDistributionMessage>, store: SenderKeyStore) => Promise<void>, GroupCipher_EncryptMessage: (sender: Wrapper<ProtocolAddress>, distributionId: Uuid, message: Uint8Array<ArrayBuffer>, store: SenderKeyStore) => Promise<CiphertextMessage>, GroupCipher_DecryptMessage: (sender: Wrapper<ProtocolAddress>, message: Uint8Array<ArrayBuffer>, store: SenderKeyStore) => Promise<Uint8Array<ArrayBuffer>>, Cds2ClientState_New: (mrenclave: Uint8Array<ArrayBuffer>, attestationMsg: Uint8Array<ArrayBuffer>, currentTimestamp: Timestamp) => SgxClientState, HsmEnclaveClient_New: (trustedPublicKey: Uint8Array<ArrayBuffer>, trustedCodeHashes: Uint8Array<ArrayBuffer>) => HsmEnclaveClient, HsmEnclaveClient_CompleteHandshake: (cli: Wrapper<HsmEnclaveClient>, handshakeReceived: Uint8Array<ArrayBuffer>) => void, HsmEnclaveClient_EstablishedSend: (cli: Wrapper<HsmEnclaveClient>, plaintextToSend: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, HsmEnclaveClient_EstablishedRecv: (cli: Wrapper<HsmEnclaveClient>, receivedCiphertext: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, HsmEnclaveClient_InitialRequest: (obj: Wrapper<HsmEnclaveClient>) => Uint8Array<ArrayBuffer>, SgxClientState_InitialRequest: (obj: Wrapper<SgxClientState>) => Uint8Array<ArrayBuffer>, SgxClientState_CompleteHandshake: (cli: Wrapper<SgxClientState>, handshakeReceived: Uint8Array<ArrayBuffer>) => void, SgxClientState_EstablishedSend: (cli: Wrapper<SgxClientState>, plaintextToSend: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, SgxClientState_EstablishedRecv: (cli: Wrapper<SgxClientState>, receivedCiphertext: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ExpiringProfileKeyCredential_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ExpiringProfileKeyCredentialResponse_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, GroupMasterKey_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, GroupPublicParams_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, GroupSecretParams_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKey_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCiphertext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCommitment_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCredentialRequest_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ProfileKeyCredentialRequestContext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredential_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialPresentation_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialRequest_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialRequestContext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ReceiptCredentialResponse_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, UuidCiphertext_CheckValidContents: (buffer: Uint8Array<ArrayBuffer>) => void, ServerPublicParams_Deserialize: (buffer: Uint8Array<ArrayBuffer>) => ServerPublicParams, ServerPublicParams_Serialize: (handle: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>, ServerSecretParams_Deserialize: (buffer: Uint8Array<ArrayBuffer>) => ServerSecretParams, ServerSecretParams_Serialize: (handle: Wrapper<ServerSecretParams>) => Uint8Array<ArrayBuffer>, ProfileKey_GetCommitment: (profileKey: Serialized<ProfileKey>, userId: Uint8Array<ArrayBuffer>) => Serialized<ProfileKeyCommitment>, ProfileKey_GetProfileKeyVersion: (profileKey: Serialized<ProfileKey>, userId: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ProfileKey_DeriveAccessKey: (profileKey: Serialized<ProfileKey>) => Uint8Array<ArrayBuffer>, GroupSecretParams_GenerateDeterministic: (randomness: Uint8Array<ArrayBuffer>) => Serialized<GroupSecretParams>, GroupSecretParams_DeriveFromMasterKey: (masterKey: Serialized<GroupMasterKey>) => Serialized<GroupSecretParams>, GroupSecretParams_GetMasterKey: (params: Serialized<GroupSecretParams>) => Serialized<GroupMasterKey>, GroupSecretParams_GetPublicParams: (params: Serialized<GroupSecretParams>) => Serialized<GroupPublicParams>, GroupSecretParams_EncryptServiceId: (params: Serialized<GroupSecretParams>, serviceId: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, GroupSecretParams_DecryptServiceId: (params: Serialized<GroupSecretParams>, ciphertext: Serialized<UuidCiphertext>) => Uint8Array<ArrayBuffer>, GroupSecretParams_EncryptProfileKey: (params: Serialized<GroupSecretParams>, profileKey: Serialized<ProfileKey>, userId: Uint8Array<ArrayBuffer>) => Serialized<ProfileKeyCiphertext>, GroupSecretParams_DecryptProfileKey: (params: Serialized<GroupSecretParams>, profileKey: Serialized<ProfileKeyCiphertext>, userId: Uint8Array<ArrayBuffer>) => Serialized<ProfileKey>, GroupSecretParams_EncryptBlobWithPaddingDeterministic: (params: Serialized<GroupSecretParams>, randomness: Uint8Array<ArrayBuffer>, plaintext: Uint8Array<ArrayBuffer>, paddingLen: number) => Uint8Array<ArrayBuffer>, GroupSecretParams_DecryptBlobWithPadding: (params: Serialized<GroupSecretParams>, ciphertext: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerSecretParams_GenerateDeterministic: (randomness: Uint8Array<ArrayBuffer>) => ServerSecretParams, ServerSecretParams_GetPublicParams: (params: Wrapper<ServerSecretParams>) => ServerPublicParams, ServerSecretParams_SignDeterministic: (params: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, message: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerPublicParams_GetEndorsementPublicKey: (params: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId: (params: Wrapper<ServerPublicParams>, aci: Uint8Array<ArrayBuffer>, pni: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, authCredentialWithPniResponseBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, groupSecretParams: Serialized<GroupSecretParams>, authCredentialWithPniBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, profileKey: Serialized<ProfileKey>) => Serialized<ProfileKeyCredentialRequestContext>, ServerPublicParams_ReceiveExpiringProfileKeyCredential: (serverPublicParams: Wrapper<ServerPublicParams>, requestContext: Serialized<ProfileKeyCredentialRequestContext>, response: Serialized<ExpiringProfileKeyCredentialResponse>, currentTimeInSeconds: Timestamp) => Serialized<ExpiringProfileKeyCredential>, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, groupSecretParams: Serialized<GroupSecretParams>, profileKeyCredential: Serialized<ExpiringProfileKeyCredential>) => Uint8Array<ArrayBuffer>, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, receiptSerial: Uint8Array<ArrayBuffer>) => Serialized<ReceiptCredentialRequestContext>, ServerPublicParams_ReceiveReceiptCredential: (serverPublicParams: Wrapper<ServerPublicParams>, requestContext: Serialized<ReceiptCredentialRequestContext>, response: Serialized<ReceiptCredentialResponse>) => Serialized<ReceiptCredential>, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic: (serverPublicParams: Wrapper<ServerPublicParams>, randomness: Uint8Array<ArrayBuffer>, receiptCredential: Serialized<ReceiptCredential>) => Serialized<ReceiptCredentialPresentation>, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic: (serverSecretParams: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, aci: Uint8Array<ArrayBuffer>, pni: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp) => Uint8Array<ArrayBuffer>, AuthCredentialWithPni_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, AuthCredentialWithPniResponse_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, ServerSecretParams_VerifyAuthCredentialPresentation: (serverSecretParams: Wrapper<ServerSecretParams>, groupPublicParams: Serialized<GroupPublicParams>, presentationBytes: Uint8Array<ArrayBuffer>, currentTimeInSeconds: Timestamp) => void, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic: (serverSecretParams: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, request: Serialized<ProfileKeyCredentialRequest>, userId: Uint8Array<ArrayBuffer>, commitment: Serialized<ProfileKeyCommitment>, expirationInSeconds: Timestamp) => Serialized<ExpiringProfileKeyCredentialResponse>, ServerSecretParams_VerifyProfileKeyCredentialPresentation: (serverSecretParams: Wrapper<ServerSecretParams>, groupPublicParams: Serialized<GroupPublicParams>, presentationBytes: Uint8Array<ArrayBuffer>, currentTimeInSeconds: Timestamp) => void, ServerSecretParams_IssueReceiptCredentialDeterministic: (serverSecretParams: Wrapper<ServerSecretParams>, randomness: Uint8Array<ArrayBuffer>, request: Serialized<ReceiptCredentialRequest>, receiptExpirationTime: Timestamp, receiptLevel: bigint) => Serialized<ReceiptCredentialResponse>, ServerSecretParams_VerifyReceiptCredentialPresentation: (serverSecretParams: Wrapper<ServerSecretParams>, presentation: Serialized<ReceiptCredentialPresentation>) => void, GroupPublicParams_GetGroupIdentifier: (groupPublicParams: Serialized<GroupPublicParams>) => Uint8Array<ArrayBuffer>, ServerPublicParams_VerifySignature: (serverPublicParams: Wrapper<ServerPublicParams>, message: Uint8Array<ArrayBuffer>, notarySignature: Uint8Array<ArrayBuffer>) => void, AuthCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, AuthCredentialPresentation_GetUuidCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, AuthCredentialPresentation_GetPniCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, AuthCredentialPresentation_GetRedemptionTime: (presentationBytes: Uint8Array<ArrayBuffer>) => Timestamp, ProfileKeyCredentialRequestContext_GetRequest: (context: Serialized<ProfileKeyCredentialRequestContext>) => Serialized<ProfileKeyCredentialRequest>, ExpiringProfileKeyCredential_GetExpirationTime: (credential: Serialized<ExpiringProfileKeyCredential>) => Timestamp, ProfileKeyCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, ProfileKeyCredentialPresentation_GetUuidCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<ProfileKeyCiphertext>, ReceiptCredentialRequestContext_GetRequest: (requestContext: Serialized<ReceiptCredentialRequestContext>) => Serialized<ReceiptCredentialRequest>, ReceiptCredential_GetReceiptExpirationTime: (receiptCredential: Serialized<ReceiptCredential>) => Timestamp, ReceiptCredential_GetReceiptLevel: (receiptCredential: Serialized<ReceiptCredential>) => bigint, ReceiptCredentialPresentation_GetReceiptExpirationTime: (presentation: Serialized<ReceiptCredentialPresentation>) => Timestamp, ReceiptCredentialPresentation_GetReceiptLevel: (presentation: Serialized<ReceiptCredentialPresentation>) => bigint, ReceiptCredentialPresentation_GetReceiptSerial: (presentation: Serialized<ReceiptCredentialPresentation>) => Uint8Array<ArrayBuffer>, GenericServerSecretParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, GenericServerSecretParams_GenerateDeterministic: (randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GenericServerSecretParams_GetPublicParams: (paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GenericServerPublicParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkSecretParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkSecretParams_DeriveFromRootKey: (rootKey: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkSecretParams_GetPublicParams: (paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkSecretParams_DecryptUserId: (paramsBytes: Uint8Array<ArrayBuffer>, userId: Serialized<UuidCiphertext>) => Uint8Array<ArrayBuffer>, CallLinkSecretParams_EncryptUserId: (paramsBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, CallLinkPublicParams_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequestContext_CheckValidContents: (contextBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequestContext_NewDeterministic: (roomId: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialRequestContext_GetRequest: (contextBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialRequest_CheckValidContents: (requestBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequest_IssueDeterministic: (requestBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, timestamp: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialResponse_CheckValidContents: (responseBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialRequestContext_ReceiveResponse: (contextBytes: Uint8Array<ArrayBuffer>, responseBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredential_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredential_PresentDeterministic: (credentialBytes: Uint8Array<ArrayBuffer>, roomId: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CreateCallLinkCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, CreateCallLinkCredentialPresentation_Verify: (presentationBytes: Uint8Array<ArrayBuffer>, roomId: Uint8Array<ArrayBuffer>, now: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialResponse_CheckValidContents: (responseBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialResponse_IssueDeterministic: (userId: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkAuthCredentialResponse_Receive: (responseBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkAuthCredential_CheckValidContents: (credentialBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredential_PresentDeterministic: (credentialBytes: Uint8Array<ArrayBuffer>, userId: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, CallLinkAuthCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialPresentation_Verify: (presentationBytes: Uint8Array<ArrayBuffer>, now: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>, callLinkParamsBytes: Uint8Array<ArrayBuffer>) => void, CallLinkAuthCredentialPresentation_GetUserId: (presentationBytes: Uint8Array<ArrayBuffer>) => Serialized<UuidCiphertext>, BackupAuthCredentialRequestContext_New: (backupKey: Uint8Array<ArrayBuffer>, uuid: Uuid) => Uint8Array<ArrayBuffer>, BackupAuthCredentialRequestContext_CheckValidContents: (contextBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialRequestContext_GetRequest: (contextBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialRequest_CheckValidContents: (requestBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialRequest_IssueDeterministic: (requestBytes: Uint8Array<ArrayBuffer>, redemptionTime: Timestamp, backupLevel: number, credentialType: number, paramsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialResponse_CheckValidContents: (responseBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialRequestContext_ReceiveResponse: (contextBytes: Uint8Array<ArrayBuffer>, responseBytes: Uint8Array<ArrayBuffer>, expectedRedemptionTime: Timestamp, paramsBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredential_CheckValidContents: (paramsBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredential_GetBackupId: (credentialBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredential_GetBackupLevel: (credentialBytes: Uint8Array<ArrayBuffer>) => number, BackupAuthCredential_GetType: (credentialBytes: Uint8Array<ArrayBuffer>) => number, BackupAuthCredential_PresentDeterministic: (credentialBytes: Uint8Array<ArrayBuffer>, serverParamsBytes: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialPresentation_CheckValidContents: (presentationBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialPresentation_Verify: (presentationBytes: Uint8Array<ArrayBuffer>, now: Timestamp, serverParamsBytes: Uint8Array<ArrayBuffer>) => void, BackupAuthCredentialPresentation_GetBackupId: (presentationBytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupAuthCredentialPresentation_GetBackupLevel: (presentationBytes: Uint8Array<ArrayBuffer>) => number, BackupAuthCredentialPresentation_GetType: (presentationBytes: Uint8Array<ArrayBuffer>) => number, GroupSendDerivedKeyPair_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendDerivedKeyPair_ForExpiration: (expiration: Timestamp, serverParams: Wrapper<ServerSecretParams>) => Uint8Array<ArrayBuffer>, GroupSendEndorsementsResponse_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendEndorsementsResponse_IssueDeterministic: (concatenatedGroupMemberCiphertexts: Uint8Array<ArrayBuffer>, keyPair: Uint8Array<ArrayBuffer>, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GroupSendEndorsementsResponse_GetExpiration: (responseBytes: Uint8Array<ArrayBuffer>) => Timestamp, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds: (responseBytes: Uint8Array<ArrayBuffer>, groupMembers: Uint8Array<ArrayBuffer>, localUser: Uint8Array<ArrayBuffer>, now: Timestamp, groupParams: Serialized<GroupSecretParams>, serverParams: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>[], GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts: (responseBytes: Uint8Array<ArrayBuffer>, concatenatedGroupMemberCiphertexts: Uint8Array<ArrayBuffer>, localUserCiphertext: Uint8Array<ArrayBuffer>, now: Timestamp, serverParams: Wrapper<ServerPublicParams>) => Uint8Array<ArrayBuffer>[], GroupSendEndorsement_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendEndorsement_Combine: (endorsements: Uint8Array<ArrayBuffer>[]) => Uint8Array<ArrayBuffer>, GroupSendEndorsement_Remove: (endorsement: Uint8Array<ArrayBuffer>, toRemove: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GroupSendEndorsement_ToToken: (endorsement: Uint8Array<ArrayBuffer>, groupParams: Serialized<GroupSecretParams>) => Uint8Array<ArrayBuffer>, GroupSendEndorsement_CallLinkParams_ToToken: (endorsement: Uint8Array<ArrayBuffer>, callLinkSecretParamsSerialized: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, GroupSendToken_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendToken_ToFullToken: (token: Uint8Array<ArrayBuffer>, expiration: Timestamp) => Uint8Array<ArrayBuffer>, GroupSendFullToken_CheckValidContents: (bytes: Uint8Array<ArrayBuffer>) => void, GroupSendFullToken_GetExpiration: (token: Uint8Array<ArrayBuffer>) => Timestamp, GroupSendFullToken_Verify: (token: Uint8Array<ArrayBuffer>, userIds: Uint8Array<ArrayBuffer>, now: Timestamp, keyPair: Uint8Array<ArrayBuffer>) => void, LookupRequest_new: () => LookupRequest, LookupRequest_addE164: (request: Wrapper<LookupRequest>, e164: string) => void, LookupRequest_addPreviousE164: (request: Wrapper<LookupRequest>, e164: string) => void, LookupRequest_setToken: (request: Wrapper<LookupRequest>, token: Uint8Array<ArrayBuffer>) => void, LookupRequest_addAciAndAccessKey: (request: Wrapper<LookupRequest>, aci: Uint8Array<ArrayBuffer>, accessKey: Uint8Array<ArrayBuffer>) => void, CdsiLookup_new: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, request: Wrapper<LookupRequest>) => CancellablePromise<CdsiLookup>, CdsiLookup_token: (lookup: Wrapper<CdsiLookup>) => Uint8Array<ArrayBuffer>, CdsiLookup_complete: (asyncRuntime: Wrapper<TokioAsyncContext>, lookup: Wrapper<CdsiLookup>) => CancellablePromise<LookupResponse>, HttpRequest_new: (method: string, path: string, bodyAsSlice: Uint8Array<ArrayBuffer> | null) => HttpRequest, HttpRequest_add_header: (request: Wrapper<HttpRequest>, name: string, value: string) => void, ChatConnectionInfo_local_port: (connectionInfo: Wrapper<ChatConnectionInfo>) => number, ChatConnectionInfo_ip_version: (connectionInfo: Wrapper<ChatConnectionInfo>) => number, ChatConnectionInfo_description: (connectionInfo: Wrapper<ChatConnectionInfo>) => string, UnauthenticatedChatConnection_connect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, languages: string[]) => CancellablePromise<UnauthenticatedChatConnection>, UnauthenticatedChatConnection_init_listener: (chat: Wrapper<UnauthenticatedChatConnection>, listener: ChatListener) => void, UnauthenticatedChatConnection_send: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number) => CancellablePromise<ChatResponse>, UnauthenticatedChatConnection_disconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>) => CancellablePromise<void>, UnauthenticatedChatConnection_info: (chat: Wrapper<UnauthenticatedChatConnection>) => ChatConnectionInfo, UnauthenticatedChatConnection_look_up_username_hash: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, hash: Uint8Array<ArrayBuffer>) => CancellablePromise<Uuid | null>, UnauthenticatedChatConnection_look_up_username_link: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, uuid: Uuid, entropy: Uint8Array<ArrayBuffer>) => CancellablePromise<[string, Uint8Array<ArrayBuffer>] | null>, UnauthenticatedChatConnection_send_multi_recipient_message: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, payload: Uint8Array<ArrayBuffer>, timestamp: Timestamp, auth: Uint8Array<ArrayBuffer> | null, onlineOnly: boolean, isUrgent: boolean) => CancellablePromise<Uint8Array<ArrayBuffer>[]>, AuthenticatedChatConnection_preconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>) => CancellablePromise<void>, AuthenticatedChatConnection_connect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, receiveStories: boolean, languages: string[]) => CancellablePromise<AuthenticatedChatConnection>, AuthenticatedChatConnection_init_listener: (chat: Wrapper<AuthenticatedChatConnection>, listener: ChatListener) => void, AuthenticatedChatConnection_send: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthenticatedChatConnection>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number) => CancellablePromise<ChatResponse>, AuthenticatedChatConnection_disconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthenticatedChatConnection>) => CancellablePromise<void>, AuthenticatedChatConnection_info: (chat: Wrapper<AuthenticatedChatConnection>) => ChatConnectionInfo, ServerMessageAck_SendStatus: (ack: Wrapper<ServerMessageAck>, status: number) => void, ProvisioningChatConnection_connect: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>) => CancellablePromise<ProvisioningChatConnection>, ProvisioningChatConnection_init_listener: (chat: Wrapper<ProvisioningChatConnection>, listener: ProvisioningListener) => void, ProvisioningChatConnection_info: (chat: Wrapper<ProvisioningChatConnection>) => ChatConnectionInfo, ProvisioningChatConnection_disconnect: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<ProvisioningChatConnection>) => CancellablePromise<void>, UnauthenticatedChatConnection_get_pre_keys_access_key_auth: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, auth: Uint8Array<ArrayBuffer>, target: Uint8Array<ArrayBuffer>, device: number) => CancellablePromise<PreKeysResponse>, UnauthenticatedChatConnection_get_pre_keys_access_group_auth: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, auth: Uint8Array<ArrayBuffer>, target: Uint8Array<ArrayBuffer>, device: number) => CancellablePromise<PreKeysResponse>, UnauthenticatedChatConnection_account_exists: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthenticatedChatConnection>, account: Uint8Array<ArrayBuffer>) => CancellablePromise<boolean>, AuthenticatedChatConnection_get_upload_form: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthenticatedChatConnection>) => CancellablePromise<UploadForm>, KeyTransparency_AciSearchKey: (aci: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, KeyTransparency_E164SearchKey: (e164: string) => Uint8Array<ArrayBuffer>, KeyTransparency_UsernameHashSearchKey: (hash: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, KeyTransparency_Search: (asyncRuntime: Wrapper<TokioAsyncContext>, environment: number, chatConnection: Wrapper<UnauthenticatedChatConnection>, aci: Uint8Array<ArrayBuffer>, aciIdentityKey: Wrapper<PublicKey>, e164: string | null, unidentifiedAccessKey: Uint8Array<ArrayBuffer> | null, usernameHash: Uint8Array<ArrayBuffer> | null, accountData: Uint8Array<ArrayBuffer> | null, lastDistinguishedTreeHead: Uint8Array<ArrayBuffer>) => CancellablePromise<Uint8Array<ArrayBuffer>>, KeyTransparency_Monitor: (asyncRuntime: Wrapper<TokioAsyncContext>, environment: number, chatConnection: Wrapper<UnauthenticatedChatConnection>, aci: Uint8Array<ArrayBuffer>, aciIdentityKey: Wrapper<PublicKey>, e164: string | null, unidentifiedAccessKey: Uint8Array<ArrayBuffer> | null, usernameHash: Uint8Array<ArrayBuffer> | null, accountData: Uint8Array<ArrayBuffer> | null, lastDistinguishedTreeHead: Uint8Array<ArrayBuffer>, isSelfMonitor: boolean) => CancellablePromise<Uint8Array<ArrayBuffer>>, KeyTransparency_Distinguished: (asyncRuntime: Wrapper<TokioAsyncContext>, environment: number, chatConnection: Wrapper<UnauthenticatedChatConnection>, lastDistinguishedTreeHead: Uint8Array<ArrayBuffer> | null) => CancellablePromise<Uint8Array<ArrayBuffer>>, RegistrationService_CreateSession: (asyncRuntime: Wrapper<TokioAsyncContext>, createSession: RegistrationCreateSessionRequest, connectChat: ConnectChatBridge) => CancellablePromise<RegistrationService>, RegistrationService_ResumeSession: (asyncRuntime: Wrapper<TokioAsyncContext>, sessionId: string, number: string, connectChat: ConnectChatBridge) => CancellablePromise<RegistrationService>, RegistrationService_RequestVerificationCode: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, transport: string, client: string, languages: string[]) => CancellablePromise<void>, RegistrationService_SubmitVerificationCode: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, code: string) => CancellablePromise<void>, RegistrationService_SubmitCaptcha: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, captchaValue: string) => CancellablePromise<void>, RegistrationService_CheckSvr2Credentials: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, svrTokens: string[]) => CancellablePromise<CheckSvr2CredentialsResponse>, RegistrationService_RegisterAccount: (asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, registerAccount: Wrapper<RegisterAccountRequest>, accountAttributes: Wrapper<RegistrationAccountAttributes>) => CancellablePromise<RegisterAccountResponse>, RegistrationService_ReregisterAccount: (asyncRuntime: Wrapper<TokioAsyncContext>, connectChat: ConnectChatBridge, number: string, registerAccount: Wrapper<RegisterAccountRequest>, accountAttributes: Wrapper<RegistrationAccountAttributes>) => CancellablePromise<RegisterAccountResponse>, RegistrationService_SessionId: (service: Wrapper<RegistrationService>) => string, RegistrationService_RegistrationSession: (service: Wrapper<RegistrationService>) => RegistrationSession, RegistrationSession_GetAllowedToRequestCode: (session: Wrapper<RegistrationSession>) => boolean, RegistrationSession_GetVerified: (session: Wrapper<RegistrationSession>) => boolean, RegistrationSession_GetNextCallSeconds: (session: Wrapper<RegistrationSession>) => number | null, RegistrationSession_GetNextSmsSeconds: (session: Wrapper<RegistrationSession>) => number | null, RegistrationSession_GetNextVerificationAttemptSeconds: (session: Wrapper<RegistrationSession>) => number | null, RegistrationSession_GetRequestedInformation: (session: Wrapper<RegistrationSession>) => ChallengeOption[], RegisterAccountRequest_Create: () => RegisterAccountRequest, RegisterAccountRequest_SetSkipDeviceTransfer: (registerAccount: Wrapper<RegisterAccountRequest>) => void, RegisterAccountRequest_SetAccountPassword: (registerAccount: Wrapper<RegisterAccountRequest>, accountPassword: string) => void, RegisterAccountRequest_SetIdentityPublicKey: (registerAccount: Wrapper<RegisterAccountRequest>, identityType: number, identityKey: Wrapper<PublicKey>) => void, RegisterAccountRequest_SetIdentitySignedPreKey: (registerAccount: Wrapper<RegisterAccountRequest>, identityType: number, signedPreKey: SignedPublicPreKey) => void, RegisterAccountRequest_SetIdentityPqLastResortPreKey: (registerAccount: Wrapper<RegisterAccountRequest>, identityType: number, pqLastResortPreKey: SignedPublicPreKey) => void, RegistrationAccountAttributes_Create: (recoveryPassword: Uint8Array<ArrayBuffer>, aciRegistrationId: number, pniRegistrationId: number, registrationLock: string | null, unidentifiedAccessKey: Uint8Array<ArrayBuffer>, unrestrictedUnidentifiedAccess: boolean, capabilities: string[], discoverableByPhoneNumber: boolean) => RegistrationAccountAttributes, RegisterAccountResponse_GetIdentity: (response: Wrapper<RegisterAccountResponse>, identityType: number) => Uint8Array<ArrayBuffer>, RegisterAccountResponse_GetNumber: (response: Wrapper<RegisterAccountResponse>) => string, RegisterAccountResponse_GetUsernameHash: (response: Wrapper<RegisterAccountResponse>) => Uint8Array<ArrayBuffer> | null, RegisterAccountResponse_GetUsernameLinkHandle: (response: Wrapper<RegisterAccountResponse>) => Uuid | null, RegisterAccountResponse_GetStorageCapable: (response: Wrapper<RegisterAccountResponse>) => boolean, RegisterAccountResponse_GetReregistration: (response: Wrapper<RegisterAccountResponse>) => boolean, RegisterAccountResponse_GetEntitlementBadges: (response: Wrapper<RegisterAccountResponse>) => RegisterResponseBadge[], RegisterAccountResponse_GetEntitlementBackupLevel: (response: Wrapper<RegisterAccountResponse>) => bigint | null, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds: (response: Wrapper<RegisterAccountResponse>) => bigint | null, SecureValueRecoveryForBackups_CreateNewBackupChain: (environment: number, backupKey: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, SecureValueRecoveryForBackups_StoreBackup: (asyncRuntime: Wrapper<TokioAsyncContext>, backupKey: Uint8Array<ArrayBuffer>, previousSecretData: Uint8Array<ArrayBuffer>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string) => CancellablePromise<BackupStoreResponse>, SecureValueRecoveryForBackups_RestoreBackupFromServer: (asyncRuntime: Wrapper<TokioAsyncContext>, backupKey: Uint8Array<ArrayBuffer>, metadata: Uint8Array<ArrayBuffer>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string) => CancellablePromise<BackupRestoreResponse>, SecureValueRecoveryForBackups_RemoveBackup: (asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string) => CancellablePromise<void>, BackupStoreResponse_GetForwardSecrecyToken: (response: Wrapper<BackupStoreResponse>) => Uint8Array<ArrayBuffer>, BackupStoreResponse_GetOpaqueMetadata: (response: Wrapper<BackupStoreResponse>) => Uint8Array<ArrayBuffer>, BackupStoreResponse_GetNextBackupSecretData: (response: Wrapper<BackupStoreResponse>) => Uint8Array<ArrayBuffer>, BackupRestoreResponse_GetForwardSecrecyToken: (response: Wrapper<BackupRestoreResponse>) => Uint8Array<ArrayBuffer>, BackupRestoreResponse_GetNextBackupSecretData: (response: Wrapper<BackupRestoreResponse>) => Uint8Array<ArrayBuffer>, TokioAsyncContext_new: () => TokioAsyncContext, TokioAsyncContext_cancel: (context: Wrapper<TokioAsyncContext>, rawCancellationId: bigint) => void, ConnectionProxyConfig_new: (scheme: string, host: string, port: number, username: string | null, password: string | null) => ConnectionProxyConfig, ConnectionManager_new: (environment: number, userAgent: string, remoteConfig: Wrapper<BridgedStringMap>, buildVariant: number) => ConnectionManager, ConnectionManager_set_proxy: (connectionManager: Wrapper<ConnectionManager>, proxy: Wrapper<ConnectionProxyConfig>) => void, ConnectionManager_set_invalid_proxy: (connectionManager: Wrapper<ConnectionManager>) => void, ConnectionManager_clear_proxy: (connectionManager: Wrapper<ConnectionManager>) => void, ConnectionManager_set_ipv6_enabled: (connectionManager: Wrapper<ConnectionManager>, ipv6Enabled: boolean) => void, ConnectionManager_set_censorship_circumvention_enabled: (connectionManager: Wrapper<ConnectionManager>, enabled: boolean) => void, ConnectionManager_set_remote_config: (connectionManager: Wrapper<ConnectionManager>, remoteConfig: Wrapper<BridgedStringMap>, buildVariant: number) => void, ConnectionManager_on_network_change: (connectionManager: Wrapper<ConnectionManager>) => void, AccountEntropyPool_Generate: () => string, AccountEntropyPool_IsValid: (accountEntropy: string) => boolean, AccountEntropyPool_DeriveSvrKey: (accountEntropy: AccountEntropyPool) => Uint8Array<ArrayBuffer>, AccountEntropyPool_DeriveBackupKey: (accountEntropy: AccountEntropyPool) => Uint8Array<ArrayBuffer>, BackupKey_DeriveBackupId: (backupKey: Uint8Array<ArrayBuffer>, aci: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupKey_DeriveEcKey: (backupKey: Uint8Array<ArrayBuffer>, aci: Uint8Array<ArrayBuffer>) => PrivateKey, BackupKey_DeriveLocalBackupMetadataKey: (backupKey: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupKey_DeriveMediaId: (backupKey: Uint8Array<ArrayBuffer>, mediaName: string) => Uint8Array<ArrayBuffer>, BackupKey_DeriveMediaEncryptionKey: (backupKey: Uint8Array<ArrayBuffer>, mediaId: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, BackupKey_DeriveThumbnailTransitEncryptionKey: (backupKey: Uint8Array<ArrayBuffer>, mediaId: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, IncrementalMac_CalculateChunkSize: (dataSize: number) => number, IncrementalMac_Initialize: (key: Uint8Array<ArrayBuffer>, chunkSize: number) => IncrementalMac, IncrementalMac_Update: (mac: Wrapper<IncrementalMac>, bytes: Uint8Array<ArrayBuffer>, offset: number, length: number) => Uint8Array<ArrayBuffer>, IncrementalMac_Finalize: (mac: Wrapper<IncrementalMac>) => Uint8Array<ArrayBuffer>, ValidatingMac_Initialize: (key: Uint8Array<ArrayBuffer>, chunkSize: number, digests: Uint8Array<ArrayBuffer>) => ValidatingMac | null, ValidatingMac_Update: (mac: Wrapper<ValidatingMac>, bytes: Uint8Array<ArrayBuffer>, offset: number, length: number) => number, ValidatingMac_Finalize: (mac: Wrapper<ValidatingMac>) => number, MessageBackupKey_FromAccountEntropyPool: (accountEntropy: AccountEntropyPool, aci: Uint8Array<ArrayBuffer>, forwardSecrecyToken: Uint8Array<ArrayBuffer> | null) => MessageBackupKey, MessageBackupKey_FromBackupKeyAndBackupId: (backupKey: Uint8Array<ArrayBuffer>, backupId: Uint8Array<ArrayBuffer>, forwardSecrecyToken: Uint8Array<ArrayBuffer> | null) => MessageBackupKey, MessageBackupKey_GetHmacKey: (key: Wrapper<MessageBackupKey>) => Uint8Array<ArrayBuffer>, MessageBackupKey_GetAesKey: (key: Wrapper<MessageBackupKey>) => Uint8Array<ArrayBuffer>, MessageBackupValidator_Validate: (key: Wrapper<MessageBackupKey>, firstStream: InputStream, secondStream: InputStream, len: bigint, purpose: number) => Promise<MessageBackupValidationOutcome>, OnlineBackupValidator_New: (backupInfoFrame: Uint8Array<ArrayBuffer>, purpose: number) => OnlineBackupValidator, OnlineBackupValidator_AddFrame: (backup: Wrapper<OnlineBackupValidator>, frame: Uint8Array<ArrayBuffer>) => void, OnlineBackupValidator_Finalize: (backup: Wrapper<OnlineBackupValidator>) => void, BackupJsonExporter_New: (backupInfo: Uint8Array<ArrayBuffer>, shouldValidate: boolean) => BackupJsonExporter, BackupJsonExporter_GetInitialChunk: (exporter: Wrapper<BackupJsonExporter>) => string, BackupJsonExporter_ExportFrames: (exporter: Wrapper<BackupJsonExporter>, frames: Uint8Array<ArrayBuffer>) => JsonFrameExportResult[], BackupJsonExporter_Finish: (exporter: Wrapper<BackupJsonExporter>) => void, Username_Hash: (username: string) => Uint8Array<ArrayBuffer>, Username_Proof: (username: string, randomness: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>, Username_Verify: (proof: Uint8Array<ArrayBuffer>, hash: Uint8Array<ArrayBuffer>) => void, Username_CandidatesFrom: (nickname: string, minLen: number, maxLen: number) => string[], Username_HashFromParts: (nickname: string, discriminator: string, minLen: number, maxLen: number) => Uint8Array<ArrayBuffer>, UsernameLink_Create: (username: string, entropy: Uint8Array<ArrayBuffer> | null) => Uint8Array<ArrayBuffer>, UsernameLink_DecryptUsername: (entropy: Uint8Array<ArrayBuffer>, encryptedUsername: Uint8Array<ArrayBuffer>) => string, SignalMedia_CheckAvailable: () => void, Mp4Sanitizer_Sanitize: (input: InputStream, len: bigint) => Promise<SanitizedMetadata>, WebpSanitizer_Sanitize: (input: SyncInputStream) => void, SanitizedMetadata_GetMetadata: (sanitized: Wrapper<SanitizedMetadata>) => Uint8Array<ArrayBuffer>, SanitizedMetadata_GetDataOffset: (sanitized: Wrapper<SanitizedMetadata>) => bigint, SanitizedMetadata_GetDataLen: (sanitized: Wrapper<SanitizedMetadata>) => bigint, BridgedStringMap_new: (initialCapacity: number) => BridgedStringMap, BridgedStringMap_insert: (map: Wrapper<BridgedStringMap>, key: string, value: string) => void, TESTING_NonSuspendingBackgroundThreadRuntime_New: () => NonSuspendingBackgroundThreadRuntime, TESTING_FutureSuccess: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: number) => CancellablePromise<number>, TESTING_TokioAsyncContext_FutureSuccessBytes: (asyncRuntime: Wrapper<TokioAsyncContext>, count: number) => CancellablePromise<Uint8Array<ArrayBuffer>>, TESTING_FutureFailure: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: number) => CancellablePromise<number>, TESTING_FutureCancellationCounter_Create: (initialValue: number) => TestingFutureCancellationCounter, TESTING_FutureCancellationCounter_WaitForCount: (asyncRuntime: Wrapper<TokioAsyncContext>, count: Wrapper<TestingFutureCancellationCounter>, target: number) => CancellablePromise<void>, TESTING_FutureIncrementOnCancel: (asyncRuntime: Wrapper<TokioAsyncContext>, _guard: TestingFutureCancellationGuard) => CancellablePromise<void>, TESTING_TokioAsyncFuture: (asyncRuntime: Wrapper<TokioAsyncContext>, input: number) => CancellablePromise<number>, TESTING_TestingHandleType_getValue: (handle: Wrapper<TestingHandleType>) => number, TESTING_FutureProducesPointerType: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: number) => CancellablePromise<TestingHandleType>, TESTING_OtherTestingHandleType_getValue: (handle: Wrapper<OtherTestingHandleType>) => string, TESTING_FutureProducesOtherPointerType: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: string) => CancellablePromise<OtherTestingHandleType>, TESTING_PanicOnBorrowSync: (_input: null) => void, TESTING_PanicOnBorrowAsync: (_input: null) => Promise<void>, TESTING_PanicOnBorrowIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null) => CancellablePromise<void>, TESTING_ErrorOnBorrowSync: (_input: null) => void, TESTING_ErrorOnBorrowAsync: (_input: null) => Promise<void>, TESTING_ErrorOnBorrowIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null) => CancellablePromise<void>, TESTING_PanicOnLoadSync: (_needsCleanup: null, _input: null) => void, TESTING_PanicOnLoadAsync: (_needsCleanup: null, _input: null) => Promise<void>, TESTING_PanicOnLoadIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _needsCleanup: null, _input: null) => CancellablePromise<void>, TESTING_PanicInBodySync: (_input: null) => void, TESTING_PanicInBodyAsync: (_input: null) => Promise<void>, TESTING_PanicInBodyIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null) => CancellablePromise<void>, TESTING_PanicOnReturnSync: (_needsCleanup: null) => null, TESTING_PanicOnReturnAsync: (_needsCleanup: null) => Promise<null>, TESTING_PanicOnReturnIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _needsCleanup: null) => CancellablePromise<null>, TESTING_ErrorOnReturnSync: (_needsCleanup: null) => null, TESTING_ErrorOnReturnAsync: (_needsCleanup: null) => Promise<null>, TESTING_ErrorOnReturnIo: (asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _needsCleanup: null) => CancellablePromise<null>, TESTING_ReturnStringArray: () => string[], TESTING_JoinStringArray: (array: string[], joinWith: string) => string, TESTING_ProcessBytestringArray: (input: Uint8Array<ArrayBuffer>[]) => Uint8Array<ArrayBuffer>[], TESTING_RoundTripU8: (input: number) => number, TESTING_RoundTripU16: (input: number) => number, TESTING_RoundTripU32: (input: number) => number, TESTING_RoundTripI32: (input: number) => number, TESTING_RoundTripU64: (input: bigint) => bigint, TESTING_ConvertOptionalUuid: (present: boolean) => Uuid | null, TESTING_InputStreamReadIntoZeroLengthSlice: (capsAlphabetInput: InputStream) => Promise<Uint8Array<ArrayBuffer>>, ComparableBackup_ReadUnencrypted: (stream: InputStream, len: bigint, purpose: number) => Promise<ComparableBackup>, ComparableBackup_GetComparableString: (backup: Wrapper<ComparableBackup>) => string, ComparableBackup_GetUnknownFields: (backup: Wrapper<ComparableBackup>) => string[], TESTING_FakeChatServer_Create: () => FakeChatServer, TESTING_FakeChatServer_GetNextRemote: (asyncRuntime: Wrapper<TokioAsyncContext>, server: Wrapper<FakeChatServer>) => CancellablePromise<FakeChatRemoteEnd>, TESTING_FakeChatConnection_Create: (tokio: Wrapper<TokioAsyncContext>, listener: ChatListener, alertsJoinedByNewlines: string) => FakeChatConnection, TESTING_FakeChatConnection_CreateProvisioning: (tokio: Wrapper<TokioAsyncContext>, listener: ProvisioningListener) => FakeChatConnection, TESTING_FakeChatConnection_TakeAuthenticatedChat: (chat: Wrapper<FakeChatConnection>) => AuthenticatedChatConnection, TESTING_FakeChatConnection_TakeUnauthenticatedChat: (chat: Wrapper<FakeChatConnection>) => UnauthenticatedChatConnection, TESTING_FakeChatConnection_TakeProvisioningChat: (chat: Wrapper<FakeChatConnection>) => ProvisioningChatConnection, TESTING_FakeChatConnection_TakeRemote: (chat: Wrapper<FakeChatConnection>) => FakeChatRemoteEnd, TESTING_FakeChatRemoteEnd_SendRawServerRequest: (chat: Wrapper<FakeChatRemoteEnd>, bytes: Uint8Array<ArrayBuffer>) => void, TESTING_FakeChatRemoteEnd_SendRawServerResponse: (chat: Wrapper<FakeChatRemoteEnd>, bytes: Uint8Array<ArrayBuffer>) => void, TESTING_FakeChatRemoteEnd_SendServerResponse: (chat: Wrapper<FakeChatRemoteEnd>, response: Wrapper<FakeChatResponse>) => void, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted: (chat: Wrapper<FakeChatRemoteEnd>) => void, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest: (asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<FakeChatRemoteEnd>) => CancellablePromise<[HttpRequest, bigint] | null>, TESTING_ChatResponseConvert: (bodyPresent: boolean) => ChatResponse, TESTING_ChatRequestGetMethod: (request: Wrapper<HttpRequest>) => string, TESTING_ChatRequestGetPath: (request: Wrapper<HttpRequest>) => string, TESTING_ChatRequestGetHeaderNames: (request: Wrapper<HttpRequest>) => string[], TESTING_ChatRequestGetHeaderValue: (request: Wrapper<HttpRequest>, headerName: string) => string, TESTING_ChatRequestGetBody: (request: Wrapper<HttpRequest>) => Uint8Array<ArrayBuffer>, TESTING_FakeChatResponse_Create: (id: bigint, status: number, message: string, headers: string[], body: Uint8Array<ArrayBuffer> | null) => FakeChatResponse, TESTING_ChatConnectErrorConvert: (errorDescription: string) => void, TESTING_ChatSendErrorConvert: (errorDescription: string) => void, TESTING_KeyTransFatalVerificationFailure: () => void, TESTING_KeyTransNonFatalVerificationFailure: () => void, TESTING_KeyTransChatSendError: () => void, TESTING_RegistrationSessionInfoConvert: () => RegistrationSession, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert: () => CheckSvr2CredentialsResponse, TESTING_FakeRegistrationSession_CreateSession: (asyncRuntime: Wrapper<TokioAsyncContext>, createSession: RegistrationCreateSessionRequest, chat: Wrapper<FakeChatServer>) => CancellablePromise<RegistrationService>, TESTING_RegisterAccountResponse_CreateTestValue: () => RegisterAccountResponse, TESTING_RegistrationService_CreateSessionErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_ResumeSessionErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_UpdateSessionErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_RequestVerificationCodeErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_SubmitVerificationErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert: (errorDescription: string) => void, TESTING_RegistrationService_RegisterAccountErrorConvert: (errorDescription: string) => void, TESTING_CdsiLookupResponseConvert: (asyncRuntime: Wrapper<TokioAsyncContext>) => CancellablePromise<LookupResponse>, TESTING_CdsiLookupErrorConvert: (errorDescription: string) => void, TESTING_ServerMessageAck_Create: () => ServerMessageAck, TESTING_ConnectionManager_newLocalOverride: (userAgent: string, chatPort: number, cdsiPort: number, svr2Port: number, svrBPort: number, rootCertificateDer: Uint8Array<ArrayBuffer>) => ConnectionManager, TESTING_ConnectionManager_isUsingProxy: (manager: Wrapper<ConnectionManager>) => number, TESTING_CreateOTP: (username: string, secret: Uint8Array<ArrayBuffer>) => string, TESTING_CreateOTPFromBase64: (username: string, secret: string) => string, TESTING_SignedPublicPreKey_CheckBridgesCorrectly: (sourcePublicKey: Wrapper<PublicKey>, signedPreKey: SignedPublicPreKey) => void, TestingSemaphore_New: (initial: number) => TestingSemaphore, TestingSemaphore_AddPermits: (semaphore: Wrapper<TestingSemaphore>, permits: number) => void, TestingValueHolder_New: (value: number) => TestingValueHolder, TestingValueHolder_Get: (holder: Wrapper<TestingValueHolder>) => number, TESTING_ReturnPair: () => [number, string], test_only_fn_returns_123: () => number, TESTING_BridgedStringMap_dump_to_json: (map: Wrapper<BridgedStringMap>) => string, TESTING_TokioAsyncContext_NewSingleThreaded: () => TokioAsyncContext;
|
|
100
|
+
export { registerErrors, initLogger, SealedSenderMultiRecipientMessage_Parse, MinidumpToJSONString, Aes256GcmSiv_New, Aes256GcmSiv_Encrypt, Aes256GcmSiv_Decrypt, PublicKey_HpkeSeal, PrivateKey_HpkeOpen, HKDF_DeriveSecrets, ServiceId_ServiceIdBinary, ServiceId_ServiceIdString, ServiceId_ServiceIdLog, ServiceId_ParseFromServiceIdBinary, ServiceId_ParseFromServiceIdString, ProtocolAddress_New, PublicKey_Deserialize, PublicKey_Serialize, PublicKey_GetPublicKeyBytes, ProtocolAddress_DeviceId, ProtocolAddress_Name, PublicKey_Equals, PublicKey_Verify, PrivateKey_Deserialize, PrivateKey_Serialize, PrivateKey_Generate, PrivateKey_GetPublicKey, PrivateKey_Sign, PrivateKey_Agree, KyberPublicKey_Serialize, KyberPublicKey_Deserialize, KyberSecretKey_Serialize, KyberSecretKey_Deserialize, KyberPublicKey_Equals, KyberKeyPair_Generate, KyberKeyPair_GetPublicKey, KyberKeyPair_GetSecretKey, IdentityKeyPair_Serialize, IdentityKeyPair_Deserialize, IdentityKeyPair_SignAlternateIdentity, IdentityKey_VerifyAlternateIdentity, Fingerprint_New, Fingerprint_ScannableEncoding, Fingerprint_DisplayString, ScannableFingerprint_Compare, SignalMessage_Deserialize, SignalMessage_GetBody, SignalMessage_GetSerialized, SignalMessage_GetCounter, SignalMessage_GetMessageVersion, SignalMessage_GetPqRatchet, SignalMessage_New, SignalMessage_VerifyMac, PreKeySignalMessage_New, PreKeySignalMessage_Deserialize, PreKeySignalMessage_Serialize, PreKeySignalMessage_GetRegistrationId, PreKeySignalMessage_GetSignedPreKeyId, PreKeySignalMessage_GetPreKeyId, PreKeySignalMessage_GetVersion, SenderKeyMessage_Deserialize, SenderKeyMessage_GetCipherText, SenderKeyMessage_Serialize, SenderKeyMessage_GetDistributionId, SenderKeyMessage_GetChainId, SenderKeyMessage_GetIteration, SenderKeyMessage_New, SenderKeyMessage_VerifySignature, SenderKeyDistributionMessage_Deserialize, SenderKeyDistributionMessage_GetChainKey, SenderKeyDistributionMessage_Serialize, SenderKeyDistributionMessage_GetDistributionId, SenderKeyDistributionMessage_GetChainId, SenderKeyDistributionMessage_GetIteration, SenderKeyDistributionMessage_New, DecryptionErrorMessage_Deserialize, DecryptionErrorMessage_GetTimestamp, DecryptionErrorMessage_GetDeviceId, DecryptionErrorMessage_Serialize, DecryptionErrorMessage_GetRatchetKey, DecryptionErrorMessage_ForOriginalMessage, DecryptionErrorMessage_ExtractFromSerializedContent, PlaintextContent_Deserialize, PlaintextContent_Serialize, PlaintextContent_GetBody, PlaintextContent_FromDecryptionErrorMessage, PreKeyBundle_New, PreKeyBundle_GetIdentityKey, PreKeyBundle_GetSignedPreKeySignature, PreKeyBundle_GetKyberPreKeySignature, PreKeyBundle_GetRegistrationId, PreKeyBundle_GetDeviceId, PreKeyBundle_GetSignedPreKeyId, PreKeyBundle_GetKyberPreKeyId, PreKeyBundle_GetPreKeyId, PreKeyBundle_GetPreKeyPublic, PreKeyBundle_GetSignedPreKeyPublic, PreKeyBundle_GetKyberPreKeyPublic, SignedPreKeyRecord_Deserialize, SignedPreKeyRecord_GetSignature, SignedPreKeyRecord_Serialize, SignedPreKeyRecord_GetId, SignedPreKeyRecord_GetTimestamp, SignedPreKeyRecord_GetPublicKey, SignedPreKeyRecord_GetPrivateKey, KyberPreKeyRecord_Deserialize, KyberPreKeyRecord_GetSignature, KyberPreKeyRecord_Serialize, KyberPreKeyRecord_GetId, KyberPreKeyRecord_GetTimestamp, KyberPreKeyRecord_GetPublicKey, KyberPreKeyRecord_GetSecretKey, KyberPreKeyRecord_GetKeyPair, SignedPreKeyRecord_New, KyberPreKeyRecord_New, PreKeyRecord_Deserialize, PreKeyRecord_Serialize, PreKeyRecord_GetId, PreKeyRecord_GetPublicKey, PreKeyRecord_GetPrivateKey, PreKeyRecord_New, SenderKeyRecord_Deserialize, SenderKeyRecord_Serialize, ServerCertificate_Deserialize, ServerCertificate_GetSerialized, ServerCertificate_GetCertificate, ServerCertificate_GetSignature, ServerCertificate_GetKeyId, ServerCertificate_GetKey, ServerCertificate_New, SenderCertificate_Deserialize, SenderCertificate_GetSerialized, SenderCertificate_GetCertificate, SenderCertificate_GetSignature, SenderCertificate_GetSenderUuid, SenderCertificate_GetSenderE164, SenderCertificate_GetExpiration, SenderCertificate_GetDeviceId, SenderCertificate_GetKey, SenderCertificate_Validate, SenderCertificate_GetServerCertificate, SenderCertificate_New, UnidentifiedSenderMessageContent_Deserialize, UnidentifiedSenderMessageContent_Serialize, UnidentifiedSenderMessageContent_GetContents, UnidentifiedSenderMessageContent_GetGroupId, UnidentifiedSenderMessageContent_GetSenderCert, UnidentifiedSenderMessageContent_GetMsgType, UnidentifiedSenderMessageContent_GetContentHint, UnidentifiedSenderMessageContent_New, CiphertextMessage_Type, CiphertextMessage_Serialize, CiphertextMessage_FromPlaintextContent, SessionRecord_ArchiveCurrentState, SessionRecord_HasUsableSenderChain, SessionRecord_CurrentRatchetKeyMatches, SessionRecord_Deserialize, SessionRecord_Serialize, SessionRecord_GetLocalRegistrationId, SessionRecord_GetRemoteRegistrationId, SealedSenderDecryptionResult_GetSenderUuid, SealedSenderDecryptionResult_GetSenderE164, SealedSenderDecryptionResult_GetDeviceId, SealedSenderDecryptionResult_Message, SessionBuilder_ProcessPreKeyBundle, SessionCipher_EncryptMessage, SessionCipher_DecryptSignalMessage, SessionCipher_DecryptPreKeySignalMessage, SealedSender_Encrypt, SealedSender_MultiRecipientEncrypt, SealedSender_MultiRecipientMessageForSingleRecipient, SealedSender_DecryptToUsmc, SealedSender_DecryptMessage, SenderKeyDistributionMessage_Create, SenderKeyDistributionMessage_Process, GroupCipher_EncryptMessage, GroupCipher_DecryptMessage, Cds2ClientState_New, HsmEnclaveClient_New, HsmEnclaveClient_CompleteHandshake, HsmEnclaveClient_EstablishedSend, HsmEnclaveClient_EstablishedRecv, HsmEnclaveClient_InitialRequest, SgxClientState_InitialRequest, SgxClientState_CompleteHandshake, SgxClientState_EstablishedSend, SgxClientState_EstablishedRecv, ExpiringProfileKeyCredential_CheckValidContents, ExpiringProfileKeyCredentialResponse_CheckValidContents, GroupMasterKey_CheckValidContents, GroupPublicParams_CheckValidContents, GroupSecretParams_CheckValidContents, ProfileKey_CheckValidContents, ProfileKeyCiphertext_CheckValidContents, ProfileKeyCommitment_CheckValidContents, ProfileKeyCredentialRequest_CheckValidContents, ProfileKeyCredentialRequestContext_CheckValidContents, ReceiptCredential_CheckValidContents, ReceiptCredentialPresentation_CheckValidContents, ReceiptCredentialRequest_CheckValidContents, ReceiptCredentialRequestContext_CheckValidContents, ReceiptCredentialResponse_CheckValidContents, UuidCiphertext_CheckValidContents, ServerPublicParams_Deserialize, ServerPublicParams_Serialize, ServerSecretParams_Deserialize, ServerSecretParams_Serialize, ProfileKey_GetCommitment, ProfileKey_GetProfileKeyVersion, ProfileKey_DeriveAccessKey, GroupSecretParams_GenerateDeterministic, GroupSecretParams_DeriveFromMasterKey, GroupSecretParams_GetMasterKey, GroupSecretParams_GetPublicParams, GroupSecretParams_EncryptServiceId, GroupSecretParams_DecryptServiceId, GroupSecretParams_EncryptProfileKey, GroupSecretParams_DecryptProfileKey, GroupSecretParams_EncryptBlobWithPaddingDeterministic, GroupSecretParams_DecryptBlobWithPadding, ServerSecretParams_GenerateDeterministic, ServerSecretParams_GetPublicParams, ServerSecretParams_SignDeterministic, ServerPublicParams_GetEndorsementPublicKey, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic, ServerPublicParams_ReceiveExpiringProfileKeyCredential, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic, ServerPublicParams_ReceiveReceiptCredential, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic, AuthCredentialWithPni_CheckValidContents, AuthCredentialWithPniResponse_CheckValidContents, ServerSecretParams_VerifyAuthCredentialPresentation, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic, ServerSecretParams_VerifyProfileKeyCredentialPresentation, ServerSecretParams_IssueReceiptCredentialDeterministic, ServerSecretParams_VerifyReceiptCredentialPresentation, GroupPublicParams_GetGroupIdentifier, ServerPublicParams_VerifySignature, AuthCredentialPresentation_CheckValidContents, AuthCredentialPresentation_GetUuidCiphertext, AuthCredentialPresentation_GetPniCiphertext, AuthCredentialPresentation_GetRedemptionTime, ProfileKeyCredentialRequestContext_GetRequest, ExpiringProfileKeyCredential_GetExpirationTime, ProfileKeyCredentialPresentation_CheckValidContents, ProfileKeyCredentialPresentation_GetUuidCiphertext, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext, ReceiptCredentialRequestContext_GetRequest, ReceiptCredential_GetReceiptExpirationTime, ReceiptCredential_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptExpirationTime, ReceiptCredentialPresentation_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptSerial, GenericServerSecretParams_CheckValidContents, GenericServerSecretParams_GenerateDeterministic, GenericServerSecretParams_GetPublicParams, GenericServerPublicParams_CheckValidContents, CallLinkSecretParams_CheckValidContents, CallLinkSecretParams_DeriveFromRootKey, CallLinkSecretParams_GetPublicParams, CallLinkSecretParams_DecryptUserId, CallLinkSecretParams_EncryptUserId, CallLinkPublicParams_CheckValidContents, CreateCallLinkCredentialRequestContext_CheckValidContents, CreateCallLinkCredentialRequestContext_NewDeterministic, CreateCallLinkCredentialRequestContext_GetRequest, CreateCallLinkCredentialRequest_CheckValidContents, CreateCallLinkCredentialRequest_IssueDeterministic, CreateCallLinkCredentialResponse_CheckValidContents, CreateCallLinkCredentialRequestContext_ReceiveResponse, CreateCallLinkCredential_CheckValidContents, CreateCallLinkCredential_PresentDeterministic, CreateCallLinkCredentialPresentation_CheckValidContents, CreateCallLinkCredentialPresentation_Verify, CallLinkAuthCredentialResponse_CheckValidContents, CallLinkAuthCredentialResponse_IssueDeterministic, CallLinkAuthCredentialResponse_Receive, CallLinkAuthCredential_CheckValidContents, CallLinkAuthCredential_PresentDeterministic, CallLinkAuthCredentialPresentation_CheckValidContents, CallLinkAuthCredentialPresentation_Verify, CallLinkAuthCredentialPresentation_GetUserId, BackupAuthCredentialRequestContext_New, BackupAuthCredentialRequestContext_CheckValidContents, BackupAuthCredentialRequestContext_GetRequest, BackupAuthCredentialRequest_CheckValidContents, BackupAuthCredentialRequest_IssueDeterministic, BackupAuthCredentialResponse_CheckValidContents, BackupAuthCredentialRequestContext_ReceiveResponse, BackupAuthCredential_CheckValidContents, BackupAuthCredential_GetBackupId, BackupAuthCredential_GetBackupLevel, BackupAuthCredential_GetType, BackupAuthCredential_PresentDeterministic, BackupAuthCredentialPresentation_CheckValidContents, BackupAuthCredentialPresentation_Verify, BackupAuthCredentialPresentation_GetBackupId, BackupAuthCredentialPresentation_GetBackupLevel, BackupAuthCredentialPresentation_GetType, GroupSendDerivedKeyPair_CheckValidContents, GroupSendDerivedKeyPair_ForExpiration, GroupSendEndorsementsResponse_CheckValidContents, GroupSendEndorsementsResponse_IssueDeterministic, GroupSendEndorsementsResponse_GetExpiration, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts, GroupSendEndorsement_CheckValidContents, GroupSendEndorsement_Combine, GroupSendEndorsement_Remove, GroupSendEndorsement_ToToken, GroupSendEndorsement_CallLinkParams_ToToken, GroupSendToken_CheckValidContents, GroupSendToken_ToFullToken, GroupSendFullToken_CheckValidContents, GroupSendFullToken_GetExpiration, GroupSendFullToken_Verify, LookupRequest_new, LookupRequest_addE164, LookupRequest_addPreviousE164, LookupRequest_setToken, LookupRequest_addAciAndAccessKey, CdsiLookup_new, CdsiLookup_token, CdsiLookup_complete, HttpRequest_new, HttpRequest_add_header, ChatConnectionInfo_local_port, ChatConnectionInfo_ip_version, ChatConnectionInfo_description, UnauthenticatedChatConnection_connect, UnauthenticatedChatConnection_init_listener, UnauthenticatedChatConnection_send, UnauthenticatedChatConnection_disconnect, UnauthenticatedChatConnection_info, UnauthenticatedChatConnection_look_up_username_hash, UnauthenticatedChatConnection_look_up_username_link, UnauthenticatedChatConnection_send_multi_recipient_message, AuthenticatedChatConnection_preconnect, AuthenticatedChatConnection_connect, AuthenticatedChatConnection_init_listener, AuthenticatedChatConnection_send, AuthenticatedChatConnection_disconnect, AuthenticatedChatConnection_info, ServerMessageAck_SendStatus, ProvisioningChatConnection_connect, ProvisioningChatConnection_init_listener, ProvisioningChatConnection_info, ProvisioningChatConnection_disconnect, UnauthenticatedChatConnection_get_pre_keys_access_key_auth, UnauthenticatedChatConnection_get_pre_keys_access_group_auth, UnauthenticatedChatConnection_account_exists, AuthenticatedChatConnection_get_upload_form, KeyTransparency_AciSearchKey, KeyTransparency_E164SearchKey, KeyTransparency_UsernameHashSearchKey, KeyTransparency_Search, KeyTransparency_Monitor, KeyTransparency_Distinguished, RegistrationService_CreateSession, RegistrationService_ResumeSession, RegistrationService_RequestVerificationCode, RegistrationService_SubmitVerificationCode, RegistrationService_SubmitCaptcha, RegistrationService_CheckSvr2Credentials, RegistrationService_RegisterAccount, RegistrationService_ReregisterAccount, RegistrationService_SessionId, RegistrationService_RegistrationSession, RegistrationSession_GetAllowedToRequestCode, RegistrationSession_GetVerified, RegistrationSession_GetNextCallSeconds, RegistrationSession_GetNextSmsSeconds, RegistrationSession_GetNextVerificationAttemptSeconds, RegistrationSession_GetRequestedInformation, RegisterAccountRequest_Create, RegisterAccountRequest_SetSkipDeviceTransfer, RegisterAccountRequest_SetAccountPassword, RegisterAccountRequest_SetIdentityPublicKey, RegisterAccountRequest_SetIdentitySignedPreKey, RegisterAccountRequest_SetIdentityPqLastResortPreKey, RegistrationAccountAttributes_Create, RegisterAccountResponse_GetIdentity, RegisterAccountResponse_GetNumber, RegisterAccountResponse_GetUsernameHash, RegisterAccountResponse_GetUsernameLinkHandle, RegisterAccountResponse_GetStorageCapable, RegisterAccountResponse_GetReregistration, RegisterAccountResponse_GetEntitlementBadges, RegisterAccountResponse_GetEntitlementBackupLevel, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds, SecureValueRecoveryForBackups_CreateNewBackupChain, SecureValueRecoveryForBackups_StoreBackup, SecureValueRecoveryForBackups_RestoreBackupFromServer, SecureValueRecoveryForBackups_RemoveBackup, BackupStoreResponse_GetForwardSecrecyToken, BackupStoreResponse_GetOpaqueMetadata, BackupStoreResponse_GetNextBackupSecretData, BackupRestoreResponse_GetForwardSecrecyToken, BackupRestoreResponse_GetNextBackupSecretData, TokioAsyncContext_new, TokioAsyncContext_cancel, ConnectionProxyConfig_new, ConnectionManager_new, ConnectionManager_set_proxy, ConnectionManager_set_invalid_proxy, ConnectionManager_clear_proxy, ConnectionManager_set_ipv6_enabled, ConnectionManager_set_censorship_circumvention_enabled, ConnectionManager_set_remote_config, ConnectionManager_on_network_change, AccountEntropyPool_Generate, AccountEntropyPool_IsValid, AccountEntropyPool_DeriveSvrKey, AccountEntropyPool_DeriveBackupKey, BackupKey_DeriveBackupId, BackupKey_DeriveEcKey, BackupKey_DeriveLocalBackupMetadataKey, BackupKey_DeriveMediaId, BackupKey_DeriveMediaEncryptionKey, BackupKey_DeriveThumbnailTransitEncryptionKey, IncrementalMac_CalculateChunkSize, IncrementalMac_Initialize, IncrementalMac_Update, IncrementalMac_Finalize, ValidatingMac_Initialize, ValidatingMac_Update, ValidatingMac_Finalize, MessageBackupKey_FromAccountEntropyPool, MessageBackupKey_FromBackupKeyAndBackupId, MessageBackupKey_GetHmacKey, MessageBackupKey_GetAesKey, MessageBackupValidator_Validate, OnlineBackupValidator_New, OnlineBackupValidator_AddFrame, OnlineBackupValidator_Finalize, BackupJsonExporter_New, BackupJsonExporter_GetInitialChunk, BackupJsonExporter_ExportFrames, BackupJsonExporter_Finish, Username_Hash, Username_Proof, Username_Verify, Username_CandidatesFrom, Username_HashFromParts, UsernameLink_Create, UsernameLink_DecryptUsername, SignalMedia_CheckAvailable, Mp4Sanitizer_Sanitize, WebpSanitizer_Sanitize, SanitizedMetadata_GetMetadata, SanitizedMetadata_GetDataOffset, SanitizedMetadata_GetDataLen, BridgedStringMap_new, BridgedStringMap_insert, TESTING_NonSuspendingBackgroundThreadRuntime_New, TESTING_FutureSuccess, TESTING_TokioAsyncContext_FutureSuccessBytes, TESTING_FutureFailure, TESTING_FutureCancellationCounter_Create, TESTING_FutureCancellationCounter_WaitForCount, TESTING_FutureIncrementOnCancel, TESTING_TokioAsyncFuture, TESTING_TestingHandleType_getValue, TESTING_FutureProducesPointerType, TESTING_OtherTestingHandleType_getValue, TESTING_FutureProducesOtherPointerType, TESTING_PanicOnBorrowSync, TESTING_PanicOnBorrowAsync, TESTING_PanicOnBorrowIo, TESTING_ErrorOnBorrowSync, TESTING_ErrorOnBorrowAsync, TESTING_ErrorOnBorrowIo, TESTING_PanicOnLoadSync, TESTING_PanicOnLoadAsync, TESTING_PanicOnLoadIo, TESTING_PanicInBodySync, TESTING_PanicInBodyAsync, TESTING_PanicInBodyIo, TESTING_PanicOnReturnSync, TESTING_PanicOnReturnAsync, TESTING_PanicOnReturnIo, TESTING_ErrorOnReturnSync, TESTING_ErrorOnReturnAsync, TESTING_ErrorOnReturnIo, TESTING_ReturnStringArray, TESTING_JoinStringArray, TESTING_ProcessBytestringArray, TESTING_RoundTripU8, TESTING_RoundTripU16, TESTING_RoundTripU32, TESTING_RoundTripI32, TESTING_RoundTripU64, TESTING_ConvertOptionalUuid, TESTING_InputStreamReadIntoZeroLengthSlice, ComparableBackup_ReadUnencrypted, ComparableBackup_GetComparableString, ComparableBackup_GetUnknownFields, TESTING_FakeChatServer_Create, TESTING_FakeChatServer_GetNextRemote, TESTING_FakeChatConnection_Create, TESTING_FakeChatConnection_CreateProvisioning, TESTING_FakeChatConnection_TakeAuthenticatedChat, TESTING_FakeChatConnection_TakeUnauthenticatedChat, TESTING_FakeChatConnection_TakeProvisioningChat, TESTING_FakeChatConnection_TakeRemote, TESTING_FakeChatRemoteEnd_SendRawServerRequest, TESTING_FakeChatRemoteEnd_SendRawServerResponse, TESTING_FakeChatRemoteEnd_SendServerResponse, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest, TESTING_ChatResponseConvert, TESTING_ChatRequestGetMethod, TESTING_ChatRequestGetPath, TESTING_ChatRequestGetHeaderNames, TESTING_ChatRequestGetHeaderValue, TESTING_ChatRequestGetBody, TESTING_FakeChatResponse_Create, TESTING_ChatConnectErrorConvert, TESTING_ChatSendErrorConvert, TESTING_KeyTransFatalVerificationFailure, TESTING_KeyTransNonFatalVerificationFailure, TESTING_KeyTransChatSendError, TESTING_RegistrationSessionInfoConvert, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert, TESTING_FakeRegistrationSession_CreateSession, TESTING_RegisterAccountResponse_CreateTestValue, TESTING_RegistrationService_CreateSessionErrorConvert, TESTING_RegistrationService_ResumeSessionErrorConvert, TESTING_RegistrationService_UpdateSessionErrorConvert, TESTING_RegistrationService_RequestVerificationCodeErrorConvert, TESTING_RegistrationService_SubmitVerificationErrorConvert, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert, TESTING_RegistrationService_RegisterAccountErrorConvert, TESTING_CdsiLookupResponseConvert, TESTING_CdsiLookupErrorConvert, TESTING_ServerMessageAck_Create, TESTING_ConnectionManager_newLocalOverride, TESTING_ConnectionManager_isUsingProxy, TESTING_CreateOTP, TESTING_CreateOTPFromBase64, TESTING_SignedPublicPreKey_CheckBridgesCorrectly, TestingSemaphore_New, TestingSemaphore_AddPermits, TestingValueHolder_New, TestingValueHolder_Get, TESTING_ReturnPair, test_only_fn_returns_123, TESTING_BridgedStringMap_dump_to_json, TESTING_TokioAsyncContext_NewSingleThreaded, };
|
|
98
101
|
export declare const enum LogLevel {
|
|
99
102
|
Error = 1,
|
|
100
103
|
Warn = 2,
|
|
@@ -102,6 +105,10 @@ export declare const enum LogLevel {
|
|
|
102
105
|
Debug = 4,
|
|
103
106
|
Trace = 5
|
|
104
107
|
}
|
|
108
|
+
export type BridgeInputStream = {
|
|
109
|
+
read: (amount: number) => Promise<Uint8Array<ArrayBuffer>>;
|
|
110
|
+
skip: (amount: bigint) => Promise<void>;
|
|
111
|
+
};
|
|
105
112
|
export interface BridgedStringMap {
|
|
106
113
|
readonly __type: unique symbol;
|
|
107
114
|
}
|
package/dist/Native.js
CHANGED
|
@@ -9,7 +9,7 @@ export var IdentityChange;
|
|
|
9
9
|
IdentityChange[IdentityChange["ReplacedExisting"] = 1] = "ReplacedExisting";
|
|
10
10
|
})(IdentityChange || (IdentityChange = {}));
|
|
11
11
|
import load from 'node-gyp-build';
|
|
12
|
-
const { registerErrors, initLogger, SealedSenderMultiRecipientMessage_Parse, MinidumpToJSONString, Aes256GcmSiv_New, Aes256GcmSiv_Encrypt, Aes256GcmSiv_Decrypt, PublicKey_HpkeSeal, PrivateKey_HpkeOpen, HKDF_DeriveSecrets, ServiceId_ServiceIdBinary, ServiceId_ServiceIdString, ServiceId_ServiceIdLog, ServiceId_ParseFromServiceIdBinary, ServiceId_ParseFromServiceIdString, ProtocolAddress_New, PublicKey_Deserialize, PublicKey_Serialize, PublicKey_GetPublicKeyBytes, ProtocolAddress_DeviceId, ProtocolAddress_Name, PublicKey_Equals, PublicKey_Verify, PrivateKey_Deserialize, PrivateKey_Serialize, PrivateKey_Generate, PrivateKey_GetPublicKey, PrivateKey_Sign, PrivateKey_Agree, KyberPublicKey_Serialize, KyberPublicKey_Deserialize, KyberSecretKey_Serialize, KyberSecretKey_Deserialize, KyberPublicKey_Equals, KyberKeyPair_Generate, KyberKeyPair_GetPublicKey, KyberKeyPair_GetSecretKey, IdentityKeyPair_Serialize, IdentityKeyPair_Deserialize, IdentityKeyPair_SignAlternateIdentity, IdentityKey_VerifyAlternateIdentity, Fingerprint_New, Fingerprint_ScannableEncoding, Fingerprint_DisplayString, ScannableFingerprint_Compare, SignalMessage_Deserialize, SignalMessage_GetBody, SignalMessage_GetSerialized, SignalMessage_GetCounter, SignalMessage_GetMessageVersion, SignalMessage_GetPqRatchet, SignalMessage_New, SignalMessage_VerifyMac, PreKeySignalMessage_New, PreKeySignalMessage_Deserialize, PreKeySignalMessage_Serialize, PreKeySignalMessage_GetRegistrationId, PreKeySignalMessage_GetSignedPreKeyId, PreKeySignalMessage_GetPreKeyId, PreKeySignalMessage_GetVersion, SenderKeyMessage_Deserialize, SenderKeyMessage_GetCipherText, SenderKeyMessage_Serialize, SenderKeyMessage_GetDistributionId, SenderKeyMessage_GetChainId, SenderKeyMessage_GetIteration, SenderKeyMessage_New, SenderKeyMessage_VerifySignature, SenderKeyDistributionMessage_Deserialize, SenderKeyDistributionMessage_GetChainKey, SenderKeyDistributionMessage_Serialize, SenderKeyDistributionMessage_GetDistributionId, SenderKeyDistributionMessage_GetChainId, SenderKeyDistributionMessage_GetIteration, SenderKeyDistributionMessage_New, DecryptionErrorMessage_Deserialize, DecryptionErrorMessage_GetTimestamp, DecryptionErrorMessage_GetDeviceId, DecryptionErrorMessage_Serialize, DecryptionErrorMessage_GetRatchetKey, DecryptionErrorMessage_ForOriginalMessage, DecryptionErrorMessage_ExtractFromSerializedContent, PlaintextContent_Deserialize, PlaintextContent_Serialize, PlaintextContent_GetBody, PlaintextContent_FromDecryptionErrorMessage, PreKeyBundle_New, PreKeyBundle_GetIdentityKey, PreKeyBundle_GetSignedPreKeySignature, PreKeyBundle_GetKyberPreKeySignature, PreKeyBundle_GetRegistrationId, PreKeyBundle_GetDeviceId, PreKeyBundle_GetSignedPreKeyId, PreKeyBundle_GetKyberPreKeyId, PreKeyBundle_GetPreKeyId, PreKeyBundle_GetPreKeyPublic, PreKeyBundle_GetSignedPreKeyPublic, PreKeyBundle_GetKyberPreKeyPublic, SignedPreKeyRecord_Deserialize, SignedPreKeyRecord_GetSignature, SignedPreKeyRecord_Serialize, SignedPreKeyRecord_GetId, SignedPreKeyRecord_GetTimestamp, SignedPreKeyRecord_GetPublicKey, SignedPreKeyRecord_GetPrivateKey, KyberPreKeyRecord_Deserialize, KyberPreKeyRecord_GetSignature, KyberPreKeyRecord_Serialize, KyberPreKeyRecord_GetId, KyberPreKeyRecord_GetTimestamp, KyberPreKeyRecord_GetPublicKey, KyberPreKeyRecord_GetSecretKey, KyberPreKeyRecord_GetKeyPair, SignedPreKeyRecord_New, KyberPreKeyRecord_New, PreKeyRecord_Deserialize, PreKeyRecord_Serialize, PreKeyRecord_GetId, PreKeyRecord_GetPublicKey, PreKeyRecord_GetPrivateKey, PreKeyRecord_New, SenderKeyRecord_Deserialize, SenderKeyRecord_Serialize, ServerCertificate_Deserialize, ServerCertificate_GetSerialized, ServerCertificate_GetCertificate, ServerCertificate_GetSignature, ServerCertificate_GetKeyId, ServerCertificate_GetKey, ServerCertificate_New, SenderCertificate_Deserialize, SenderCertificate_GetSerialized, SenderCertificate_GetCertificate, SenderCertificate_GetSignature, SenderCertificate_GetSenderUuid, SenderCertificate_GetSenderE164, SenderCertificate_GetExpiration, SenderCertificate_GetDeviceId, SenderCertificate_GetKey, SenderCertificate_Validate, SenderCertificate_GetServerCertificate, SenderCertificate_New, UnidentifiedSenderMessageContent_Deserialize, UnidentifiedSenderMessageContent_Serialize, UnidentifiedSenderMessageContent_GetContents, UnidentifiedSenderMessageContent_GetGroupId, UnidentifiedSenderMessageContent_GetSenderCert, UnidentifiedSenderMessageContent_GetMsgType, UnidentifiedSenderMessageContent_GetContentHint, UnidentifiedSenderMessageContent_New, CiphertextMessage_Type, CiphertextMessage_Serialize, CiphertextMessage_FromPlaintextContent, SessionRecord_ArchiveCurrentState, SessionRecord_HasUsableSenderChain, SessionRecord_CurrentRatchetKeyMatches, SessionRecord_Deserialize, SessionRecord_Serialize, SessionRecord_GetLocalRegistrationId, SessionRecord_GetRemoteRegistrationId, SealedSenderDecryptionResult_GetSenderUuid, SealedSenderDecryptionResult_GetSenderE164, SealedSenderDecryptionResult_GetDeviceId, SealedSenderDecryptionResult_Message, SessionBuilder_ProcessPreKeyBundle, SessionCipher_EncryptMessage, SessionCipher_DecryptSignalMessage, SessionCipher_DecryptPreKeySignalMessage, SealedSender_Encrypt, SealedSender_MultiRecipientEncrypt, SealedSender_MultiRecipientMessageForSingleRecipient, SealedSender_DecryptToUsmc, SealedSender_DecryptMessage, SenderKeyDistributionMessage_Create, SenderKeyDistributionMessage_Process, GroupCipher_EncryptMessage, GroupCipher_DecryptMessage, Cds2ClientState_New, HsmEnclaveClient_New, HsmEnclaveClient_CompleteHandshake, HsmEnclaveClient_EstablishedSend, HsmEnclaveClient_EstablishedRecv, HsmEnclaveClient_InitialRequest, SgxClientState_InitialRequest, SgxClientState_CompleteHandshake, SgxClientState_EstablishedSend, SgxClientState_EstablishedRecv, ExpiringProfileKeyCredential_CheckValidContents, ExpiringProfileKeyCredentialResponse_CheckValidContents, GroupMasterKey_CheckValidContents, GroupPublicParams_CheckValidContents, GroupSecretParams_CheckValidContents, ProfileKey_CheckValidContents, ProfileKeyCiphertext_CheckValidContents, ProfileKeyCommitment_CheckValidContents, ProfileKeyCredentialRequest_CheckValidContents, ProfileKeyCredentialRequestContext_CheckValidContents, ReceiptCredential_CheckValidContents, ReceiptCredentialPresentation_CheckValidContents, ReceiptCredentialRequest_CheckValidContents, ReceiptCredentialRequestContext_CheckValidContents, ReceiptCredentialResponse_CheckValidContents, UuidCiphertext_CheckValidContents, ServerPublicParams_Deserialize, ServerPublicParams_Serialize, ServerSecretParams_Deserialize, ServerSecretParams_Serialize, ProfileKey_GetCommitment, ProfileKey_GetProfileKeyVersion, ProfileKey_DeriveAccessKey, GroupSecretParams_GenerateDeterministic, GroupSecretParams_DeriveFromMasterKey, GroupSecretParams_GetMasterKey, GroupSecretParams_GetPublicParams, GroupSecretParams_EncryptServiceId, GroupSecretParams_DecryptServiceId, GroupSecretParams_EncryptProfileKey, GroupSecretParams_DecryptProfileKey, GroupSecretParams_EncryptBlobWithPaddingDeterministic, GroupSecretParams_DecryptBlobWithPadding, ServerSecretParams_GenerateDeterministic, ServerSecretParams_GetPublicParams, ServerSecretParams_SignDeterministic, ServerPublicParams_GetEndorsementPublicKey, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic, ServerPublicParams_ReceiveExpiringProfileKeyCredential, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic, ServerPublicParams_ReceiveReceiptCredential, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic, AuthCredentialWithPni_CheckValidContents, AuthCredentialWithPniResponse_CheckValidContents, ServerSecretParams_VerifyAuthCredentialPresentation, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic, ServerSecretParams_VerifyProfileKeyCredentialPresentation, ServerSecretParams_IssueReceiptCredentialDeterministic, ServerSecretParams_VerifyReceiptCredentialPresentation, GroupPublicParams_GetGroupIdentifier, ServerPublicParams_VerifySignature, AuthCredentialPresentation_CheckValidContents, AuthCredentialPresentation_GetUuidCiphertext, AuthCredentialPresentation_GetPniCiphertext, AuthCredentialPresentation_GetRedemptionTime, ProfileKeyCredentialRequestContext_GetRequest, ExpiringProfileKeyCredential_GetExpirationTime, ProfileKeyCredentialPresentation_CheckValidContents, ProfileKeyCredentialPresentation_GetUuidCiphertext, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext, ReceiptCredentialRequestContext_GetRequest, ReceiptCredential_GetReceiptExpirationTime, ReceiptCredential_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptExpirationTime, ReceiptCredentialPresentation_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptSerial, GenericServerSecretParams_CheckValidContents, GenericServerSecretParams_GenerateDeterministic, GenericServerSecretParams_GetPublicParams, GenericServerPublicParams_CheckValidContents, CallLinkSecretParams_CheckValidContents, CallLinkSecretParams_DeriveFromRootKey, CallLinkSecretParams_GetPublicParams, CallLinkSecretParams_DecryptUserId, CallLinkSecretParams_EncryptUserId, CallLinkPublicParams_CheckValidContents, CreateCallLinkCredentialRequestContext_CheckValidContents, CreateCallLinkCredentialRequestContext_NewDeterministic, CreateCallLinkCredentialRequestContext_GetRequest, CreateCallLinkCredentialRequest_CheckValidContents, CreateCallLinkCredentialRequest_IssueDeterministic, CreateCallLinkCredentialResponse_CheckValidContents, CreateCallLinkCredentialRequestContext_ReceiveResponse, CreateCallLinkCredential_CheckValidContents, CreateCallLinkCredential_PresentDeterministic, CreateCallLinkCredentialPresentation_CheckValidContents, CreateCallLinkCredentialPresentation_Verify, CallLinkAuthCredentialResponse_CheckValidContents, CallLinkAuthCredentialResponse_IssueDeterministic, CallLinkAuthCredentialResponse_Receive, CallLinkAuthCredential_CheckValidContents, CallLinkAuthCredential_PresentDeterministic, CallLinkAuthCredentialPresentation_CheckValidContents, CallLinkAuthCredentialPresentation_Verify, CallLinkAuthCredentialPresentation_GetUserId, BackupAuthCredentialRequestContext_New, BackupAuthCredentialRequestContext_CheckValidContents, BackupAuthCredentialRequestContext_GetRequest, BackupAuthCredentialRequest_CheckValidContents, BackupAuthCredentialRequest_IssueDeterministic, BackupAuthCredentialResponse_CheckValidContents, BackupAuthCredentialRequestContext_ReceiveResponse, BackupAuthCredential_CheckValidContents, BackupAuthCredential_GetBackupId, BackupAuthCredential_GetBackupLevel, BackupAuthCredential_GetType, BackupAuthCredential_PresentDeterministic, BackupAuthCredentialPresentation_CheckValidContents, BackupAuthCredentialPresentation_Verify, BackupAuthCredentialPresentation_GetBackupId, BackupAuthCredentialPresentation_GetBackupLevel, BackupAuthCredentialPresentation_GetType, GroupSendDerivedKeyPair_CheckValidContents, GroupSendDerivedKeyPair_ForExpiration, GroupSendEndorsementsResponse_CheckValidContents, GroupSendEndorsementsResponse_IssueDeterministic, GroupSendEndorsementsResponse_GetExpiration, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts, GroupSendEndorsement_CheckValidContents, GroupSendEndorsement_Combine, GroupSendEndorsement_Remove, GroupSendEndorsement_ToToken, GroupSendEndorsement_CallLinkParams_ToToken, GroupSendToken_CheckValidContents, GroupSendToken_ToFullToken, GroupSendFullToken_CheckValidContents, GroupSendFullToken_GetExpiration, GroupSendFullToken_Verify, LookupRequest_new, LookupRequest_addE164, LookupRequest_addPreviousE164, LookupRequest_setToken, LookupRequest_addAciAndAccessKey, CdsiLookup_new, CdsiLookup_token, CdsiLookup_complete, HttpRequest_new, HttpRequest_add_header, ChatConnectionInfo_local_port, ChatConnectionInfo_ip_version, ChatConnectionInfo_description, UnauthenticatedChatConnection_connect, UnauthenticatedChatConnection_init_listener, UnauthenticatedChatConnection_send, UnauthenticatedChatConnection_disconnect, UnauthenticatedChatConnection_info, UnauthenticatedChatConnection_look_up_username_hash, UnauthenticatedChatConnection_look_up_username_link, UnauthenticatedChatConnection_send_multi_recipient_message, AuthenticatedChatConnection_preconnect, AuthenticatedChatConnection_connect, AuthenticatedChatConnection_init_listener, AuthenticatedChatConnection_send, AuthenticatedChatConnection_disconnect, AuthenticatedChatConnection_info, ServerMessageAck_SendStatus, ProvisioningChatConnection_connect, ProvisioningChatConnection_init_listener, ProvisioningChatConnection_info, ProvisioningChatConnection_disconnect, UnauthenticatedChatConnection_get_pre_keys_access_key_auth, UnauthenticatedChatConnection_get_pre_keys_access_group_auth, UnauthenticatedChatConnection_account_exists, KeyTransparency_AciSearchKey, KeyTransparency_E164SearchKey, KeyTransparency_UsernameHashSearchKey, KeyTransparency_Search, KeyTransparency_Monitor, KeyTransparency_Distinguished, RegistrationService_CreateSession, RegistrationService_ResumeSession, RegistrationService_RequestVerificationCode, RegistrationService_SubmitVerificationCode, RegistrationService_SubmitCaptcha, RegistrationService_CheckSvr2Credentials, RegistrationService_RegisterAccount, RegistrationService_ReregisterAccount, RegistrationService_SessionId, RegistrationService_RegistrationSession, RegistrationSession_GetAllowedToRequestCode, RegistrationSession_GetVerified, RegistrationSession_GetNextCallSeconds, RegistrationSession_GetNextSmsSeconds, RegistrationSession_GetNextVerificationAttemptSeconds, RegistrationSession_GetRequestedInformation, RegisterAccountRequest_Create, RegisterAccountRequest_SetSkipDeviceTransfer, RegisterAccountRequest_SetAccountPassword, RegisterAccountRequest_SetIdentityPublicKey, RegisterAccountRequest_SetIdentitySignedPreKey, RegisterAccountRequest_SetIdentityPqLastResortPreKey, RegistrationAccountAttributes_Create, RegisterAccountResponse_GetIdentity, RegisterAccountResponse_GetNumber, RegisterAccountResponse_GetUsernameHash, RegisterAccountResponse_GetUsernameLinkHandle, RegisterAccountResponse_GetStorageCapable, RegisterAccountResponse_GetReregistration, RegisterAccountResponse_GetEntitlementBadges, RegisterAccountResponse_GetEntitlementBackupLevel, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds, SecureValueRecoveryForBackups_CreateNewBackupChain, SecureValueRecoveryForBackups_StoreBackup, SecureValueRecoveryForBackups_RestoreBackupFromServer, SecureValueRecoveryForBackups_RemoveBackup, BackupStoreResponse_GetForwardSecrecyToken, BackupStoreResponse_GetOpaqueMetadata, BackupStoreResponse_GetNextBackupSecretData, BackupRestoreResponse_GetForwardSecrecyToken, BackupRestoreResponse_GetNextBackupSecretData, TokioAsyncContext_new, TokioAsyncContext_cancel, ConnectionProxyConfig_new, ConnectionManager_new, ConnectionManager_set_proxy, ConnectionManager_set_invalid_proxy, ConnectionManager_clear_proxy, ConnectionManager_set_ipv6_enabled, ConnectionManager_set_censorship_circumvention_enabled, ConnectionManager_set_remote_config, ConnectionManager_on_network_change, AccountEntropyPool_Generate, AccountEntropyPool_IsValid, AccountEntropyPool_DeriveSvrKey, AccountEntropyPool_DeriveBackupKey, BackupKey_DeriveBackupId, BackupKey_DeriveEcKey, BackupKey_DeriveLocalBackupMetadataKey, BackupKey_DeriveMediaId, BackupKey_DeriveMediaEncryptionKey, BackupKey_DeriveThumbnailTransitEncryptionKey, IncrementalMac_CalculateChunkSize, IncrementalMac_Initialize, IncrementalMac_Update, IncrementalMac_Finalize, ValidatingMac_Initialize, ValidatingMac_Update, ValidatingMac_Finalize, MessageBackupKey_FromAccountEntropyPool, MessageBackupKey_FromBackupKeyAndBackupId, MessageBackupKey_GetHmacKey, MessageBackupKey_GetAesKey, MessageBackupValidator_Validate, OnlineBackupValidator_New, OnlineBackupValidator_AddFrame, OnlineBackupValidator_Finalize, BackupJsonExporter_New, BackupJsonExporter_GetInitialChunk, BackupJsonExporter_ExportFrames, BackupJsonExporter_Finish, Username_Hash, Username_Proof, Username_Verify, Username_CandidatesFrom, Username_HashFromParts, UsernameLink_Create, UsernameLink_DecryptUsername, SignalMedia_CheckAvailable, Mp4Sanitizer_Sanitize, WebpSanitizer_Sanitize, SanitizedMetadata_GetMetadata, SanitizedMetadata_GetDataOffset, SanitizedMetadata_GetDataLen, BridgedStringMap_new, BridgedStringMap_insert, TESTING_NonSuspendingBackgroundThreadRuntime_New, TESTING_FutureSuccess, TESTING_TokioAsyncContext_FutureSuccessBytes, TESTING_FutureFailure, TESTING_FutureCancellationCounter_Create, TESTING_FutureCancellationCounter_WaitForCount, TESTING_FutureIncrementOnCancel, TESTING_TokioAsyncFuture, TESTING_TestingHandleType_getValue, TESTING_FutureProducesPointerType, TESTING_OtherTestingHandleType_getValue, TESTING_FutureProducesOtherPointerType, TESTING_PanicOnBorrowSync, TESTING_PanicOnBorrowAsync, TESTING_PanicOnBorrowIo, TESTING_ErrorOnBorrowSync, TESTING_ErrorOnBorrowAsync, TESTING_ErrorOnBorrowIo, TESTING_PanicOnLoadSync, TESTING_PanicOnLoadAsync, TESTING_PanicOnLoadIo, TESTING_PanicInBodySync, TESTING_PanicInBodyAsync, TESTING_PanicInBodyIo, TESTING_PanicOnReturnSync, TESTING_PanicOnReturnAsync, TESTING_PanicOnReturnIo, TESTING_ErrorOnReturnSync, TESTING_ErrorOnReturnAsync, TESTING_ErrorOnReturnIo, TESTING_ReturnStringArray, TESTING_JoinStringArray, TESTING_ProcessBytestringArray, TESTING_RoundTripU8, TESTING_RoundTripU16, TESTING_RoundTripU32, TESTING_RoundTripI32, TESTING_RoundTripU64, TESTING_ConvertOptionalUuid, TESTING_InputStreamReadIntoZeroLengthSlice, ComparableBackup_ReadUnencrypted, ComparableBackup_GetComparableString, ComparableBackup_GetUnknownFields, TESTING_FakeChatServer_Create, TESTING_FakeChatServer_GetNextRemote, TESTING_FakeChatConnection_Create, TESTING_FakeChatConnection_CreateProvisioning, TESTING_FakeChatConnection_TakeAuthenticatedChat, TESTING_FakeChatConnection_TakeUnauthenticatedChat, TESTING_FakeChatConnection_TakeProvisioningChat, TESTING_FakeChatConnection_TakeRemote, TESTING_FakeChatRemoteEnd_SendRawServerRequest, TESTING_FakeChatRemoteEnd_SendRawServerResponse, TESTING_FakeChatRemoteEnd_SendServerResponse, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest, TESTING_ChatResponseConvert, TESTING_ChatRequestGetMethod, TESTING_ChatRequestGetPath, TESTING_ChatRequestGetHeaderNames, TESTING_ChatRequestGetHeaderValue, TESTING_ChatRequestGetBody, TESTING_FakeChatResponse_Create, TESTING_ChatConnectErrorConvert, TESTING_ChatSendErrorConvert, TESTING_KeyTransFatalVerificationFailure, TESTING_KeyTransNonFatalVerificationFailure, TESTING_KeyTransChatSendError, TESTING_RegistrationSessionInfoConvert, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert, TESTING_FakeRegistrationSession_CreateSession, TESTING_RegisterAccountResponse_CreateTestValue, TESTING_RegistrationService_CreateSessionErrorConvert, TESTING_RegistrationService_ResumeSessionErrorConvert, TESTING_RegistrationService_UpdateSessionErrorConvert, TESTING_RegistrationService_RequestVerificationCodeErrorConvert, TESTING_RegistrationService_SubmitVerificationErrorConvert, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert, TESTING_RegistrationService_RegisterAccountErrorConvert, TESTING_CdsiLookupResponseConvert, TESTING_CdsiLookupErrorConvert, TESTING_ServerMessageAck_Create, TESTING_ConnectionManager_newLocalOverride, TESTING_ConnectionManager_isUsingProxy, TESTING_CreateOTP, TESTING_CreateOTPFromBase64, TESTING_SignedPublicPreKey_CheckBridgesCorrectly, TestingSemaphore_New, TestingSemaphore_AddPermits, TestingValueHolder_New, TestingValueHolder_Get, TESTING_ReturnPair, test_only_fn_returns_123, TESTING_BridgedStringMap_dump_to_json, TESTING_TokioAsyncContext_NewSingleThreaded, } = load(`${import.meta.dirname}/../`);
|
|
13
|
-
export { registerErrors, initLogger, SealedSenderMultiRecipientMessage_Parse, MinidumpToJSONString, Aes256GcmSiv_New, Aes256GcmSiv_Encrypt, Aes256GcmSiv_Decrypt, PublicKey_HpkeSeal, PrivateKey_HpkeOpen, HKDF_DeriveSecrets, ServiceId_ServiceIdBinary, ServiceId_ServiceIdString, ServiceId_ServiceIdLog, ServiceId_ParseFromServiceIdBinary, ServiceId_ParseFromServiceIdString, ProtocolAddress_New, PublicKey_Deserialize, PublicKey_Serialize, PublicKey_GetPublicKeyBytes, ProtocolAddress_DeviceId, ProtocolAddress_Name, PublicKey_Equals, PublicKey_Verify, PrivateKey_Deserialize, PrivateKey_Serialize, PrivateKey_Generate, PrivateKey_GetPublicKey, PrivateKey_Sign, PrivateKey_Agree, KyberPublicKey_Serialize, KyberPublicKey_Deserialize, KyberSecretKey_Serialize, KyberSecretKey_Deserialize, KyberPublicKey_Equals, KyberKeyPair_Generate, KyberKeyPair_GetPublicKey, KyberKeyPair_GetSecretKey, IdentityKeyPair_Serialize, IdentityKeyPair_Deserialize, IdentityKeyPair_SignAlternateIdentity, IdentityKey_VerifyAlternateIdentity, Fingerprint_New, Fingerprint_ScannableEncoding, Fingerprint_DisplayString, ScannableFingerprint_Compare, SignalMessage_Deserialize, SignalMessage_GetBody, SignalMessage_GetSerialized, SignalMessage_GetCounter, SignalMessage_GetMessageVersion, SignalMessage_GetPqRatchet, SignalMessage_New, SignalMessage_VerifyMac, PreKeySignalMessage_New, PreKeySignalMessage_Deserialize, PreKeySignalMessage_Serialize, PreKeySignalMessage_GetRegistrationId, PreKeySignalMessage_GetSignedPreKeyId, PreKeySignalMessage_GetPreKeyId, PreKeySignalMessage_GetVersion, SenderKeyMessage_Deserialize, SenderKeyMessage_GetCipherText, SenderKeyMessage_Serialize, SenderKeyMessage_GetDistributionId, SenderKeyMessage_GetChainId, SenderKeyMessage_GetIteration, SenderKeyMessage_New, SenderKeyMessage_VerifySignature, SenderKeyDistributionMessage_Deserialize, SenderKeyDistributionMessage_GetChainKey, SenderKeyDistributionMessage_Serialize, SenderKeyDistributionMessage_GetDistributionId, SenderKeyDistributionMessage_GetChainId, SenderKeyDistributionMessage_GetIteration, SenderKeyDistributionMessage_New, DecryptionErrorMessage_Deserialize, DecryptionErrorMessage_GetTimestamp, DecryptionErrorMessage_GetDeviceId, DecryptionErrorMessage_Serialize, DecryptionErrorMessage_GetRatchetKey, DecryptionErrorMessage_ForOriginalMessage, DecryptionErrorMessage_ExtractFromSerializedContent, PlaintextContent_Deserialize, PlaintextContent_Serialize, PlaintextContent_GetBody, PlaintextContent_FromDecryptionErrorMessage, PreKeyBundle_New, PreKeyBundle_GetIdentityKey, PreKeyBundle_GetSignedPreKeySignature, PreKeyBundle_GetKyberPreKeySignature, PreKeyBundle_GetRegistrationId, PreKeyBundle_GetDeviceId, PreKeyBundle_GetSignedPreKeyId, PreKeyBundle_GetKyberPreKeyId, PreKeyBundle_GetPreKeyId, PreKeyBundle_GetPreKeyPublic, PreKeyBundle_GetSignedPreKeyPublic, PreKeyBundle_GetKyberPreKeyPublic, SignedPreKeyRecord_Deserialize, SignedPreKeyRecord_GetSignature, SignedPreKeyRecord_Serialize, SignedPreKeyRecord_GetId, SignedPreKeyRecord_GetTimestamp, SignedPreKeyRecord_GetPublicKey, SignedPreKeyRecord_GetPrivateKey, KyberPreKeyRecord_Deserialize, KyberPreKeyRecord_GetSignature, KyberPreKeyRecord_Serialize, KyberPreKeyRecord_GetId, KyberPreKeyRecord_GetTimestamp, KyberPreKeyRecord_GetPublicKey, KyberPreKeyRecord_GetSecretKey, KyberPreKeyRecord_GetKeyPair, SignedPreKeyRecord_New, KyberPreKeyRecord_New, PreKeyRecord_Deserialize, PreKeyRecord_Serialize, PreKeyRecord_GetId, PreKeyRecord_GetPublicKey, PreKeyRecord_GetPrivateKey, PreKeyRecord_New, SenderKeyRecord_Deserialize, SenderKeyRecord_Serialize, ServerCertificate_Deserialize, ServerCertificate_GetSerialized, ServerCertificate_GetCertificate, ServerCertificate_GetSignature, ServerCertificate_GetKeyId, ServerCertificate_GetKey, ServerCertificate_New, SenderCertificate_Deserialize, SenderCertificate_GetSerialized, SenderCertificate_GetCertificate, SenderCertificate_GetSignature, SenderCertificate_GetSenderUuid, SenderCertificate_GetSenderE164, SenderCertificate_GetExpiration, SenderCertificate_GetDeviceId, SenderCertificate_GetKey, SenderCertificate_Validate, SenderCertificate_GetServerCertificate, SenderCertificate_New, UnidentifiedSenderMessageContent_Deserialize, UnidentifiedSenderMessageContent_Serialize, UnidentifiedSenderMessageContent_GetContents, UnidentifiedSenderMessageContent_GetGroupId, UnidentifiedSenderMessageContent_GetSenderCert, UnidentifiedSenderMessageContent_GetMsgType, UnidentifiedSenderMessageContent_GetContentHint, UnidentifiedSenderMessageContent_New, CiphertextMessage_Type, CiphertextMessage_Serialize, CiphertextMessage_FromPlaintextContent, SessionRecord_ArchiveCurrentState, SessionRecord_HasUsableSenderChain, SessionRecord_CurrentRatchetKeyMatches, SessionRecord_Deserialize, SessionRecord_Serialize, SessionRecord_GetLocalRegistrationId, SessionRecord_GetRemoteRegistrationId, SealedSenderDecryptionResult_GetSenderUuid, SealedSenderDecryptionResult_GetSenderE164, SealedSenderDecryptionResult_GetDeviceId, SealedSenderDecryptionResult_Message, SessionBuilder_ProcessPreKeyBundle, SessionCipher_EncryptMessage, SessionCipher_DecryptSignalMessage, SessionCipher_DecryptPreKeySignalMessage, SealedSender_Encrypt, SealedSender_MultiRecipientEncrypt, SealedSender_MultiRecipientMessageForSingleRecipient, SealedSender_DecryptToUsmc, SealedSender_DecryptMessage, SenderKeyDistributionMessage_Create, SenderKeyDistributionMessage_Process, GroupCipher_EncryptMessage, GroupCipher_DecryptMessage, Cds2ClientState_New, HsmEnclaveClient_New, HsmEnclaveClient_CompleteHandshake, HsmEnclaveClient_EstablishedSend, HsmEnclaveClient_EstablishedRecv, HsmEnclaveClient_InitialRequest, SgxClientState_InitialRequest, SgxClientState_CompleteHandshake, SgxClientState_EstablishedSend, SgxClientState_EstablishedRecv, ExpiringProfileKeyCredential_CheckValidContents, ExpiringProfileKeyCredentialResponse_CheckValidContents, GroupMasterKey_CheckValidContents, GroupPublicParams_CheckValidContents, GroupSecretParams_CheckValidContents, ProfileKey_CheckValidContents, ProfileKeyCiphertext_CheckValidContents, ProfileKeyCommitment_CheckValidContents, ProfileKeyCredentialRequest_CheckValidContents, ProfileKeyCredentialRequestContext_CheckValidContents, ReceiptCredential_CheckValidContents, ReceiptCredentialPresentation_CheckValidContents, ReceiptCredentialRequest_CheckValidContents, ReceiptCredentialRequestContext_CheckValidContents, ReceiptCredentialResponse_CheckValidContents, UuidCiphertext_CheckValidContents, ServerPublicParams_Deserialize, ServerPublicParams_Serialize, ServerSecretParams_Deserialize, ServerSecretParams_Serialize, ProfileKey_GetCommitment, ProfileKey_GetProfileKeyVersion, ProfileKey_DeriveAccessKey, GroupSecretParams_GenerateDeterministic, GroupSecretParams_DeriveFromMasterKey, GroupSecretParams_GetMasterKey, GroupSecretParams_GetPublicParams, GroupSecretParams_EncryptServiceId, GroupSecretParams_DecryptServiceId, GroupSecretParams_EncryptProfileKey, GroupSecretParams_DecryptProfileKey, GroupSecretParams_EncryptBlobWithPaddingDeterministic, GroupSecretParams_DecryptBlobWithPadding, ServerSecretParams_GenerateDeterministic, ServerSecretParams_GetPublicParams, ServerSecretParams_SignDeterministic, ServerPublicParams_GetEndorsementPublicKey, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic, ServerPublicParams_ReceiveExpiringProfileKeyCredential, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic, ServerPublicParams_ReceiveReceiptCredential, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic, AuthCredentialWithPni_CheckValidContents, AuthCredentialWithPniResponse_CheckValidContents, ServerSecretParams_VerifyAuthCredentialPresentation, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic, ServerSecretParams_VerifyProfileKeyCredentialPresentation, ServerSecretParams_IssueReceiptCredentialDeterministic, ServerSecretParams_VerifyReceiptCredentialPresentation, GroupPublicParams_GetGroupIdentifier, ServerPublicParams_VerifySignature, AuthCredentialPresentation_CheckValidContents, AuthCredentialPresentation_GetUuidCiphertext, AuthCredentialPresentation_GetPniCiphertext, AuthCredentialPresentation_GetRedemptionTime, ProfileKeyCredentialRequestContext_GetRequest, ExpiringProfileKeyCredential_GetExpirationTime, ProfileKeyCredentialPresentation_CheckValidContents, ProfileKeyCredentialPresentation_GetUuidCiphertext, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext, ReceiptCredentialRequestContext_GetRequest, ReceiptCredential_GetReceiptExpirationTime, ReceiptCredential_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptExpirationTime, ReceiptCredentialPresentation_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptSerial, GenericServerSecretParams_CheckValidContents, GenericServerSecretParams_GenerateDeterministic, GenericServerSecretParams_GetPublicParams, GenericServerPublicParams_CheckValidContents, CallLinkSecretParams_CheckValidContents, CallLinkSecretParams_DeriveFromRootKey, CallLinkSecretParams_GetPublicParams, CallLinkSecretParams_DecryptUserId, CallLinkSecretParams_EncryptUserId, CallLinkPublicParams_CheckValidContents, CreateCallLinkCredentialRequestContext_CheckValidContents, CreateCallLinkCredentialRequestContext_NewDeterministic, CreateCallLinkCredentialRequestContext_GetRequest, CreateCallLinkCredentialRequest_CheckValidContents, CreateCallLinkCredentialRequest_IssueDeterministic, CreateCallLinkCredentialResponse_CheckValidContents, CreateCallLinkCredentialRequestContext_ReceiveResponse, CreateCallLinkCredential_CheckValidContents, CreateCallLinkCredential_PresentDeterministic, CreateCallLinkCredentialPresentation_CheckValidContents, CreateCallLinkCredentialPresentation_Verify, CallLinkAuthCredentialResponse_CheckValidContents, CallLinkAuthCredentialResponse_IssueDeterministic, CallLinkAuthCredentialResponse_Receive, CallLinkAuthCredential_CheckValidContents, CallLinkAuthCredential_PresentDeterministic, CallLinkAuthCredentialPresentation_CheckValidContents, CallLinkAuthCredentialPresentation_Verify, CallLinkAuthCredentialPresentation_GetUserId, BackupAuthCredentialRequestContext_New, BackupAuthCredentialRequestContext_CheckValidContents, BackupAuthCredentialRequestContext_GetRequest, BackupAuthCredentialRequest_CheckValidContents, BackupAuthCredentialRequest_IssueDeterministic, BackupAuthCredentialResponse_CheckValidContents, BackupAuthCredentialRequestContext_ReceiveResponse, BackupAuthCredential_CheckValidContents, BackupAuthCredential_GetBackupId, BackupAuthCredential_GetBackupLevel, BackupAuthCredential_GetType, BackupAuthCredential_PresentDeterministic, BackupAuthCredentialPresentation_CheckValidContents, BackupAuthCredentialPresentation_Verify, BackupAuthCredentialPresentation_GetBackupId, BackupAuthCredentialPresentation_GetBackupLevel, BackupAuthCredentialPresentation_GetType, GroupSendDerivedKeyPair_CheckValidContents, GroupSendDerivedKeyPair_ForExpiration, GroupSendEndorsementsResponse_CheckValidContents, GroupSendEndorsementsResponse_IssueDeterministic, GroupSendEndorsementsResponse_GetExpiration, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts, GroupSendEndorsement_CheckValidContents, GroupSendEndorsement_Combine, GroupSendEndorsement_Remove, GroupSendEndorsement_ToToken, GroupSendEndorsement_CallLinkParams_ToToken, GroupSendToken_CheckValidContents, GroupSendToken_ToFullToken, GroupSendFullToken_CheckValidContents, GroupSendFullToken_GetExpiration, GroupSendFullToken_Verify, LookupRequest_new, LookupRequest_addE164, LookupRequest_addPreviousE164, LookupRequest_setToken, LookupRequest_addAciAndAccessKey, CdsiLookup_new, CdsiLookup_token, CdsiLookup_complete, HttpRequest_new, HttpRequest_add_header, ChatConnectionInfo_local_port, ChatConnectionInfo_ip_version, ChatConnectionInfo_description, UnauthenticatedChatConnection_connect, UnauthenticatedChatConnection_init_listener, UnauthenticatedChatConnection_send, UnauthenticatedChatConnection_disconnect, UnauthenticatedChatConnection_info, UnauthenticatedChatConnection_look_up_username_hash, UnauthenticatedChatConnection_look_up_username_link, UnauthenticatedChatConnection_send_multi_recipient_message, AuthenticatedChatConnection_preconnect, AuthenticatedChatConnection_connect, AuthenticatedChatConnection_init_listener, AuthenticatedChatConnection_send, AuthenticatedChatConnection_disconnect, AuthenticatedChatConnection_info, ServerMessageAck_SendStatus, ProvisioningChatConnection_connect, ProvisioningChatConnection_init_listener, ProvisioningChatConnection_info, ProvisioningChatConnection_disconnect, UnauthenticatedChatConnection_get_pre_keys_access_key_auth, UnauthenticatedChatConnection_get_pre_keys_access_group_auth, UnauthenticatedChatConnection_account_exists, KeyTransparency_AciSearchKey, KeyTransparency_E164SearchKey, KeyTransparency_UsernameHashSearchKey, KeyTransparency_Search, KeyTransparency_Monitor, KeyTransparency_Distinguished, RegistrationService_CreateSession, RegistrationService_ResumeSession, RegistrationService_RequestVerificationCode, RegistrationService_SubmitVerificationCode, RegistrationService_SubmitCaptcha, RegistrationService_CheckSvr2Credentials, RegistrationService_RegisterAccount, RegistrationService_ReregisterAccount, RegistrationService_SessionId, RegistrationService_RegistrationSession, RegistrationSession_GetAllowedToRequestCode, RegistrationSession_GetVerified, RegistrationSession_GetNextCallSeconds, RegistrationSession_GetNextSmsSeconds, RegistrationSession_GetNextVerificationAttemptSeconds, RegistrationSession_GetRequestedInformation, RegisterAccountRequest_Create, RegisterAccountRequest_SetSkipDeviceTransfer, RegisterAccountRequest_SetAccountPassword, RegisterAccountRequest_SetIdentityPublicKey, RegisterAccountRequest_SetIdentitySignedPreKey, RegisterAccountRequest_SetIdentityPqLastResortPreKey, RegistrationAccountAttributes_Create, RegisterAccountResponse_GetIdentity, RegisterAccountResponse_GetNumber, RegisterAccountResponse_GetUsernameHash, RegisterAccountResponse_GetUsernameLinkHandle, RegisterAccountResponse_GetStorageCapable, RegisterAccountResponse_GetReregistration, RegisterAccountResponse_GetEntitlementBadges, RegisterAccountResponse_GetEntitlementBackupLevel, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds, SecureValueRecoveryForBackups_CreateNewBackupChain, SecureValueRecoveryForBackups_StoreBackup, SecureValueRecoveryForBackups_RestoreBackupFromServer, SecureValueRecoveryForBackups_RemoveBackup, BackupStoreResponse_GetForwardSecrecyToken, BackupStoreResponse_GetOpaqueMetadata, BackupStoreResponse_GetNextBackupSecretData, BackupRestoreResponse_GetForwardSecrecyToken, BackupRestoreResponse_GetNextBackupSecretData, TokioAsyncContext_new, TokioAsyncContext_cancel, ConnectionProxyConfig_new, ConnectionManager_new, ConnectionManager_set_proxy, ConnectionManager_set_invalid_proxy, ConnectionManager_clear_proxy, ConnectionManager_set_ipv6_enabled, ConnectionManager_set_censorship_circumvention_enabled, ConnectionManager_set_remote_config, ConnectionManager_on_network_change, AccountEntropyPool_Generate, AccountEntropyPool_IsValid, AccountEntropyPool_DeriveSvrKey, AccountEntropyPool_DeriveBackupKey, BackupKey_DeriveBackupId, BackupKey_DeriveEcKey, BackupKey_DeriveLocalBackupMetadataKey, BackupKey_DeriveMediaId, BackupKey_DeriveMediaEncryptionKey, BackupKey_DeriveThumbnailTransitEncryptionKey, IncrementalMac_CalculateChunkSize, IncrementalMac_Initialize, IncrementalMac_Update, IncrementalMac_Finalize, ValidatingMac_Initialize, ValidatingMac_Update, ValidatingMac_Finalize, MessageBackupKey_FromAccountEntropyPool, MessageBackupKey_FromBackupKeyAndBackupId, MessageBackupKey_GetHmacKey, MessageBackupKey_GetAesKey, MessageBackupValidator_Validate, OnlineBackupValidator_New, OnlineBackupValidator_AddFrame, OnlineBackupValidator_Finalize, BackupJsonExporter_New, BackupJsonExporter_GetInitialChunk, BackupJsonExporter_ExportFrames, BackupJsonExporter_Finish, Username_Hash, Username_Proof, Username_Verify, Username_CandidatesFrom, Username_HashFromParts, UsernameLink_Create, UsernameLink_DecryptUsername, SignalMedia_CheckAvailable, Mp4Sanitizer_Sanitize, WebpSanitizer_Sanitize, SanitizedMetadata_GetMetadata, SanitizedMetadata_GetDataOffset, SanitizedMetadata_GetDataLen, BridgedStringMap_new, BridgedStringMap_insert, TESTING_NonSuspendingBackgroundThreadRuntime_New, TESTING_FutureSuccess, TESTING_TokioAsyncContext_FutureSuccessBytes, TESTING_FutureFailure, TESTING_FutureCancellationCounter_Create, TESTING_FutureCancellationCounter_WaitForCount, TESTING_FutureIncrementOnCancel, TESTING_TokioAsyncFuture, TESTING_TestingHandleType_getValue, TESTING_FutureProducesPointerType, TESTING_OtherTestingHandleType_getValue, TESTING_FutureProducesOtherPointerType, TESTING_PanicOnBorrowSync, TESTING_PanicOnBorrowAsync, TESTING_PanicOnBorrowIo, TESTING_ErrorOnBorrowSync, TESTING_ErrorOnBorrowAsync, TESTING_ErrorOnBorrowIo, TESTING_PanicOnLoadSync, TESTING_PanicOnLoadAsync, TESTING_PanicOnLoadIo, TESTING_PanicInBodySync, TESTING_PanicInBodyAsync, TESTING_PanicInBodyIo, TESTING_PanicOnReturnSync, TESTING_PanicOnReturnAsync, TESTING_PanicOnReturnIo, TESTING_ErrorOnReturnSync, TESTING_ErrorOnReturnAsync, TESTING_ErrorOnReturnIo, TESTING_ReturnStringArray, TESTING_JoinStringArray, TESTING_ProcessBytestringArray, TESTING_RoundTripU8, TESTING_RoundTripU16, TESTING_RoundTripU32, TESTING_RoundTripI32, TESTING_RoundTripU64, TESTING_ConvertOptionalUuid, TESTING_InputStreamReadIntoZeroLengthSlice, ComparableBackup_ReadUnencrypted, ComparableBackup_GetComparableString, ComparableBackup_GetUnknownFields, TESTING_FakeChatServer_Create, TESTING_FakeChatServer_GetNextRemote, TESTING_FakeChatConnection_Create, TESTING_FakeChatConnection_CreateProvisioning, TESTING_FakeChatConnection_TakeAuthenticatedChat, TESTING_FakeChatConnection_TakeUnauthenticatedChat, TESTING_FakeChatConnection_TakeProvisioningChat, TESTING_FakeChatConnection_TakeRemote, TESTING_FakeChatRemoteEnd_SendRawServerRequest, TESTING_FakeChatRemoteEnd_SendRawServerResponse, TESTING_FakeChatRemoteEnd_SendServerResponse, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest, TESTING_ChatResponseConvert, TESTING_ChatRequestGetMethod, TESTING_ChatRequestGetPath, TESTING_ChatRequestGetHeaderNames, TESTING_ChatRequestGetHeaderValue, TESTING_ChatRequestGetBody, TESTING_FakeChatResponse_Create, TESTING_ChatConnectErrorConvert, TESTING_ChatSendErrorConvert, TESTING_KeyTransFatalVerificationFailure, TESTING_KeyTransNonFatalVerificationFailure, TESTING_KeyTransChatSendError, TESTING_RegistrationSessionInfoConvert, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert, TESTING_FakeRegistrationSession_CreateSession, TESTING_RegisterAccountResponse_CreateTestValue, TESTING_RegistrationService_CreateSessionErrorConvert, TESTING_RegistrationService_ResumeSessionErrorConvert, TESTING_RegistrationService_UpdateSessionErrorConvert, TESTING_RegistrationService_RequestVerificationCodeErrorConvert, TESTING_RegistrationService_SubmitVerificationErrorConvert, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert, TESTING_RegistrationService_RegisterAccountErrorConvert, TESTING_CdsiLookupResponseConvert, TESTING_CdsiLookupErrorConvert, TESTING_ServerMessageAck_Create, TESTING_ConnectionManager_newLocalOverride, TESTING_ConnectionManager_isUsingProxy, TESTING_CreateOTP, TESTING_CreateOTPFromBase64, TESTING_SignedPublicPreKey_CheckBridgesCorrectly, TestingSemaphore_New, TestingSemaphore_AddPermits, TestingValueHolder_New, TestingValueHolder_Get, TESTING_ReturnPair, test_only_fn_returns_123, TESTING_BridgedStringMap_dump_to_json, TESTING_TokioAsyncContext_NewSingleThreaded, };
|
|
12
|
+
const { registerErrors, initLogger, SealedSenderMultiRecipientMessage_Parse, MinidumpToJSONString, Aes256GcmSiv_New, Aes256GcmSiv_Encrypt, Aes256GcmSiv_Decrypt, PublicKey_HpkeSeal, PrivateKey_HpkeOpen, HKDF_DeriveSecrets, ServiceId_ServiceIdBinary, ServiceId_ServiceIdString, ServiceId_ServiceIdLog, ServiceId_ParseFromServiceIdBinary, ServiceId_ParseFromServiceIdString, ProtocolAddress_New, PublicKey_Deserialize, PublicKey_Serialize, PublicKey_GetPublicKeyBytes, ProtocolAddress_DeviceId, ProtocolAddress_Name, PublicKey_Equals, PublicKey_Verify, PrivateKey_Deserialize, PrivateKey_Serialize, PrivateKey_Generate, PrivateKey_GetPublicKey, PrivateKey_Sign, PrivateKey_Agree, KyberPublicKey_Serialize, KyberPublicKey_Deserialize, KyberSecretKey_Serialize, KyberSecretKey_Deserialize, KyberPublicKey_Equals, KyberKeyPair_Generate, KyberKeyPair_GetPublicKey, KyberKeyPair_GetSecretKey, IdentityKeyPair_Serialize, IdentityKeyPair_Deserialize, IdentityKeyPair_SignAlternateIdentity, IdentityKey_VerifyAlternateIdentity, Fingerprint_New, Fingerprint_ScannableEncoding, Fingerprint_DisplayString, ScannableFingerprint_Compare, SignalMessage_Deserialize, SignalMessage_GetBody, SignalMessage_GetSerialized, SignalMessage_GetCounter, SignalMessage_GetMessageVersion, SignalMessage_GetPqRatchet, SignalMessage_New, SignalMessage_VerifyMac, PreKeySignalMessage_New, PreKeySignalMessage_Deserialize, PreKeySignalMessage_Serialize, PreKeySignalMessage_GetRegistrationId, PreKeySignalMessage_GetSignedPreKeyId, PreKeySignalMessage_GetPreKeyId, PreKeySignalMessage_GetVersion, SenderKeyMessage_Deserialize, SenderKeyMessage_GetCipherText, SenderKeyMessage_Serialize, SenderKeyMessage_GetDistributionId, SenderKeyMessage_GetChainId, SenderKeyMessage_GetIteration, SenderKeyMessage_New, SenderKeyMessage_VerifySignature, SenderKeyDistributionMessage_Deserialize, SenderKeyDistributionMessage_GetChainKey, SenderKeyDistributionMessage_Serialize, SenderKeyDistributionMessage_GetDistributionId, SenderKeyDistributionMessage_GetChainId, SenderKeyDistributionMessage_GetIteration, SenderKeyDistributionMessage_New, DecryptionErrorMessage_Deserialize, DecryptionErrorMessage_GetTimestamp, DecryptionErrorMessage_GetDeviceId, DecryptionErrorMessage_Serialize, DecryptionErrorMessage_GetRatchetKey, DecryptionErrorMessage_ForOriginalMessage, DecryptionErrorMessage_ExtractFromSerializedContent, PlaintextContent_Deserialize, PlaintextContent_Serialize, PlaintextContent_GetBody, PlaintextContent_FromDecryptionErrorMessage, PreKeyBundle_New, PreKeyBundle_GetIdentityKey, PreKeyBundle_GetSignedPreKeySignature, PreKeyBundle_GetKyberPreKeySignature, PreKeyBundle_GetRegistrationId, PreKeyBundle_GetDeviceId, PreKeyBundle_GetSignedPreKeyId, PreKeyBundle_GetKyberPreKeyId, PreKeyBundle_GetPreKeyId, PreKeyBundle_GetPreKeyPublic, PreKeyBundle_GetSignedPreKeyPublic, PreKeyBundle_GetKyberPreKeyPublic, SignedPreKeyRecord_Deserialize, SignedPreKeyRecord_GetSignature, SignedPreKeyRecord_Serialize, SignedPreKeyRecord_GetId, SignedPreKeyRecord_GetTimestamp, SignedPreKeyRecord_GetPublicKey, SignedPreKeyRecord_GetPrivateKey, KyberPreKeyRecord_Deserialize, KyberPreKeyRecord_GetSignature, KyberPreKeyRecord_Serialize, KyberPreKeyRecord_GetId, KyberPreKeyRecord_GetTimestamp, KyberPreKeyRecord_GetPublicKey, KyberPreKeyRecord_GetSecretKey, KyberPreKeyRecord_GetKeyPair, SignedPreKeyRecord_New, KyberPreKeyRecord_New, PreKeyRecord_Deserialize, PreKeyRecord_Serialize, PreKeyRecord_GetId, PreKeyRecord_GetPublicKey, PreKeyRecord_GetPrivateKey, PreKeyRecord_New, SenderKeyRecord_Deserialize, SenderKeyRecord_Serialize, ServerCertificate_Deserialize, ServerCertificate_GetSerialized, ServerCertificate_GetCertificate, ServerCertificate_GetSignature, ServerCertificate_GetKeyId, ServerCertificate_GetKey, ServerCertificate_New, SenderCertificate_Deserialize, SenderCertificate_GetSerialized, SenderCertificate_GetCertificate, SenderCertificate_GetSignature, SenderCertificate_GetSenderUuid, SenderCertificate_GetSenderE164, SenderCertificate_GetExpiration, SenderCertificate_GetDeviceId, SenderCertificate_GetKey, SenderCertificate_Validate, SenderCertificate_GetServerCertificate, SenderCertificate_New, UnidentifiedSenderMessageContent_Deserialize, UnidentifiedSenderMessageContent_Serialize, UnidentifiedSenderMessageContent_GetContents, UnidentifiedSenderMessageContent_GetGroupId, UnidentifiedSenderMessageContent_GetSenderCert, UnidentifiedSenderMessageContent_GetMsgType, UnidentifiedSenderMessageContent_GetContentHint, UnidentifiedSenderMessageContent_New, CiphertextMessage_Type, CiphertextMessage_Serialize, CiphertextMessage_FromPlaintextContent, SessionRecord_ArchiveCurrentState, SessionRecord_HasUsableSenderChain, SessionRecord_CurrentRatchetKeyMatches, SessionRecord_Deserialize, SessionRecord_Serialize, SessionRecord_GetLocalRegistrationId, SessionRecord_GetRemoteRegistrationId, SealedSenderDecryptionResult_GetSenderUuid, SealedSenderDecryptionResult_GetSenderE164, SealedSenderDecryptionResult_GetDeviceId, SealedSenderDecryptionResult_Message, SessionBuilder_ProcessPreKeyBundle, SessionCipher_EncryptMessage, SessionCipher_DecryptSignalMessage, SessionCipher_DecryptPreKeySignalMessage, SealedSender_Encrypt, SealedSender_MultiRecipientEncrypt, SealedSender_MultiRecipientMessageForSingleRecipient, SealedSender_DecryptToUsmc, SealedSender_DecryptMessage, SenderKeyDistributionMessage_Create, SenderKeyDistributionMessage_Process, GroupCipher_EncryptMessage, GroupCipher_DecryptMessage, Cds2ClientState_New, HsmEnclaveClient_New, HsmEnclaveClient_CompleteHandshake, HsmEnclaveClient_EstablishedSend, HsmEnclaveClient_EstablishedRecv, HsmEnclaveClient_InitialRequest, SgxClientState_InitialRequest, SgxClientState_CompleteHandshake, SgxClientState_EstablishedSend, SgxClientState_EstablishedRecv, ExpiringProfileKeyCredential_CheckValidContents, ExpiringProfileKeyCredentialResponse_CheckValidContents, GroupMasterKey_CheckValidContents, GroupPublicParams_CheckValidContents, GroupSecretParams_CheckValidContents, ProfileKey_CheckValidContents, ProfileKeyCiphertext_CheckValidContents, ProfileKeyCommitment_CheckValidContents, ProfileKeyCredentialRequest_CheckValidContents, ProfileKeyCredentialRequestContext_CheckValidContents, ReceiptCredential_CheckValidContents, ReceiptCredentialPresentation_CheckValidContents, ReceiptCredentialRequest_CheckValidContents, ReceiptCredentialRequestContext_CheckValidContents, ReceiptCredentialResponse_CheckValidContents, UuidCiphertext_CheckValidContents, ServerPublicParams_Deserialize, ServerPublicParams_Serialize, ServerSecretParams_Deserialize, ServerSecretParams_Serialize, ProfileKey_GetCommitment, ProfileKey_GetProfileKeyVersion, ProfileKey_DeriveAccessKey, GroupSecretParams_GenerateDeterministic, GroupSecretParams_DeriveFromMasterKey, GroupSecretParams_GetMasterKey, GroupSecretParams_GetPublicParams, GroupSecretParams_EncryptServiceId, GroupSecretParams_DecryptServiceId, GroupSecretParams_EncryptProfileKey, GroupSecretParams_DecryptProfileKey, GroupSecretParams_EncryptBlobWithPaddingDeterministic, GroupSecretParams_DecryptBlobWithPadding, ServerSecretParams_GenerateDeterministic, ServerSecretParams_GetPublicParams, ServerSecretParams_SignDeterministic, ServerPublicParams_GetEndorsementPublicKey, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic, ServerPublicParams_ReceiveExpiringProfileKeyCredential, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic, ServerPublicParams_ReceiveReceiptCredential, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic, AuthCredentialWithPni_CheckValidContents, AuthCredentialWithPniResponse_CheckValidContents, ServerSecretParams_VerifyAuthCredentialPresentation, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic, ServerSecretParams_VerifyProfileKeyCredentialPresentation, ServerSecretParams_IssueReceiptCredentialDeterministic, ServerSecretParams_VerifyReceiptCredentialPresentation, GroupPublicParams_GetGroupIdentifier, ServerPublicParams_VerifySignature, AuthCredentialPresentation_CheckValidContents, AuthCredentialPresentation_GetUuidCiphertext, AuthCredentialPresentation_GetPniCiphertext, AuthCredentialPresentation_GetRedemptionTime, ProfileKeyCredentialRequestContext_GetRequest, ExpiringProfileKeyCredential_GetExpirationTime, ProfileKeyCredentialPresentation_CheckValidContents, ProfileKeyCredentialPresentation_GetUuidCiphertext, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext, ReceiptCredentialRequestContext_GetRequest, ReceiptCredential_GetReceiptExpirationTime, ReceiptCredential_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptExpirationTime, ReceiptCredentialPresentation_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptSerial, GenericServerSecretParams_CheckValidContents, GenericServerSecretParams_GenerateDeterministic, GenericServerSecretParams_GetPublicParams, GenericServerPublicParams_CheckValidContents, CallLinkSecretParams_CheckValidContents, CallLinkSecretParams_DeriveFromRootKey, CallLinkSecretParams_GetPublicParams, CallLinkSecretParams_DecryptUserId, CallLinkSecretParams_EncryptUserId, CallLinkPublicParams_CheckValidContents, CreateCallLinkCredentialRequestContext_CheckValidContents, CreateCallLinkCredentialRequestContext_NewDeterministic, CreateCallLinkCredentialRequestContext_GetRequest, CreateCallLinkCredentialRequest_CheckValidContents, CreateCallLinkCredentialRequest_IssueDeterministic, CreateCallLinkCredentialResponse_CheckValidContents, CreateCallLinkCredentialRequestContext_ReceiveResponse, CreateCallLinkCredential_CheckValidContents, CreateCallLinkCredential_PresentDeterministic, CreateCallLinkCredentialPresentation_CheckValidContents, CreateCallLinkCredentialPresentation_Verify, CallLinkAuthCredentialResponse_CheckValidContents, CallLinkAuthCredentialResponse_IssueDeterministic, CallLinkAuthCredentialResponse_Receive, CallLinkAuthCredential_CheckValidContents, CallLinkAuthCredential_PresentDeterministic, CallLinkAuthCredentialPresentation_CheckValidContents, CallLinkAuthCredentialPresentation_Verify, CallLinkAuthCredentialPresentation_GetUserId, BackupAuthCredentialRequestContext_New, BackupAuthCredentialRequestContext_CheckValidContents, BackupAuthCredentialRequestContext_GetRequest, BackupAuthCredentialRequest_CheckValidContents, BackupAuthCredentialRequest_IssueDeterministic, BackupAuthCredentialResponse_CheckValidContents, BackupAuthCredentialRequestContext_ReceiveResponse, BackupAuthCredential_CheckValidContents, BackupAuthCredential_GetBackupId, BackupAuthCredential_GetBackupLevel, BackupAuthCredential_GetType, BackupAuthCredential_PresentDeterministic, BackupAuthCredentialPresentation_CheckValidContents, BackupAuthCredentialPresentation_Verify, BackupAuthCredentialPresentation_GetBackupId, BackupAuthCredentialPresentation_GetBackupLevel, BackupAuthCredentialPresentation_GetType, GroupSendDerivedKeyPair_CheckValidContents, GroupSendDerivedKeyPair_ForExpiration, GroupSendEndorsementsResponse_CheckValidContents, GroupSendEndorsementsResponse_IssueDeterministic, GroupSendEndorsementsResponse_GetExpiration, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts, GroupSendEndorsement_CheckValidContents, GroupSendEndorsement_Combine, GroupSendEndorsement_Remove, GroupSendEndorsement_ToToken, GroupSendEndorsement_CallLinkParams_ToToken, GroupSendToken_CheckValidContents, GroupSendToken_ToFullToken, GroupSendFullToken_CheckValidContents, GroupSendFullToken_GetExpiration, GroupSendFullToken_Verify, LookupRequest_new, LookupRequest_addE164, LookupRequest_addPreviousE164, LookupRequest_setToken, LookupRequest_addAciAndAccessKey, CdsiLookup_new, CdsiLookup_token, CdsiLookup_complete, HttpRequest_new, HttpRequest_add_header, ChatConnectionInfo_local_port, ChatConnectionInfo_ip_version, ChatConnectionInfo_description, UnauthenticatedChatConnection_connect, UnauthenticatedChatConnection_init_listener, UnauthenticatedChatConnection_send, UnauthenticatedChatConnection_disconnect, UnauthenticatedChatConnection_info, UnauthenticatedChatConnection_look_up_username_hash, UnauthenticatedChatConnection_look_up_username_link, UnauthenticatedChatConnection_send_multi_recipient_message, AuthenticatedChatConnection_preconnect, AuthenticatedChatConnection_connect, AuthenticatedChatConnection_init_listener, AuthenticatedChatConnection_send, AuthenticatedChatConnection_disconnect, AuthenticatedChatConnection_info, ServerMessageAck_SendStatus, ProvisioningChatConnection_connect, ProvisioningChatConnection_init_listener, ProvisioningChatConnection_info, ProvisioningChatConnection_disconnect, UnauthenticatedChatConnection_get_pre_keys_access_key_auth, UnauthenticatedChatConnection_get_pre_keys_access_group_auth, UnauthenticatedChatConnection_account_exists, AuthenticatedChatConnection_get_upload_form, KeyTransparency_AciSearchKey, KeyTransparency_E164SearchKey, KeyTransparency_UsernameHashSearchKey, KeyTransparency_Search, KeyTransparency_Monitor, KeyTransparency_Distinguished, RegistrationService_CreateSession, RegistrationService_ResumeSession, RegistrationService_RequestVerificationCode, RegistrationService_SubmitVerificationCode, RegistrationService_SubmitCaptcha, RegistrationService_CheckSvr2Credentials, RegistrationService_RegisterAccount, RegistrationService_ReregisterAccount, RegistrationService_SessionId, RegistrationService_RegistrationSession, RegistrationSession_GetAllowedToRequestCode, RegistrationSession_GetVerified, RegistrationSession_GetNextCallSeconds, RegistrationSession_GetNextSmsSeconds, RegistrationSession_GetNextVerificationAttemptSeconds, RegistrationSession_GetRequestedInformation, RegisterAccountRequest_Create, RegisterAccountRequest_SetSkipDeviceTransfer, RegisterAccountRequest_SetAccountPassword, RegisterAccountRequest_SetIdentityPublicKey, RegisterAccountRequest_SetIdentitySignedPreKey, RegisterAccountRequest_SetIdentityPqLastResortPreKey, RegistrationAccountAttributes_Create, RegisterAccountResponse_GetIdentity, RegisterAccountResponse_GetNumber, RegisterAccountResponse_GetUsernameHash, RegisterAccountResponse_GetUsernameLinkHandle, RegisterAccountResponse_GetStorageCapable, RegisterAccountResponse_GetReregistration, RegisterAccountResponse_GetEntitlementBadges, RegisterAccountResponse_GetEntitlementBackupLevel, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds, SecureValueRecoveryForBackups_CreateNewBackupChain, SecureValueRecoveryForBackups_StoreBackup, SecureValueRecoveryForBackups_RestoreBackupFromServer, SecureValueRecoveryForBackups_RemoveBackup, BackupStoreResponse_GetForwardSecrecyToken, BackupStoreResponse_GetOpaqueMetadata, BackupStoreResponse_GetNextBackupSecretData, BackupRestoreResponse_GetForwardSecrecyToken, BackupRestoreResponse_GetNextBackupSecretData, TokioAsyncContext_new, TokioAsyncContext_cancel, ConnectionProxyConfig_new, ConnectionManager_new, ConnectionManager_set_proxy, ConnectionManager_set_invalid_proxy, ConnectionManager_clear_proxy, ConnectionManager_set_ipv6_enabled, ConnectionManager_set_censorship_circumvention_enabled, ConnectionManager_set_remote_config, ConnectionManager_on_network_change, AccountEntropyPool_Generate, AccountEntropyPool_IsValid, AccountEntropyPool_DeriveSvrKey, AccountEntropyPool_DeriveBackupKey, BackupKey_DeriveBackupId, BackupKey_DeriveEcKey, BackupKey_DeriveLocalBackupMetadataKey, BackupKey_DeriveMediaId, BackupKey_DeriveMediaEncryptionKey, BackupKey_DeriveThumbnailTransitEncryptionKey, IncrementalMac_CalculateChunkSize, IncrementalMac_Initialize, IncrementalMac_Update, IncrementalMac_Finalize, ValidatingMac_Initialize, ValidatingMac_Update, ValidatingMac_Finalize, MessageBackupKey_FromAccountEntropyPool, MessageBackupKey_FromBackupKeyAndBackupId, MessageBackupKey_GetHmacKey, MessageBackupKey_GetAesKey, MessageBackupValidator_Validate, OnlineBackupValidator_New, OnlineBackupValidator_AddFrame, OnlineBackupValidator_Finalize, BackupJsonExporter_New, BackupJsonExporter_GetInitialChunk, BackupJsonExporter_ExportFrames, BackupJsonExporter_Finish, Username_Hash, Username_Proof, Username_Verify, Username_CandidatesFrom, Username_HashFromParts, UsernameLink_Create, UsernameLink_DecryptUsername, SignalMedia_CheckAvailable, Mp4Sanitizer_Sanitize, WebpSanitizer_Sanitize, SanitizedMetadata_GetMetadata, SanitizedMetadata_GetDataOffset, SanitizedMetadata_GetDataLen, BridgedStringMap_new, BridgedStringMap_insert, TESTING_NonSuspendingBackgroundThreadRuntime_New, TESTING_FutureSuccess, TESTING_TokioAsyncContext_FutureSuccessBytes, TESTING_FutureFailure, TESTING_FutureCancellationCounter_Create, TESTING_FutureCancellationCounter_WaitForCount, TESTING_FutureIncrementOnCancel, TESTING_TokioAsyncFuture, TESTING_TestingHandleType_getValue, TESTING_FutureProducesPointerType, TESTING_OtherTestingHandleType_getValue, TESTING_FutureProducesOtherPointerType, TESTING_PanicOnBorrowSync, TESTING_PanicOnBorrowAsync, TESTING_PanicOnBorrowIo, TESTING_ErrorOnBorrowSync, TESTING_ErrorOnBorrowAsync, TESTING_ErrorOnBorrowIo, TESTING_PanicOnLoadSync, TESTING_PanicOnLoadAsync, TESTING_PanicOnLoadIo, TESTING_PanicInBodySync, TESTING_PanicInBodyAsync, TESTING_PanicInBodyIo, TESTING_PanicOnReturnSync, TESTING_PanicOnReturnAsync, TESTING_PanicOnReturnIo, TESTING_ErrorOnReturnSync, TESTING_ErrorOnReturnAsync, TESTING_ErrorOnReturnIo, TESTING_ReturnStringArray, TESTING_JoinStringArray, TESTING_ProcessBytestringArray, TESTING_RoundTripU8, TESTING_RoundTripU16, TESTING_RoundTripU32, TESTING_RoundTripI32, TESTING_RoundTripU64, TESTING_ConvertOptionalUuid, TESTING_InputStreamReadIntoZeroLengthSlice, ComparableBackup_ReadUnencrypted, ComparableBackup_GetComparableString, ComparableBackup_GetUnknownFields, TESTING_FakeChatServer_Create, TESTING_FakeChatServer_GetNextRemote, TESTING_FakeChatConnection_Create, TESTING_FakeChatConnection_CreateProvisioning, TESTING_FakeChatConnection_TakeAuthenticatedChat, TESTING_FakeChatConnection_TakeUnauthenticatedChat, TESTING_FakeChatConnection_TakeProvisioningChat, TESTING_FakeChatConnection_TakeRemote, TESTING_FakeChatRemoteEnd_SendRawServerRequest, TESTING_FakeChatRemoteEnd_SendRawServerResponse, TESTING_FakeChatRemoteEnd_SendServerResponse, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest, TESTING_ChatResponseConvert, TESTING_ChatRequestGetMethod, TESTING_ChatRequestGetPath, TESTING_ChatRequestGetHeaderNames, TESTING_ChatRequestGetHeaderValue, TESTING_ChatRequestGetBody, TESTING_FakeChatResponse_Create, TESTING_ChatConnectErrorConvert, TESTING_ChatSendErrorConvert, TESTING_KeyTransFatalVerificationFailure, TESTING_KeyTransNonFatalVerificationFailure, TESTING_KeyTransChatSendError, TESTING_RegistrationSessionInfoConvert, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert, TESTING_FakeRegistrationSession_CreateSession, TESTING_RegisterAccountResponse_CreateTestValue, TESTING_RegistrationService_CreateSessionErrorConvert, TESTING_RegistrationService_ResumeSessionErrorConvert, TESTING_RegistrationService_UpdateSessionErrorConvert, TESTING_RegistrationService_RequestVerificationCodeErrorConvert, TESTING_RegistrationService_SubmitVerificationErrorConvert, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert, TESTING_RegistrationService_RegisterAccountErrorConvert, TESTING_CdsiLookupResponseConvert, TESTING_CdsiLookupErrorConvert, TESTING_ServerMessageAck_Create, TESTING_ConnectionManager_newLocalOverride, TESTING_ConnectionManager_isUsingProxy, TESTING_CreateOTP, TESTING_CreateOTPFromBase64, TESTING_SignedPublicPreKey_CheckBridgesCorrectly, TestingSemaphore_New, TestingSemaphore_AddPermits, TestingValueHolder_New, TestingValueHolder_Get, TESTING_ReturnPair, test_only_fn_returns_123, TESTING_BridgedStringMap_dump_to_json, TESTING_TokioAsyncContext_NewSingleThreaded, } = load(`${import.meta.dirname}/../`);
|
|
13
|
+
export { registerErrors, initLogger, SealedSenderMultiRecipientMessage_Parse, MinidumpToJSONString, Aes256GcmSiv_New, Aes256GcmSiv_Encrypt, Aes256GcmSiv_Decrypt, PublicKey_HpkeSeal, PrivateKey_HpkeOpen, HKDF_DeriveSecrets, ServiceId_ServiceIdBinary, ServiceId_ServiceIdString, ServiceId_ServiceIdLog, ServiceId_ParseFromServiceIdBinary, ServiceId_ParseFromServiceIdString, ProtocolAddress_New, PublicKey_Deserialize, PublicKey_Serialize, PublicKey_GetPublicKeyBytes, ProtocolAddress_DeviceId, ProtocolAddress_Name, PublicKey_Equals, PublicKey_Verify, PrivateKey_Deserialize, PrivateKey_Serialize, PrivateKey_Generate, PrivateKey_GetPublicKey, PrivateKey_Sign, PrivateKey_Agree, KyberPublicKey_Serialize, KyberPublicKey_Deserialize, KyberSecretKey_Serialize, KyberSecretKey_Deserialize, KyberPublicKey_Equals, KyberKeyPair_Generate, KyberKeyPair_GetPublicKey, KyberKeyPair_GetSecretKey, IdentityKeyPair_Serialize, IdentityKeyPair_Deserialize, IdentityKeyPair_SignAlternateIdentity, IdentityKey_VerifyAlternateIdentity, Fingerprint_New, Fingerprint_ScannableEncoding, Fingerprint_DisplayString, ScannableFingerprint_Compare, SignalMessage_Deserialize, SignalMessage_GetBody, SignalMessage_GetSerialized, SignalMessage_GetCounter, SignalMessage_GetMessageVersion, SignalMessage_GetPqRatchet, SignalMessage_New, SignalMessage_VerifyMac, PreKeySignalMessage_New, PreKeySignalMessage_Deserialize, PreKeySignalMessage_Serialize, PreKeySignalMessage_GetRegistrationId, PreKeySignalMessage_GetSignedPreKeyId, PreKeySignalMessage_GetPreKeyId, PreKeySignalMessage_GetVersion, SenderKeyMessage_Deserialize, SenderKeyMessage_GetCipherText, SenderKeyMessage_Serialize, SenderKeyMessage_GetDistributionId, SenderKeyMessage_GetChainId, SenderKeyMessage_GetIteration, SenderKeyMessage_New, SenderKeyMessage_VerifySignature, SenderKeyDistributionMessage_Deserialize, SenderKeyDistributionMessage_GetChainKey, SenderKeyDistributionMessage_Serialize, SenderKeyDistributionMessage_GetDistributionId, SenderKeyDistributionMessage_GetChainId, SenderKeyDistributionMessage_GetIteration, SenderKeyDistributionMessage_New, DecryptionErrorMessage_Deserialize, DecryptionErrorMessage_GetTimestamp, DecryptionErrorMessage_GetDeviceId, DecryptionErrorMessage_Serialize, DecryptionErrorMessage_GetRatchetKey, DecryptionErrorMessage_ForOriginalMessage, DecryptionErrorMessage_ExtractFromSerializedContent, PlaintextContent_Deserialize, PlaintextContent_Serialize, PlaintextContent_GetBody, PlaintextContent_FromDecryptionErrorMessage, PreKeyBundle_New, PreKeyBundle_GetIdentityKey, PreKeyBundle_GetSignedPreKeySignature, PreKeyBundle_GetKyberPreKeySignature, PreKeyBundle_GetRegistrationId, PreKeyBundle_GetDeviceId, PreKeyBundle_GetSignedPreKeyId, PreKeyBundle_GetKyberPreKeyId, PreKeyBundle_GetPreKeyId, PreKeyBundle_GetPreKeyPublic, PreKeyBundle_GetSignedPreKeyPublic, PreKeyBundle_GetKyberPreKeyPublic, SignedPreKeyRecord_Deserialize, SignedPreKeyRecord_GetSignature, SignedPreKeyRecord_Serialize, SignedPreKeyRecord_GetId, SignedPreKeyRecord_GetTimestamp, SignedPreKeyRecord_GetPublicKey, SignedPreKeyRecord_GetPrivateKey, KyberPreKeyRecord_Deserialize, KyberPreKeyRecord_GetSignature, KyberPreKeyRecord_Serialize, KyberPreKeyRecord_GetId, KyberPreKeyRecord_GetTimestamp, KyberPreKeyRecord_GetPublicKey, KyberPreKeyRecord_GetSecretKey, KyberPreKeyRecord_GetKeyPair, SignedPreKeyRecord_New, KyberPreKeyRecord_New, PreKeyRecord_Deserialize, PreKeyRecord_Serialize, PreKeyRecord_GetId, PreKeyRecord_GetPublicKey, PreKeyRecord_GetPrivateKey, PreKeyRecord_New, SenderKeyRecord_Deserialize, SenderKeyRecord_Serialize, ServerCertificate_Deserialize, ServerCertificate_GetSerialized, ServerCertificate_GetCertificate, ServerCertificate_GetSignature, ServerCertificate_GetKeyId, ServerCertificate_GetKey, ServerCertificate_New, SenderCertificate_Deserialize, SenderCertificate_GetSerialized, SenderCertificate_GetCertificate, SenderCertificate_GetSignature, SenderCertificate_GetSenderUuid, SenderCertificate_GetSenderE164, SenderCertificate_GetExpiration, SenderCertificate_GetDeviceId, SenderCertificate_GetKey, SenderCertificate_Validate, SenderCertificate_GetServerCertificate, SenderCertificate_New, UnidentifiedSenderMessageContent_Deserialize, UnidentifiedSenderMessageContent_Serialize, UnidentifiedSenderMessageContent_GetContents, UnidentifiedSenderMessageContent_GetGroupId, UnidentifiedSenderMessageContent_GetSenderCert, UnidentifiedSenderMessageContent_GetMsgType, UnidentifiedSenderMessageContent_GetContentHint, UnidentifiedSenderMessageContent_New, CiphertextMessage_Type, CiphertextMessage_Serialize, CiphertextMessage_FromPlaintextContent, SessionRecord_ArchiveCurrentState, SessionRecord_HasUsableSenderChain, SessionRecord_CurrentRatchetKeyMatches, SessionRecord_Deserialize, SessionRecord_Serialize, SessionRecord_GetLocalRegistrationId, SessionRecord_GetRemoteRegistrationId, SealedSenderDecryptionResult_GetSenderUuid, SealedSenderDecryptionResult_GetSenderE164, SealedSenderDecryptionResult_GetDeviceId, SealedSenderDecryptionResult_Message, SessionBuilder_ProcessPreKeyBundle, SessionCipher_EncryptMessage, SessionCipher_DecryptSignalMessage, SessionCipher_DecryptPreKeySignalMessage, SealedSender_Encrypt, SealedSender_MultiRecipientEncrypt, SealedSender_MultiRecipientMessageForSingleRecipient, SealedSender_DecryptToUsmc, SealedSender_DecryptMessage, SenderKeyDistributionMessage_Create, SenderKeyDistributionMessage_Process, GroupCipher_EncryptMessage, GroupCipher_DecryptMessage, Cds2ClientState_New, HsmEnclaveClient_New, HsmEnclaveClient_CompleteHandshake, HsmEnclaveClient_EstablishedSend, HsmEnclaveClient_EstablishedRecv, HsmEnclaveClient_InitialRequest, SgxClientState_InitialRequest, SgxClientState_CompleteHandshake, SgxClientState_EstablishedSend, SgxClientState_EstablishedRecv, ExpiringProfileKeyCredential_CheckValidContents, ExpiringProfileKeyCredentialResponse_CheckValidContents, GroupMasterKey_CheckValidContents, GroupPublicParams_CheckValidContents, GroupSecretParams_CheckValidContents, ProfileKey_CheckValidContents, ProfileKeyCiphertext_CheckValidContents, ProfileKeyCommitment_CheckValidContents, ProfileKeyCredentialRequest_CheckValidContents, ProfileKeyCredentialRequestContext_CheckValidContents, ReceiptCredential_CheckValidContents, ReceiptCredentialPresentation_CheckValidContents, ReceiptCredentialRequest_CheckValidContents, ReceiptCredentialRequestContext_CheckValidContents, ReceiptCredentialResponse_CheckValidContents, UuidCiphertext_CheckValidContents, ServerPublicParams_Deserialize, ServerPublicParams_Serialize, ServerSecretParams_Deserialize, ServerSecretParams_Serialize, ProfileKey_GetCommitment, ProfileKey_GetProfileKeyVersion, ProfileKey_DeriveAccessKey, GroupSecretParams_GenerateDeterministic, GroupSecretParams_DeriveFromMasterKey, GroupSecretParams_GetMasterKey, GroupSecretParams_GetPublicParams, GroupSecretParams_EncryptServiceId, GroupSecretParams_DecryptServiceId, GroupSecretParams_EncryptProfileKey, GroupSecretParams_DecryptProfileKey, GroupSecretParams_EncryptBlobWithPaddingDeterministic, GroupSecretParams_DecryptBlobWithPadding, ServerSecretParams_GenerateDeterministic, ServerSecretParams_GetPublicParams, ServerSecretParams_SignDeterministic, ServerPublicParams_GetEndorsementPublicKey, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic, ServerPublicParams_ReceiveExpiringProfileKeyCredential, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic, ServerPublicParams_ReceiveReceiptCredential, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic, AuthCredentialWithPni_CheckValidContents, AuthCredentialWithPniResponse_CheckValidContents, ServerSecretParams_VerifyAuthCredentialPresentation, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic, ServerSecretParams_VerifyProfileKeyCredentialPresentation, ServerSecretParams_IssueReceiptCredentialDeterministic, ServerSecretParams_VerifyReceiptCredentialPresentation, GroupPublicParams_GetGroupIdentifier, ServerPublicParams_VerifySignature, AuthCredentialPresentation_CheckValidContents, AuthCredentialPresentation_GetUuidCiphertext, AuthCredentialPresentation_GetPniCiphertext, AuthCredentialPresentation_GetRedemptionTime, ProfileKeyCredentialRequestContext_GetRequest, ExpiringProfileKeyCredential_GetExpirationTime, ProfileKeyCredentialPresentation_CheckValidContents, ProfileKeyCredentialPresentation_GetUuidCiphertext, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext, ReceiptCredentialRequestContext_GetRequest, ReceiptCredential_GetReceiptExpirationTime, ReceiptCredential_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptExpirationTime, ReceiptCredentialPresentation_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptSerial, GenericServerSecretParams_CheckValidContents, GenericServerSecretParams_GenerateDeterministic, GenericServerSecretParams_GetPublicParams, GenericServerPublicParams_CheckValidContents, CallLinkSecretParams_CheckValidContents, CallLinkSecretParams_DeriveFromRootKey, CallLinkSecretParams_GetPublicParams, CallLinkSecretParams_DecryptUserId, CallLinkSecretParams_EncryptUserId, CallLinkPublicParams_CheckValidContents, CreateCallLinkCredentialRequestContext_CheckValidContents, CreateCallLinkCredentialRequestContext_NewDeterministic, CreateCallLinkCredentialRequestContext_GetRequest, CreateCallLinkCredentialRequest_CheckValidContents, CreateCallLinkCredentialRequest_IssueDeterministic, CreateCallLinkCredentialResponse_CheckValidContents, CreateCallLinkCredentialRequestContext_ReceiveResponse, CreateCallLinkCredential_CheckValidContents, CreateCallLinkCredential_PresentDeterministic, CreateCallLinkCredentialPresentation_CheckValidContents, CreateCallLinkCredentialPresentation_Verify, CallLinkAuthCredentialResponse_CheckValidContents, CallLinkAuthCredentialResponse_IssueDeterministic, CallLinkAuthCredentialResponse_Receive, CallLinkAuthCredential_CheckValidContents, CallLinkAuthCredential_PresentDeterministic, CallLinkAuthCredentialPresentation_CheckValidContents, CallLinkAuthCredentialPresentation_Verify, CallLinkAuthCredentialPresentation_GetUserId, BackupAuthCredentialRequestContext_New, BackupAuthCredentialRequestContext_CheckValidContents, BackupAuthCredentialRequestContext_GetRequest, BackupAuthCredentialRequest_CheckValidContents, BackupAuthCredentialRequest_IssueDeterministic, BackupAuthCredentialResponse_CheckValidContents, BackupAuthCredentialRequestContext_ReceiveResponse, BackupAuthCredential_CheckValidContents, BackupAuthCredential_GetBackupId, BackupAuthCredential_GetBackupLevel, BackupAuthCredential_GetType, BackupAuthCredential_PresentDeterministic, BackupAuthCredentialPresentation_CheckValidContents, BackupAuthCredentialPresentation_Verify, BackupAuthCredentialPresentation_GetBackupId, BackupAuthCredentialPresentation_GetBackupLevel, BackupAuthCredentialPresentation_GetType, GroupSendDerivedKeyPair_CheckValidContents, GroupSendDerivedKeyPair_ForExpiration, GroupSendEndorsementsResponse_CheckValidContents, GroupSendEndorsementsResponse_IssueDeterministic, GroupSendEndorsementsResponse_GetExpiration, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts, GroupSendEndorsement_CheckValidContents, GroupSendEndorsement_Combine, GroupSendEndorsement_Remove, GroupSendEndorsement_ToToken, GroupSendEndorsement_CallLinkParams_ToToken, GroupSendToken_CheckValidContents, GroupSendToken_ToFullToken, GroupSendFullToken_CheckValidContents, GroupSendFullToken_GetExpiration, GroupSendFullToken_Verify, LookupRequest_new, LookupRequest_addE164, LookupRequest_addPreviousE164, LookupRequest_setToken, LookupRequest_addAciAndAccessKey, CdsiLookup_new, CdsiLookup_token, CdsiLookup_complete, HttpRequest_new, HttpRequest_add_header, ChatConnectionInfo_local_port, ChatConnectionInfo_ip_version, ChatConnectionInfo_description, UnauthenticatedChatConnection_connect, UnauthenticatedChatConnection_init_listener, UnauthenticatedChatConnection_send, UnauthenticatedChatConnection_disconnect, UnauthenticatedChatConnection_info, UnauthenticatedChatConnection_look_up_username_hash, UnauthenticatedChatConnection_look_up_username_link, UnauthenticatedChatConnection_send_multi_recipient_message, AuthenticatedChatConnection_preconnect, AuthenticatedChatConnection_connect, AuthenticatedChatConnection_init_listener, AuthenticatedChatConnection_send, AuthenticatedChatConnection_disconnect, AuthenticatedChatConnection_info, ServerMessageAck_SendStatus, ProvisioningChatConnection_connect, ProvisioningChatConnection_init_listener, ProvisioningChatConnection_info, ProvisioningChatConnection_disconnect, UnauthenticatedChatConnection_get_pre_keys_access_key_auth, UnauthenticatedChatConnection_get_pre_keys_access_group_auth, UnauthenticatedChatConnection_account_exists, AuthenticatedChatConnection_get_upload_form, KeyTransparency_AciSearchKey, KeyTransparency_E164SearchKey, KeyTransparency_UsernameHashSearchKey, KeyTransparency_Search, KeyTransparency_Monitor, KeyTransparency_Distinguished, RegistrationService_CreateSession, RegistrationService_ResumeSession, RegistrationService_RequestVerificationCode, RegistrationService_SubmitVerificationCode, RegistrationService_SubmitCaptcha, RegistrationService_CheckSvr2Credentials, RegistrationService_RegisterAccount, RegistrationService_ReregisterAccount, RegistrationService_SessionId, RegistrationService_RegistrationSession, RegistrationSession_GetAllowedToRequestCode, RegistrationSession_GetVerified, RegistrationSession_GetNextCallSeconds, RegistrationSession_GetNextSmsSeconds, RegistrationSession_GetNextVerificationAttemptSeconds, RegistrationSession_GetRequestedInformation, RegisterAccountRequest_Create, RegisterAccountRequest_SetSkipDeviceTransfer, RegisterAccountRequest_SetAccountPassword, RegisterAccountRequest_SetIdentityPublicKey, RegisterAccountRequest_SetIdentitySignedPreKey, RegisterAccountRequest_SetIdentityPqLastResortPreKey, RegistrationAccountAttributes_Create, RegisterAccountResponse_GetIdentity, RegisterAccountResponse_GetNumber, RegisterAccountResponse_GetUsernameHash, RegisterAccountResponse_GetUsernameLinkHandle, RegisterAccountResponse_GetStorageCapable, RegisterAccountResponse_GetReregistration, RegisterAccountResponse_GetEntitlementBadges, RegisterAccountResponse_GetEntitlementBackupLevel, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds, SecureValueRecoveryForBackups_CreateNewBackupChain, SecureValueRecoveryForBackups_StoreBackup, SecureValueRecoveryForBackups_RestoreBackupFromServer, SecureValueRecoveryForBackups_RemoveBackup, BackupStoreResponse_GetForwardSecrecyToken, BackupStoreResponse_GetOpaqueMetadata, BackupStoreResponse_GetNextBackupSecretData, BackupRestoreResponse_GetForwardSecrecyToken, BackupRestoreResponse_GetNextBackupSecretData, TokioAsyncContext_new, TokioAsyncContext_cancel, ConnectionProxyConfig_new, ConnectionManager_new, ConnectionManager_set_proxy, ConnectionManager_set_invalid_proxy, ConnectionManager_clear_proxy, ConnectionManager_set_ipv6_enabled, ConnectionManager_set_censorship_circumvention_enabled, ConnectionManager_set_remote_config, ConnectionManager_on_network_change, AccountEntropyPool_Generate, AccountEntropyPool_IsValid, AccountEntropyPool_DeriveSvrKey, AccountEntropyPool_DeriveBackupKey, BackupKey_DeriveBackupId, BackupKey_DeriveEcKey, BackupKey_DeriveLocalBackupMetadataKey, BackupKey_DeriveMediaId, BackupKey_DeriveMediaEncryptionKey, BackupKey_DeriveThumbnailTransitEncryptionKey, IncrementalMac_CalculateChunkSize, IncrementalMac_Initialize, IncrementalMac_Update, IncrementalMac_Finalize, ValidatingMac_Initialize, ValidatingMac_Update, ValidatingMac_Finalize, MessageBackupKey_FromAccountEntropyPool, MessageBackupKey_FromBackupKeyAndBackupId, MessageBackupKey_GetHmacKey, MessageBackupKey_GetAesKey, MessageBackupValidator_Validate, OnlineBackupValidator_New, OnlineBackupValidator_AddFrame, OnlineBackupValidator_Finalize, BackupJsonExporter_New, BackupJsonExporter_GetInitialChunk, BackupJsonExporter_ExportFrames, BackupJsonExporter_Finish, Username_Hash, Username_Proof, Username_Verify, Username_CandidatesFrom, Username_HashFromParts, UsernameLink_Create, UsernameLink_DecryptUsername, SignalMedia_CheckAvailable, Mp4Sanitizer_Sanitize, WebpSanitizer_Sanitize, SanitizedMetadata_GetMetadata, SanitizedMetadata_GetDataOffset, SanitizedMetadata_GetDataLen, BridgedStringMap_new, BridgedStringMap_insert, TESTING_NonSuspendingBackgroundThreadRuntime_New, TESTING_FutureSuccess, TESTING_TokioAsyncContext_FutureSuccessBytes, TESTING_FutureFailure, TESTING_FutureCancellationCounter_Create, TESTING_FutureCancellationCounter_WaitForCount, TESTING_FutureIncrementOnCancel, TESTING_TokioAsyncFuture, TESTING_TestingHandleType_getValue, TESTING_FutureProducesPointerType, TESTING_OtherTestingHandleType_getValue, TESTING_FutureProducesOtherPointerType, TESTING_PanicOnBorrowSync, TESTING_PanicOnBorrowAsync, TESTING_PanicOnBorrowIo, TESTING_ErrorOnBorrowSync, TESTING_ErrorOnBorrowAsync, TESTING_ErrorOnBorrowIo, TESTING_PanicOnLoadSync, TESTING_PanicOnLoadAsync, TESTING_PanicOnLoadIo, TESTING_PanicInBodySync, TESTING_PanicInBodyAsync, TESTING_PanicInBodyIo, TESTING_PanicOnReturnSync, TESTING_PanicOnReturnAsync, TESTING_PanicOnReturnIo, TESTING_ErrorOnReturnSync, TESTING_ErrorOnReturnAsync, TESTING_ErrorOnReturnIo, TESTING_ReturnStringArray, TESTING_JoinStringArray, TESTING_ProcessBytestringArray, TESTING_RoundTripU8, TESTING_RoundTripU16, TESTING_RoundTripU32, TESTING_RoundTripI32, TESTING_RoundTripU64, TESTING_ConvertOptionalUuid, TESTING_InputStreamReadIntoZeroLengthSlice, ComparableBackup_ReadUnencrypted, ComparableBackup_GetComparableString, ComparableBackup_GetUnknownFields, TESTING_FakeChatServer_Create, TESTING_FakeChatServer_GetNextRemote, TESTING_FakeChatConnection_Create, TESTING_FakeChatConnection_CreateProvisioning, TESTING_FakeChatConnection_TakeAuthenticatedChat, TESTING_FakeChatConnection_TakeUnauthenticatedChat, TESTING_FakeChatConnection_TakeProvisioningChat, TESTING_FakeChatConnection_TakeRemote, TESTING_FakeChatRemoteEnd_SendRawServerRequest, TESTING_FakeChatRemoteEnd_SendRawServerResponse, TESTING_FakeChatRemoteEnd_SendServerResponse, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest, TESTING_ChatResponseConvert, TESTING_ChatRequestGetMethod, TESTING_ChatRequestGetPath, TESTING_ChatRequestGetHeaderNames, TESTING_ChatRequestGetHeaderValue, TESTING_ChatRequestGetBody, TESTING_FakeChatResponse_Create, TESTING_ChatConnectErrorConvert, TESTING_ChatSendErrorConvert, TESTING_KeyTransFatalVerificationFailure, TESTING_KeyTransNonFatalVerificationFailure, TESTING_KeyTransChatSendError, TESTING_RegistrationSessionInfoConvert, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert, TESTING_FakeRegistrationSession_CreateSession, TESTING_RegisterAccountResponse_CreateTestValue, TESTING_RegistrationService_CreateSessionErrorConvert, TESTING_RegistrationService_ResumeSessionErrorConvert, TESTING_RegistrationService_UpdateSessionErrorConvert, TESTING_RegistrationService_RequestVerificationCodeErrorConvert, TESTING_RegistrationService_SubmitVerificationErrorConvert, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert, TESTING_RegistrationService_RegisterAccountErrorConvert, TESTING_CdsiLookupResponseConvert, TESTING_CdsiLookupErrorConvert, TESTING_ServerMessageAck_Create, TESTING_ConnectionManager_newLocalOverride, TESTING_ConnectionManager_isUsingProxy, TESTING_CreateOTP, TESTING_CreateOTPFromBase64, TESTING_SignedPublicPreKey_CheckBridgesCorrectly, TestingSemaphore_New, TestingSemaphore_AddPermits, TestingValueHolder_New, TestingValueHolder_Get, TESTING_ReturnPair, test_only_fn_returns_123, TESTING_BridgedStringMap_dump_to_json, TESTING_TokioAsyncContext_NewSingleThreaded, };
|
|
14
14
|
export const NetRemoteConfigKeys = ['chatRequestConnectionCheckTimeoutMillis', 'useH2ForUnauthChat', 'useH2ForAuthChat', 'grpc.AccountsAnonymousLookupUsernameHash', 'grpc.AccountsAnonymousLookupUsernameLink.2', 'grpc.AccountsAnonymousCheckAccountExistence.2', 'grpc.MessagesAnonymousSendMultiRecipientMessage.2',];
|
|
15
15
|
//# sourceMappingURL=Native.js.map
|
package/dist/acknowledgments.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
libsignal makes use of the following open source projects.
|
|
4
4
|
|
|
5
|
-
## spqr 1.5.
|
|
5
|
+
## spqr 1.5.1, partial-default-derive 0.1.0, partial-default 0.1.0
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -2434,7 +2434,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
2434
2434
|
|
|
2435
2435
|
```
|
|
2436
2436
|
|
|
2437
|
-
## libcrux-hacl-rs 0.0.4, libcrux-hmac 0.0.6, libcrux-intrinsics 0.0.
|
|
2437
|
+
## libcrux-hacl-rs 0.0.4, libcrux-hmac 0.0.6, libcrux-intrinsics 0.0.6, libcrux-macros 0.0.3, libcrux-ml-kem 0.0.8, libcrux-platform 0.0.3, libcrux-secrets 0.0.5, libcrux-sha2 0.0.6, libcrux-sha3 0.0.8, libcrux-traits 0.0.6
|
|
2438
2438
|
|
|
2439
2439
|
```
|
|
2440
2440
|
Apache License
|
|
@@ -3184,7 +3184,7 @@ THIS SOFTWARE.
|
|
|
3184
3184
|
|
|
3185
3185
|
```
|
|
3186
3186
|
|
|
3187
|
-
## rustls-webpki 0.103.
|
|
3187
|
+
## rustls-webpki 0.103.10
|
|
3188
3188
|
|
|
3189
3189
|
```
|
|
3190
3190
|
Except as otherwise noted, this project is licensed under the following
|
|
@@ -7068,7 +7068,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
7068
7068
|
DEALINGS IN THE SOFTWARE.
|
|
7069
7069
|
```
|
|
7070
7070
|
|
|
7071
|
-
## curve25519-dalek-derive 0.1.1, adler2 2.0.1, anyhow 1.0.100, async-trait 0.1.89, atomic-waker 1.1.2, auto_enums 0.8.7, derive_utils 0.15.0, displaydoc 0.2.5, dyn-clone 1.0.20, fastrand 2.3.0, home 0.5.11, itoa 1.0.17, linkme-impl 0.3.35, linkme 0.3.35, linux-raw-sys 0.11.0, linux-raw-sys 0.4.15, minimal-lexical 0.2.1, num_enum 0.7.5, num_enum_derive 0.7.5, once_cell 1.21.3, paste 1.0.15, pin-project-internal 1.1.10, pin-project-lite 0.2.16, pin-project 1.1.10, prettyplease 0.2.37, proc-macro-crate 3.4.0, proc-macro2 1.0.105, quote 1.0.43, ref-cast-impl 1.0.25, ref-cast 1.0.25, rustix 0.38.44, rustix 1.1.3, rustversion 1.0.22, semver 1.0.27, send_wrapper 0.6.0, serde 1.0.228, serde_core 1.0.228, serde_derive 1.0.228, serde_json 1.0.149, syn-mid 0.6.0, syn 2.0.114, thiserror-impl 1.0.69, thiserror-impl 2.0.17, thiserror 1.0.69, thiserror 2.0.17, unicode-ident 1.0.22, utf-8 0.7.6, zmij 1.0.12
|
|
7071
|
+
## curve25519-dalek-derive 0.1.1, adler2 2.0.1, anyhow 1.0.100, async-trait 0.1.89, atomic-waker 1.1.2, auto_enums 0.8.7, derive_utils 0.15.0, displaydoc 0.2.5, dyn-clone 1.0.20, fastrand 2.3.0, home 0.5.11, itoa 1.0.17, linkme-impl 0.3.35, linkme 0.3.35, linux-raw-sys 0.11.0, linux-raw-sys 0.4.15, minimal-lexical 0.2.1, num_enum 0.7.5, num_enum_derive 0.7.5, once_cell 1.21.3, paste 1.0.15, pin-project-internal 1.1.10, pin-project-lite 0.2.16, pin-project 1.1.10, prettyplease 0.2.37, proc-macro-crate 3.4.0, proc-macro2 1.0.105, quote 1.0.43, ref-cast-impl 1.0.25, ref-cast 1.0.25, rustix 0.38.44, rustix 1.1.3, rustversion 1.0.22, semver 1.0.27, send_wrapper 0.6.0, serde 1.0.228, serde_core 1.0.228, serde_derive 1.0.228, serde_json 1.0.149, syn-mid 0.6.0, syn 1.0.109, syn 2.0.114, thiserror-impl 1.0.69, thiserror-impl 2.0.17, thiserror 1.0.69, thiserror 2.0.17, unicode-ident 1.0.22, utf-8 0.7.6, zmij 1.0.12
|
|
7072
7072
|
|
|
7073
7073
|
```
|
|
7074
7074
|
Permission is hereby granted, free of charge, to any
|
|
@@ -7618,7 +7618,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
7618
7618
|
SOFTWARE.
|
|
7619
7619
|
```
|
|
7620
7620
|
|
|
7621
|
-
## hpke-rs-crypto 0.6.
|
|
7621
|
+
## hpke-rs-crypto 0.6.1, hpke-rs 0.6.1
|
|
7622
7622
|
|
|
7623
7623
|
```
|
|
7624
7624
|
Mozilla Public License Version 2.0
|
package/dist/io.d.ts
CHANGED
|
@@ -2,9 +2,7 @@ import * as Native from './Native.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* An abstract class representing an input stream of bytes.
|
|
4
4
|
*/
|
|
5
|
-
export declare abstract class InputStream
|
|
6
|
-
_read(amount: number): Promise<Uint8Array<ArrayBuffer>>;
|
|
7
|
-
_skip(amount: number): Promise<void>;
|
|
5
|
+
export declare abstract class InputStream {
|
|
8
6
|
/**
|
|
9
7
|
* Called to indicate the stream's resources should be released.
|
|
10
8
|
*
|
|
@@ -33,3 +31,4 @@ export declare abstract class InputStream implements Native.InputStream {
|
|
|
33
31
|
*/
|
|
34
32
|
abstract skip(amount: number): Promise<void>;
|
|
35
33
|
}
|
|
34
|
+
export declare function _bridgeInputStream(inputStream: InputStream): Native.BridgeInputStream;
|
package/dist/io.js
CHANGED
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
* An abstract class representing an input stream of bytes.
|
|
7
7
|
*/
|
|
8
8
|
export class InputStream {
|
|
9
|
-
_read(amount) {
|
|
10
|
-
return this.read(amount);
|
|
11
|
-
}
|
|
12
|
-
_skip(amount) {
|
|
13
|
-
return this.skip(amount);
|
|
14
|
-
}
|
|
15
9
|
/**
|
|
16
10
|
* Called to indicate the stream's resources should be released.
|
|
17
11
|
*
|
|
@@ -21,4 +15,18 @@ export class InputStream {
|
|
|
21
15
|
return Promise.resolve();
|
|
22
16
|
}
|
|
23
17
|
}
|
|
18
|
+
export function _bridgeInputStream(inputStream) {
|
|
19
|
+
return {
|
|
20
|
+
read(amount) {
|
|
21
|
+
return inputStream.read(amount);
|
|
22
|
+
},
|
|
23
|
+
skip(amount) {
|
|
24
|
+
if (amount < BigInt(Number.MIN_SAFE_INTEGER) ||
|
|
25
|
+
amount > BigInt(Number.MAX_SAFE_INTEGER)) {
|
|
26
|
+
throw new RangeError('skip amount out of range');
|
|
27
|
+
}
|
|
28
|
+
return inputStream.skip(Number(amount));
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
}
|
|
24
32
|
//# sourceMappingURL=io.js.map
|
package/dist/net/Chat.d.ts
CHANGED
|
@@ -122,8 +122,8 @@ export declare class UnauthenticatedChatConnection implements ChatConnection {
|
|
|
122
122
|
keyTransparencyClient(): KT.Client;
|
|
123
123
|
}
|
|
124
124
|
export declare class AuthenticatedChatConnection implements ChatConnection {
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
protected readonly asyncContext: TokioAsyncContext;
|
|
126
|
+
protected readonly chatService: Native.Wrapper<Native.AuthenticatedChatConnection>;
|
|
127
127
|
private readonly chatListener;
|
|
128
128
|
static connect(asyncContext: TokioAsyncContext, connectionManager: ConnectionManager, username: string, password: string, receiveStories: boolean, listener: ChatServiceListener, options?: {
|
|
129
129
|
languages?: string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RequestOptions } from '../Chat.js';
|
|
2
|
+
declare module '../Chat' {
|
|
3
|
+
interface AuthenticatedChatConnection extends AuthMessagesService {
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export type UploadForm = {
|
|
7
|
+
cdn: number;
|
|
8
|
+
key: string;
|
|
9
|
+
headers: Map<string, string>;
|
|
10
|
+
signedUploadUrl: URL;
|
|
11
|
+
};
|
|
12
|
+
export interface AuthMessagesService {
|
|
13
|
+
/**
|
|
14
|
+
* Get an attachment upload form
|
|
15
|
+
*
|
|
16
|
+
* Throws / completes with failure only if the request can't be completed.
|
|
17
|
+
*/
|
|
18
|
+
getUploadForm: (options?: RequestOptions) => Promise<UploadForm>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 Signal Messenger, LLC.
|
|
3
|
+
// SPDX-License-Identifier: AGPL-3.0-only
|
|
4
|
+
//
|
|
5
|
+
import { AuthenticatedChatConnection } from '../Chat.js';
|
|
6
|
+
import * as Native from '../../Native.js';
|
|
7
|
+
import { LibSignalErrorBase } from '../../Errors.js';
|
|
8
|
+
AuthenticatedChatConnection.prototype.getUploadForm = async function (options) {
|
|
9
|
+
const { cdn, key, headers, signedUploadUrl } = await this.asyncContext.makeCancellable(options?.abortSignal, Native.AuthenticatedChatConnection_get_upload_form(this.asyncContext, this.chatService));
|
|
10
|
+
let signedUploadUrlConverted;
|
|
11
|
+
try {
|
|
12
|
+
signedUploadUrlConverted = new URL(signedUploadUrl);
|
|
13
|
+
}
|
|
14
|
+
catch (e) {
|
|
15
|
+
throw new LibSignalErrorBase(`Invalid URL for getUploadForm: ${e}`, 'Generic', 'getUploadForm');
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
cdn: cdn,
|
|
19
|
+
key: key,
|
|
20
|
+
headers: new Map(headers),
|
|
21
|
+
signedUploadUrl: signedUploadUrlConverted,
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=AuthMessagesService.js.map
|
package/dist/net.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { RegistrationService } from './net/Registration.js';
|
|
|
6
6
|
import { SvrB } from './net/SvrB.js';
|
|
7
7
|
export * from './net/CDSI.js';
|
|
8
8
|
export * from './net/Chat.js';
|
|
9
|
+
export * from './net/chat/AuthMessagesService.js';
|
|
9
10
|
export * from './net/chat/UnauthKeysService.js';
|
|
10
11
|
export * from './net/chat/UnauthMessagesService.js';
|
|
11
12
|
export * from './net/chat/UnauthProfilesService.js';
|
package/dist/net.js
CHANGED
|
@@ -10,6 +10,7 @@ import { SvrB } from './net/SvrB.js';
|
|
|
10
10
|
import { BridgedStringMap, newNativeHandle } from './internal.js';
|
|
11
11
|
export * from './net/CDSI.js';
|
|
12
12
|
export * from './net/Chat.js';
|
|
13
|
+
export * from './net/chat/AuthMessagesService.js';
|
|
13
14
|
export * from './net/chat/UnauthKeysService.js';
|
|
14
15
|
export * from './net/chat/UnauthMessagesService.js';
|
|
15
16
|
export * from './net/chat/UnauthProfilesService.js';
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|