export type Uuid = Uint8Array; export type Timestamp = number; export type LookupResponse = { entries: Map; debugPermitsUsed: number; }; export type LookupResponseEntry = { readonly aci: string | undefined; readonly pni: string | undefined; }; export type ChatResponse = { status: number; message: string | undefined; headers: ReadonlyArray<[string, string]>; body: Uint8Array | undefined; }; export type ChatServiceDebugInfo = { ipType: number; durationMillis: number; connectionInfo: string; }; export type ResponseAndDebugInfo = { response: ChatResponse; debugInfo: ChatServiceDebugInfo; }; export type SealedSenderMultiRecipientMessageRecipient = { deviceIds: number[]; registrationIds: number[]; rangeOffset: number; rangeLen: number; }; export type SealedSenderMultiRecipientMessage = { recipientMap: { [serviceId: string]: SealedSenderMultiRecipientMessageRecipient; }; excludedRecipients: string[]; offsetOfSharedData: number; }; export declare enum IdentityChange { NewOrUnchanged = 0, ReplacedExisting = 1 } export type SyncInputStream = Uint8Array; export type ChallengeOption = 'pushChallenge' | 'captcha'; export type RegistrationPushTokenType = 'apn' | 'fcm'; export type RegistrationCreateSessionRequest = { number: string; push_token?: string; push_token_type?: RegistrationPushTokenType; mcc?: string; mnc?: string; }; export type RegisterResponseBadge = { id: string; visible: boolean; expirationSeconds: number; }; export type CheckSvr2CredentialsResponse = Map; export type SignedPublicPreKey = { keyId: number; publicKey: Uint8Array; signature: Uint8Array; }; export type Wrapper = Readonly<{ _nativeHandle: T; }>; export type MessageBackupValidationOutcome = { errorMessage: string | null; unknownFieldMessages: Array; }; export type JsonFrameExportResult = [ line: string | null, errorMessage: string | null ]; export type PreKeysResponse = { identityKey: PublicKey; preKeyBundles: PreKeyBundle[]; }; export type UploadForm = { cdn: number; key: string; headers: [string, string][]; signedUploadUrl: string; }; export type AccountEntropyPool = string; export type RandomNumberGenerator = number; export type CancellablePromise = Promise & { _cancellationToken: bigint; }; export type Serialized = Uint8Array; type ConnectChatBridge = Wrapper; type TestingFutureCancellationGuard = Wrapper; export declare const enum LogLevel { Error = 1, Warn = 2, Info = 3, Debug = 4, Trace = 5 } export type ReturnFfiMyRemoteDeriveEnum = { __type: 0; } | { __type: 1; _0: number; _1: number; } | { __type: 2; x: string; y: number; }; export type ReturnFfiMyRemoteDeriveStruct = { x: number; y: number; }; export type ReturnFfiMyTestEnum = { __type: 0; } | { __type: 1; _0: number; } | { __type: 2; x: number; } | { __type: 3; _0: number; _1: number; } | { __type: 4; person_name: string; person_age: number; position: ReturnFfiMyTestPoint; fun_struct: ReturnFfiMyTestStruct; }; export type ReturnFfiMyTestPoint = { _0: number; _1: number; }; export type ReturnFfiMyTestStruct = { my_numeric_field: number; my_string_field: string; }; export type ArgFfiMyRemoteDeriveEnum = { __type: 0; } | { __type: 1; _0: number; _1: number; } | { __type: 2; x: string; y: number; }; export type ArgFfiMyRemoteDeriveStruct = { x: number; y: number; }; export type ArgFfiMyTestEnum = { __type: 0; } | { __type: 1; _0: number; } | { __type: 2; x: number; } | { __type: 3; _0: number; _1: number; } | { __type: 4; person_name: string; person_age: number; position: ArgFfiMyTestPoint; fun_struct: ArgFfiMyTestStruct; }; export type ArgFfiMyTestPoint = { _0: number; _1: number; }; export type ArgFfiMyTestStruct = { my_numeric_field: number; my_string_field: string; }; export declare const NetRemoteConfigKeys: readonly ["chatRequestConnectionCheckTimeoutMillis", "useH2ForUnauthChat", "useH2ForAuthChat", "grpc.AccountsAnonymousLookupUsernameHash", "grpc.AccountsAnonymousLookupUsernameLink.2", "grpc.AccountsAnonymousCheckAccountExistence.2", "grpc.MessagesAnonymousSendMultiRecipientMessage.2", "grpc.MessagesAnonymousSendSingleRecipientMessage", "grpc.AttachmentsGetUploadForm", "grpc.MessagesSendMessage", "grpc.BackupsAnonymousGetUploadForm"]; declare const registerErrors: (errorsModule: Record) => void, initLogger: (maxLevel: LogLevel, callback: (level: LogLevel, target: string, file: string | null, line: number | null, message: string) => void) => void, AccountEntropyPool_DeriveBackupKey: (account_entropy: AccountEntropyPool) => Uint8Array, AccountEntropyPool_DeriveSvrKey: (account_entropy: AccountEntropyPool) => Uint8Array, AccountEntropyPool_Generate: () => string, AccountEntropyPool_IsValid: (account_entropy: string) => boolean, Aes256GcmSiv_Decrypt: (aes_gcm_siv: Wrapper, ctext: Uint8Array, nonce: Uint8Array, associated_data: Uint8Array) => Uint8Array, Aes256GcmSiv_Encrypt: (aes_gcm_siv_obj: Wrapper, ptext: Uint8Array, nonce: Uint8Array, associated_data: Uint8Array) => Uint8Array, Aes256GcmSiv_New: (key: Uint8Array) => Aes256GcmSiv, AuthCredentialPresentation_CheckValidContents: (presentation_bytes: Uint8Array) => void, AuthCredentialPresentation_GetPniCiphertext: (presentation_bytes: Uint8Array) => Serialized, AuthCredentialPresentation_GetRedemptionTime: (presentation_bytes: Uint8Array) => Timestamp, AuthCredentialPresentation_GetUuidCiphertext: (presentation_bytes: Uint8Array) => Serialized, AuthCredentialWithPniResponse_CheckValidContents: (bytes: Uint8Array) => void, AuthCredentialWithPni_CheckValidContents: (bytes: Uint8Array) => void, AuthenticatedChatConnection_connect: (asyncRuntime: Wrapper, connection_manager: Wrapper, username: string, password: string, receive_stories: boolean, languages: Array) => CancellablePromise, AuthenticatedChatConnection_disconnect: (asyncRuntime: Wrapper, chat: Wrapper) => CancellablePromise, AuthenticatedChatConnection_get_upload_form: (asyncRuntime: Wrapper, chat: Wrapper, upload_length: bigint) => CancellablePromise, AuthenticatedChatConnection_info: (chat: Wrapper) => ChatConnectionInfo, AuthenticatedChatConnection_init_listener: (chat: Wrapper, listener: ChatListener) => void, AuthenticatedChatConnection_preconnect: (asyncRuntime: Wrapper, connection_manager: Wrapper) => CancellablePromise, AuthenticatedChatConnection_send: (asyncRuntime: Wrapper, chat: Wrapper, http_request: Wrapper, timeout_millis: number) => CancellablePromise, AuthenticatedChatConnection_send_message: (asyncRuntime: Wrapper, chat: Wrapper, destination: Uint8Array, timestamp: Timestamp, device_ids: Uint32Array, registration_ids: Uint32Array, contents: Array>, online_only: boolean, is_urgent: boolean) => CancellablePromise, AuthenticatedChatConnection_send_raw_grpc: (asyncRuntime: Wrapper, chat: Wrapper, service: string, method: string, payload: Uint8Array) => CancellablePromise>, AuthenticatedChatConnection_send_sync_message: (asyncRuntime: Wrapper, chat: Wrapper, timestamp: Timestamp, device_ids: Uint32Array, registration_ids: Uint32Array, contents: Array>, is_urgent: boolean) => CancellablePromise, BackupAuthCredentialPresentation_CheckValidContents: (presentation_bytes: Uint8Array) => void, BackupAuthCredentialPresentation_GetBackupId: (presentation_bytes: Uint8Array) => Uint8Array, BackupAuthCredentialPresentation_GetBackupLevel: (presentation_bytes: Uint8Array) => number, BackupAuthCredentialPresentation_GetType: (presentation_bytes: Uint8Array) => number, BackupAuthCredentialPresentation_Verify: (presentation_bytes: Uint8Array, now: Timestamp, server_params_bytes: Uint8Array) => void, BackupAuthCredentialRequestContext_CheckValidContents: (context_bytes: Uint8Array) => void, BackupAuthCredentialRequestContext_GetRequest: (context_bytes: Uint8Array) => Uint8Array, BackupAuthCredentialRequestContext_New: (backup_key: Uint8Array, uuid: Uuid) => Uint8Array, BackupAuthCredentialRequestContext_ReceiveResponse: (context_bytes: Uint8Array, response_bytes: Uint8Array, expected_redemption_time: Timestamp, params_bytes: Uint8Array) => Uint8Array, BackupAuthCredentialRequest_CheckValidContents: (request_bytes: Uint8Array) => void, BackupAuthCredentialRequest_IssueDeterministic: (request_bytes: Uint8Array, redemption_time: Timestamp, backup_level: number, credential_type: number, params_bytes: Uint8Array, randomness: Uint8Array) => Uint8Array, BackupAuthCredentialResponse_CheckValidContents: (response_bytes: Uint8Array) => void, BackupAuthCredential_CheckValidContents: (params_bytes: Uint8Array) => void, BackupAuthCredential_GetBackupId: (credential_bytes: Uint8Array) => Uint8Array, BackupAuthCredential_GetBackupLevel: (credential_bytes: Uint8Array) => number, BackupAuthCredential_GetType: (credential_bytes: Uint8Array) => number, BackupAuthCredential_PresentDeterministic: (credential_bytes: Uint8Array, server_params_bytes: Uint8Array, randomness: Uint8Array) => Uint8Array, BackupJsonExporter_ExportFrames: (exporter: Wrapper, frames: Uint8Array) => Array<[string | null, string | null]>, BackupJsonExporter_Finish: (exporter: Wrapper) => void, BackupJsonExporter_GetInitialChunk: (exporter: Wrapper) => string, BackupJsonExporter_New: (backup_info: Uint8Array, should_validate: boolean) => BackupJsonExporter, BackupKey_DeriveBackupId: (backup_key: Uint8Array, aci: Uint8Array) => Uint8Array, BackupKey_DeriveEcKey: (backup_key: Uint8Array, aci: Uint8Array) => PrivateKey, BackupKey_DeriveLocalBackupMetadataKey: (backup_key: Uint8Array) => Uint8Array, BackupKey_DeriveMediaEncryptionKey: (backup_key: Uint8Array, media_id: Uint8Array) => Uint8Array, BackupKey_DeriveMediaId: (backup_key: Uint8Array, media_name: string) => Uint8Array, BackupKey_DeriveThumbnailTransitEncryptionKey: (backup_key: Uint8Array, media_id: Uint8Array) => Uint8Array, BackupRestoreResponse_GetForwardSecrecyToken: (response: Wrapper) => Uint8Array, BackupRestoreResponse_GetNextBackupSecretData: (response: Wrapper) => Uint8Array, BackupStoreResponse_GetForwardSecrecyToken: (response: Wrapper) => Uint8Array, BackupStoreResponse_GetNextBackupSecretData: (response: Wrapper) => Uint8Array, BackupStoreResponse_GetOpaqueMetadata: (response: Wrapper) => Uint8Array, BridgedStringMap_insert: (map: Wrapper, key: string, value: string) => void, BridgedStringMap_new: (initial_capacity: number) => BridgedStringMap, CallLinkAuthCredentialPresentation_CheckValidContents: (presentation_bytes: Uint8Array) => void, CallLinkAuthCredentialPresentation_GetUserId: (presentation_bytes: Uint8Array) => Serialized, CallLinkAuthCredentialPresentation_Verify: (presentation_bytes: Uint8Array, now: Timestamp, server_params_bytes: Uint8Array, call_link_params_bytes: Uint8Array) => void, CallLinkAuthCredentialResponse_CheckValidContents: (response_bytes: Uint8Array) => void, CallLinkAuthCredentialResponse_IssueDeterministic: (user_id: Uint8Array, redemption_time: Timestamp, params_bytes: Uint8Array, randomness: Uint8Array) => Uint8Array, CallLinkAuthCredentialResponse_Receive: (response_bytes: Uint8Array, user_id: Uint8Array, redemption_time: Timestamp, params_bytes: Uint8Array) => Uint8Array, CallLinkAuthCredential_CheckValidContents: (credential_bytes: Uint8Array) => void, CallLinkAuthCredential_PresentDeterministic: (credential_bytes: Uint8Array, user_id: Uint8Array, redemption_time: Timestamp, server_params_bytes: Uint8Array, call_link_params_bytes: Uint8Array, randomness: Uint8Array) => Uint8Array, CallLinkPublicParams_CheckValidContents: (params_bytes: Uint8Array) => void, CallLinkSecretParams_CheckValidContents: (params_bytes: Uint8Array) => void, CallLinkSecretParams_DecryptUserId: (params_bytes: Uint8Array, user_id: Serialized) => Uint8Array, CallLinkSecretParams_DeriveFromRootKey: (root_key: Uint8Array) => Uint8Array, CallLinkSecretParams_EncryptUserId: (params_bytes: Uint8Array, user_id: Uint8Array) => Serialized, CallLinkSecretParams_GetPublicParams: (params_bytes: Uint8Array) => Uint8Array, Cds2ClientState_New: (mrenclave: Uint8Array, attestation_msg: Uint8Array, current_timestamp: Timestamp) => SgxClientState, CdsiLookup_complete: (asyncRuntime: Wrapper, lookup: Wrapper) => CancellablePromise, CdsiLookup_new: (asyncRuntime: Wrapper, connection_manager: Wrapper, username: string, password: string, request: Wrapper) => CancellablePromise, CdsiLookup_token: (lookup: Wrapper) => Uint8Array, ChatConnectionInfo_description: (connection_info: Wrapper) => string, ChatConnectionInfo_ip_version: (connection_info: Wrapper) => number, ChatConnectionInfo_local_port: (connection_info: Wrapper) => number, CiphertextMessage_FromPlaintextContent: (m: Wrapper) => CiphertextMessage, CiphertextMessage_Serialize: (obj: Wrapper) => Uint8Array, CiphertextMessage_Type: (msg: Wrapper) => number, ComparableBackup_GetComparableString: (backup: Wrapper) => string, ComparableBackup_GetUnknownFields: (backup: Wrapper) => Array, ComparableBackup_ReadUnencrypted: (stream: InputStream, len: bigint, purpose: number) => Promise, ConnectionManager_clear_proxy: (connection_manager: Wrapper) => void, ConnectionManager_new: (environment: number, user_agent: string, remote_config: Wrapper, build_variant: number) => ConnectionManager, ConnectionManager_on_network_change: (connection_manager: Wrapper) => void, ConnectionManager_set_censorship_circumvention_enabled: (connection_manager: Wrapper, enabled: boolean) => void, ConnectionManager_set_invalid_proxy: (connection_manager: Wrapper) => void, ConnectionManager_set_ipv6_enabled: (connection_manager: Wrapper, ipv6_enabled: boolean) => void, ConnectionManager_set_proxy: (connection_manager: Wrapper, proxy: Wrapper) => void, ConnectionManager_set_remote_config: (connection_manager: Wrapper, remote_config: Wrapper, build_variant: number) => void, ConnectionProxyConfig_new: (scheme: string, host: string, port: number, username: string | null, password: string | null) => ConnectionProxyConfig, CreateCallLinkCredentialPresentation_CheckValidContents: (presentation_bytes: Uint8Array) => void, CreateCallLinkCredentialPresentation_Verify: (presentation_bytes: Uint8Array, room_id: Uint8Array, now: Timestamp, server_params_bytes: Uint8Array, call_link_params_bytes: Uint8Array) => void, CreateCallLinkCredentialRequestContext_CheckValidContents: (context_bytes: Uint8Array) => void, CreateCallLinkCredentialRequestContext_GetRequest: (context_bytes: Uint8Array) => Uint8Array, CreateCallLinkCredentialRequestContext_NewDeterministic: (room_id: Uint8Array, randomness: Uint8Array) => Uint8Array, CreateCallLinkCredentialRequestContext_ReceiveResponse: (context_bytes: Uint8Array, response_bytes: Uint8Array, user_id: Uint8Array, params_bytes: Uint8Array) => Uint8Array, CreateCallLinkCredentialRequest_CheckValidContents: (request_bytes: Uint8Array) => void, CreateCallLinkCredentialRequest_IssueDeterministic: (request_bytes: Uint8Array, user_id: Uint8Array, timestamp: Timestamp, params_bytes: Uint8Array, randomness: Uint8Array) => Uint8Array, CreateCallLinkCredentialResponse_CheckValidContents: (response_bytes: Uint8Array) => void, CreateCallLinkCredential_CheckValidContents: (params_bytes: Uint8Array) => void, CreateCallLinkCredential_PresentDeterministic: (credential_bytes: Uint8Array, room_id: Uint8Array, user_id: Uint8Array, server_params_bytes: Uint8Array, call_link_params_bytes: Uint8Array, randomness: Uint8Array) => Uint8Array, DecryptionErrorMessage_Deserialize: (data: Uint8Array) => DecryptionErrorMessage, DecryptionErrorMessage_ExtractFromSerializedContent: (bytes: Uint8Array) => DecryptionErrorMessage, DecryptionErrorMessage_ForOriginalMessage: (original_bytes: Uint8Array, original_type: number, original_timestamp: Timestamp, original_sender_device_id: number) => DecryptionErrorMessage, DecryptionErrorMessage_GetDeviceId: (obj: Wrapper) => number, DecryptionErrorMessage_GetRatchetKey: (m: Wrapper) => PublicKey | null, DecryptionErrorMessage_GetTimestamp: (obj: Wrapper) => Timestamp, DecryptionErrorMessage_Serialize: (obj: Wrapper) => Uint8Array, ExpiringProfileKeyCredentialResponse_CheckValidContents: (buffer: Uint8Array) => void, ExpiringProfileKeyCredential_CheckValidContents: (buffer: Uint8Array) => void, ExpiringProfileKeyCredential_GetExpirationTime: (credential: Serialized) => Timestamp, Fingerprint_DisplayString: (obj: Wrapper) => string, Fingerprint_New: (iterations: number, version: number, local_identifier: Uint8Array, local_key: Wrapper, remote_identifier: Uint8Array, remote_key: Wrapper) => Fingerprint, Fingerprint_ScannableEncoding: (obj: Wrapper) => Uint8Array, GenericServerPublicParams_CheckValidContents: (params_bytes: Uint8Array) => void, GenericServerSecretParams_CheckValidContents: (params_bytes: Uint8Array) => void, GenericServerSecretParams_GenerateDeterministic: (randomness: Uint8Array) => Uint8Array, GenericServerSecretParams_GetPublicParams: (params_bytes: Uint8Array) => Uint8Array, GroupCipher_DecryptMessage: (sender: Wrapper, message: Uint8Array, store: SenderKeyStore) => Promise>, GroupCipher_EncryptMessage: (sender: Wrapper, distribution_id: Uuid, message: Uint8Array, store: SenderKeyStore) => Promise, GroupMasterKey_CheckValidContents: (buffer: Uint8Array) => void, GroupPublicParams_CheckValidContents: (buffer: Uint8Array) => void, GroupPublicParams_GetGroupIdentifier: (group_public_params: Serialized) => Uint8Array, GroupSecretParams_CheckValidContents: (buffer: Uint8Array) => void, GroupSecretParams_DecryptBlobWithPadding: (params: Serialized, ciphertext: Uint8Array) => Uint8Array, GroupSecretParams_DecryptProfileKey: (params: Serialized, profile_key: Serialized, user_id: Uint8Array) => Serialized, GroupSecretParams_DecryptServiceId: (params: Serialized, ciphertext: Serialized) => Uint8Array, GroupSecretParams_DeriveFromMasterKey: (master_key: Serialized) => Serialized, GroupSecretParams_EncryptBlobWithPaddingDeterministic: (params: Serialized, randomness: Uint8Array, plaintext: Uint8Array, padding_len: number) => Uint8Array, GroupSecretParams_EncryptProfileKey: (params: Serialized, profile_key: Serialized, user_id: Uint8Array) => Serialized, GroupSecretParams_EncryptServiceId: (params: Serialized, service_id: Uint8Array) => Serialized, GroupSecretParams_GenerateDeterministic: (randomness: Uint8Array) => Serialized, GroupSecretParams_GetMasterKey: (params: Serialized) => Serialized, GroupSecretParams_GetPublicParams: (params: Serialized) => Serialized, GroupSendDerivedKeyPair_CheckValidContents: (bytes: Uint8Array) => void, GroupSendDerivedKeyPair_ForExpiration: (expiration: Timestamp, server_params: Wrapper) => Uint8Array, GroupSendEndorsement_CallLinkParams_ToToken: (endorsement: Uint8Array, call_link_secret_params_serialized: Uint8Array) => Uint8Array, GroupSendEndorsement_CheckValidContents: (bytes: Uint8Array) => void, GroupSendEndorsement_Combine: (endorsements: Array>) => Uint8Array, GroupSendEndorsement_Remove: (endorsement: Uint8Array, to_remove: Uint8Array) => Uint8Array, GroupSendEndorsement_ToToken: (endorsement: Uint8Array, group_params: Serialized) => Uint8Array, GroupSendEndorsementsResponse_CheckValidContents: (bytes: Uint8Array) => void, GroupSendEndorsementsResponse_GetExpiration: (response_bytes: Uint8Array) => Timestamp, GroupSendEndorsementsResponse_IssueDeterministic: (concatenated_group_member_ciphertexts: Uint8Array, key_pair: Uint8Array, randomness: Uint8Array) => Uint8Array, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts: (response_bytes: Uint8Array, concatenated_group_member_ciphertexts: Uint8Array, local_user_ciphertext: Uint8Array, now: Timestamp, server_params: Wrapper) => Array>, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds: (response_bytes: Uint8Array, group_members: Uint8Array, local_user: Uint8Array, now: Timestamp, group_params: Serialized, server_params: Wrapper) => Array>, GroupSendFullToken_CheckValidContents: (bytes: Uint8Array) => void, GroupSendFullToken_GetExpiration: (token: Uint8Array) => Timestamp, GroupSendFullToken_Verify: (token: Uint8Array, user_ids: Uint8Array, now: Timestamp, key_pair: Uint8Array) => void, GroupSendToken_CheckValidContents: (bytes: Uint8Array) => void, GroupSendToken_ToFullToken: (token: Uint8Array, expiration: Timestamp) => Uint8Array, HKDF_DeriveSecrets: (output_length: number, ikm: Uint8Array, label: Uint8Array | null, salt: Uint8Array | null) => Uint8Array, HsmEnclaveClient_CompleteHandshake: (cli: Wrapper, handshake_received: Uint8Array) => void, HsmEnclaveClient_EstablishedRecv: (cli: Wrapper, received_ciphertext: Uint8Array) => Uint8Array, HsmEnclaveClient_EstablishedSend: (cli: Wrapper, plaintext_to_send: Uint8Array) => Uint8Array, HsmEnclaveClient_InitialRequest: (obj: Wrapper) => Uint8Array, HsmEnclaveClient_New: (trusted_public_key: Uint8Array, trusted_code_hashes: Uint8Array) => HsmEnclaveClient, HttpRequest_add_header: (request: Wrapper, name: string, value: string) => void, HttpRequest_new: (method: string, path: string, body_as_slice: Uint8Array | null) => HttpRequest, IdentityKeyPair_Deserialize: (input: Uint8Array) => [PublicKey, PrivateKey], IdentityKeyPair_Serialize: (public_key: Wrapper, private_key: Wrapper) => Uint8Array, IdentityKeyPair_SignAlternateIdentity: (public_key: Wrapper, private_key: Wrapper, other_identity: Wrapper) => Uint8Array, IdentityKey_VerifyAlternateIdentity: (public_key: Wrapper, other_identity: Wrapper, signature: Uint8Array) => boolean, IncrementalMac_CalculateChunkSize: (data_size: number) => number, IncrementalMac_Finalize: (mac: Wrapper) => Uint8Array, IncrementalMac_Initialize: (key: Uint8Array, chunk_size: number) => IncrementalMac, IncrementalMac_Update: (mac: Wrapper, bytes: Uint8Array, offset: number, length: number) => Uint8Array, KeyTransparency_AciSearchKey: (aci: Uint8Array) => Uint8Array, KeyTransparency_Check: (asyncRuntime: Wrapper, environment: number, chat_connection: Wrapper, aci: Uint8Array, aci_identity_key: Wrapper, e164: string | null, unidentified_access_key: Uint8Array | null, username_hash: Uint8Array | null, account_data: Uint8Array | null, last_distinguished_tree_head: Uint8Array | null, is_self_check: boolean, is_e164_discoverable: boolean) => CancellablePromise<[Uint8Array, Uint8Array]>, KeyTransparency_E164SearchKey: (e164: string) => Uint8Array, KeyTransparency_ResetDataField: (account_data: Uint8Array, field: number) => Uint8Array, KeyTransparency_UsernameHashSearchKey: (hash: Uint8Array) => Uint8Array, KyberKeyPair_Generate: () => KyberKeyPair, KyberKeyPair_GetPublicKey: (key_pair: Wrapper) => KyberPublicKey, KyberKeyPair_GetSecretKey: (key_pair: Wrapper) => KyberSecretKey, KyberPreKeyRecord_Deserialize: (data: Uint8Array) => KyberPreKeyRecord, KyberPreKeyRecord_GetId: (obj: Wrapper) => number, KyberPreKeyRecord_GetKeyPair: (obj: Wrapper) => KyberKeyPair, KyberPreKeyRecord_GetPublicKey: (obj: Wrapper) => KyberPublicKey, KyberPreKeyRecord_GetSecretKey: (obj: Wrapper) => KyberSecretKey, KyberPreKeyRecord_GetSignature: (obj: Wrapper) => Uint8Array, KyberPreKeyRecord_GetTimestamp: (obj: Wrapper) => Timestamp, KyberPreKeyRecord_New: (id: number, timestamp: Timestamp, key_pair: Wrapper, signature: Uint8Array) => KyberPreKeyRecord, KyberPreKeyRecord_Serialize: (obj: Wrapper) => Uint8Array, KyberPublicKey_Deserialize: (data: Uint8Array) => KyberPublicKey, KyberPublicKey_Equals: (lhs: Wrapper, rhs: Wrapper) => boolean, KyberPublicKey_Serialize: (obj: Wrapper) => Uint8Array, KyberSecretKey_Deserialize: (data: Uint8Array) => KyberSecretKey, KyberSecretKey_Serialize: (obj: Wrapper) => Uint8Array, LookupRequest_addAciAndAccessKey: (request: Wrapper, aci: Uint8Array, access_key: Uint8Array) => void, LookupRequest_addE164: (request: Wrapper, e164: string) => void, LookupRequest_addPreviousE164: (request: Wrapper, e164: string) => void, LookupRequest_new: () => LookupRequest, LookupRequest_setToken: (request: Wrapper, token: Uint8Array) => void, MessageBackupKey_FromAccountEntropyPool: (account_entropy: AccountEntropyPool, aci: Uint8Array, forward_secrecy_token: Uint8Array | null) => MessageBackupKey, MessageBackupKey_FromBackupKeyAndBackupId: (backup_key: Uint8Array, backup_id: Uint8Array, forward_secrecy_token: Uint8Array | null) => MessageBackupKey, MessageBackupKey_GetAesKey: (key: Wrapper) => Uint8Array, MessageBackupKey_GetHmacKey: (key: Wrapper) => Uint8Array, MessageBackupValidator_Validate: (key: Wrapper, first_stream: InputStream, second_stream: InputStream, len: bigint, purpose: number) => Promise, MinidumpToJSONString: (buffer: Uint8Array) => string, Mp4Sanitizer_Sanitize: (input: InputStream, len: bigint) => Promise, OnlineBackupValidator_AddFrame: (backup: Wrapper, frame: Uint8Array) => void, OnlineBackupValidator_Finalize: (backup: Wrapper) => void, OnlineBackupValidator_New: (backup_info_frame: Uint8Array, purpose: number) => OnlineBackupValidator, PinHash_AccessKey: (ph: Wrapper) => Uint8Array, PinHash_EncryptionKey: (ph: Wrapper) => Uint8Array, PinHash_FromSalt: (pin: Uint8Array, salt: Uint8Array) => PinHash, PinHash_FromUsernameMrenclave: (pin: Uint8Array, username: string, mrenclave: Uint8Array) => PinHash, Pin_LocalHash: (pin: Uint8Array) => string, Pin_VerifyLocalHash: (encoded_hash: string, pin: Uint8Array) => boolean, PlaintextContent_Deserialize: (data: Uint8Array) => PlaintextContent, PlaintextContent_FromDecryptionErrorMessage: (m: Wrapper) => PlaintextContent, PlaintextContent_GetBody: (obj: Wrapper) => Uint8Array, PlaintextContent_Serialize: (obj: Wrapper) => Uint8Array, PreKeyBundle_GetDeviceId: (obj: Wrapper) => number, PreKeyBundle_GetIdentityKey: (p: Wrapper) => PublicKey, PreKeyBundle_GetKyberPreKeyId: (obj: Wrapper) => number, PreKeyBundle_GetKyberPreKeyPublic: (bundle: Wrapper) => KyberPublicKey, PreKeyBundle_GetKyberPreKeySignature: (obj: Wrapper) => Uint8Array, PreKeyBundle_GetPreKeyId: (obj: Wrapper) => number | null, PreKeyBundle_GetPreKeyPublic: (obj: Wrapper) => PublicKey | null, PreKeyBundle_GetRegistrationId: (obj: Wrapper) => number, PreKeyBundle_GetSignedPreKeyId: (obj: Wrapper) => number, PreKeyBundle_GetSignedPreKeyPublic: (obj: Wrapper) => PublicKey, PreKeyBundle_GetSignedPreKeySignature: (obj: Wrapper) => Uint8Array, PreKeyBundle_New: (registration_id: number, device_id: number, prekey_id: number | null, prekey: Wrapper | null, signed_prekey_id: number, signed_prekey: Wrapper, signed_prekey_signature: Uint8Array, identity_key: Wrapper, kyber_prekey_id: number, kyber_prekey: Wrapper, kyber_prekey_signature: Uint8Array) => PreKeyBundle, PreKeyRecord_Deserialize: (data: Uint8Array) => PreKeyRecord, PreKeyRecord_GetId: (obj: Wrapper) => number, PreKeyRecord_GetPrivateKey: (obj: Wrapper) => PrivateKey, PreKeyRecord_GetPublicKey: (obj: Wrapper) => PublicKey, PreKeyRecord_New: (id: number, pub_key: Wrapper, priv_key: Wrapper) => PreKeyRecord, PreKeyRecord_Serialize: (obj: Wrapper) => Uint8Array, PreKeySignalMessage_Deserialize: (data: Uint8Array) => PreKeySignalMessage, PreKeySignalMessage_GetPreKeyId: (obj: Wrapper) => number | null, PreKeySignalMessage_GetRegistrationId: (obj: Wrapper) => number, PreKeySignalMessage_GetSignedPreKeyId: (obj: Wrapper) => number, PreKeySignalMessage_GetVersion: (obj: Wrapper) => number, PreKeySignalMessage_New: (message_version: number, registration_id: number, pre_key_id: number | null, signed_pre_key_id: number, base_key: Wrapper, identity_key: Wrapper, signal_message: Wrapper) => PreKeySignalMessage, PreKeySignalMessage_Serialize: (obj: Wrapper) => Uint8Array, PrivateKey_Agree: (private_key: Wrapper, public_key: Wrapper) => Uint8Array, PrivateKey_Deserialize: (data: Uint8Array) => PrivateKey, PrivateKey_Generate: () => PrivateKey, PrivateKey_GetPublicKey: (k: Wrapper) => PublicKey, PrivateKey_HpkeOpen: (sk: Wrapper, ciphertext: Uint8Array, info: Uint8Array, associated_data: Uint8Array) => Uint8Array, PrivateKey_Serialize: (obj: Wrapper) => Uint8Array, PrivateKey_Sign: (key: Wrapper, message: Uint8Array) => Uint8Array, ProfileKeyCiphertext_CheckValidContents: (buffer: Uint8Array) => void, ProfileKeyCommitment_CheckValidContents: (buffer: Uint8Array) => void, ProfileKeyCredentialPresentation_CheckValidContents: (presentation_bytes: Uint8Array) => void, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext: (presentation_bytes: Uint8Array) => Serialized, ProfileKeyCredentialPresentation_GetUuidCiphertext: (presentation_bytes: Uint8Array) => Serialized, ProfileKeyCredentialRequestContext_CheckValidContents: (buffer: Uint8Array) => void, ProfileKeyCredentialRequestContext_GetRequest: (context: Serialized) => Serialized, ProfileKeyCredentialRequest_CheckValidContents: (buffer: Uint8Array) => void, ProfileKey_CheckValidContents: (buffer: Uint8Array) => void, ProfileKey_DeriveAccessKey: (profile_key: Serialized) => Uint8Array, ProfileKey_GetCommitment: (profile_key: Serialized, user_id: Uint8Array) => Serialized, ProfileKey_GetProfileKeyVersion: (profile_key: Serialized, user_id: Uint8Array) => Uint8Array, ProtocolAddress_DeviceId: (obj: Wrapper) => number, ProtocolAddress_Name: (obj: Wrapper) => string, ProtocolAddress_New: (name: string, device_id: number) => ProtocolAddress, ProvisioningChatConnection_connect: (asyncRuntime: Wrapper, connection_manager: Wrapper) => CancellablePromise, ProvisioningChatConnection_disconnect: (asyncRuntime: Wrapper, chat: Wrapper) => CancellablePromise, ProvisioningChatConnection_info: (chat: Wrapper) => ChatConnectionInfo, ProvisioningChatConnection_init_listener: (chat: Wrapper, listener: ProvisioningListener) => void, PublicKey_Deserialize: (data: Uint8Array) => PublicKey, PublicKey_Equals: (lhs: Wrapper, rhs: Wrapper) => boolean, PublicKey_GetPublicKeyBytes: (obj: Wrapper) => Uint8Array, PublicKey_HpkeSeal: (pk: Wrapper, plaintext: Uint8Array, info: Uint8Array, associated_data: Uint8Array) => Uint8Array, PublicKey_Serialize: (obj: Wrapper) => Uint8Array, PublicKey_Verify: (key: Wrapper, message: Uint8Array, signature: Uint8Array) => boolean, ReceiptCredentialPresentation_CheckValidContents: (buffer: Uint8Array) => void, ReceiptCredentialPresentation_GetReceiptExpirationTime: (presentation: Serialized) => Timestamp, ReceiptCredentialPresentation_GetReceiptLevel: (presentation: Serialized) => bigint, ReceiptCredentialPresentation_GetReceiptSerial: (presentation: Serialized) => Uint8Array, ReceiptCredentialRequestContext_CheckValidContents: (buffer: Uint8Array) => void, ReceiptCredentialRequestContext_GetRequest: (request_context: Serialized) => Serialized, ReceiptCredentialRequest_CheckValidContents: (buffer: Uint8Array) => void, ReceiptCredentialResponse_CheckValidContents: (buffer: Uint8Array) => void, ReceiptCredential_CheckValidContents: (buffer: Uint8Array) => void, ReceiptCredential_GetReceiptExpirationTime: (receipt_credential: Serialized) => Timestamp, ReceiptCredential_GetReceiptLevel: (receipt_credential: Serialized) => bigint, RegisterAccountRequest_Create: () => RegisterAccountRequest, RegisterAccountRequest_SetAccountPassword: (register_account: Wrapper, account_password: string) => void, RegisterAccountRequest_SetIdentityPqLastResortPreKey: (register_account: Wrapper, identity_type: number, pq_last_resort_pre_key: SignedPublicPreKey) => void, RegisterAccountRequest_SetIdentityPublicKey: (register_account: Wrapper, identity_type: number, identity_key: Wrapper) => void, RegisterAccountRequest_SetIdentitySignedPreKey: (register_account: Wrapper, identity_type: number, signed_pre_key: SignedPublicPreKey) => void, RegisterAccountRequest_SetSkipDeviceTransfer: (register_account: Wrapper) => void, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds: (response: Wrapper) => bigint | null, RegisterAccountResponse_GetEntitlementBackupLevel: (response: Wrapper) => bigint | null, RegisterAccountResponse_GetEntitlementBadges: (response: Wrapper) => Array, RegisterAccountResponse_GetIdentity: (response: Wrapper, identity_type: number) => Uint8Array, RegisterAccountResponse_GetNumber: (response: Wrapper) => string, RegisterAccountResponse_GetReregistration: (response: Wrapper) => boolean, RegisterAccountResponse_GetStorageCapable: (response: Wrapper) => boolean, RegisterAccountResponse_GetUsernameHash: (response: Wrapper) => Uint8Array | null, RegisterAccountResponse_GetUsernameLinkHandle: (response: Wrapper) => Uuid | null, RegistrationAccountAttributes_Create: (recovery_password: Uint8Array, aci_registration_id: number, pni_registration_id: number, registration_lock: string | null, unidentified_access_key: Uint8Array, unrestricted_unidentified_access: boolean, capabilities: Array, discoverable_by_phone_number: boolean) => RegistrationAccountAttributes, RegistrationService_CheckSvr2Credentials: (asyncRuntime: Wrapper, service: Wrapper, svr_tokens: Array) => CancellablePromise, RegistrationService_CreateSession: (asyncRuntime: Wrapper, create_session: RegistrationCreateSessionRequest, connect_chat: ConnectChatBridge) => CancellablePromise, RegistrationService_RegisterAccount: (asyncRuntime: Wrapper, service: Wrapper, register_account: Wrapper, account_attributes: Wrapper) => CancellablePromise, RegistrationService_RegistrationSession: (service: Wrapper) => RegistrationSession, RegistrationService_RequestVerificationCode: (asyncRuntime: Wrapper, service: Wrapper, transport: string, client: string, languages: Array) => CancellablePromise, RegistrationService_ReregisterAccount: (asyncRuntime: Wrapper, connect_chat: ConnectChatBridge, number: string, register_account: Wrapper, account_attributes: Wrapper) => CancellablePromise, RegistrationService_ResumeSession: (asyncRuntime: Wrapper, session_id: string, number: string, connect_chat: ConnectChatBridge) => CancellablePromise, RegistrationService_SessionId: (service: Wrapper) => string, RegistrationService_SubmitCaptcha: (asyncRuntime: Wrapper, service: Wrapper, captcha_value: string) => CancellablePromise, RegistrationService_SubmitVerificationCode: (asyncRuntime: Wrapper, service: Wrapper, code: string) => CancellablePromise, RegistrationSession_GetAllowedToRequestCode: (session: Wrapper) => boolean, RegistrationSession_GetNextCallSeconds: (session: Wrapper) => number | null, RegistrationSession_GetNextSmsSeconds: (session: Wrapper) => number | null, RegistrationSession_GetNextVerificationAttemptSeconds: (session: Wrapper) => number | null, RegistrationSession_GetRequestedInformation: (session: Wrapper) => Array, RegistrationSession_GetVerified: (session: Wrapper) => boolean, SanitizedMetadata_GetDataLen: (sanitized: Wrapper) => bigint, SanitizedMetadata_GetDataOffset: (sanitized: Wrapper) => bigint, SanitizedMetadata_GetMetadata: (sanitized: Wrapper) => Uint8Array, ScannableFingerprint_Compare: (fprint1: Uint8Array, fprint2: Uint8Array) => boolean, SealedSenderDecryptionResult_GetDeviceId: (obj: Wrapper) => number, SealedSenderDecryptionResult_GetSenderE164: (obj: Wrapper) => string | null, SealedSenderDecryptionResult_GetSenderUuid: (obj: Wrapper) => string, SealedSenderDecryptionResult_Message: (obj: Wrapper) => Uint8Array, SealedSenderMultiRecipientMessage_Parse: (buffer: Uint8Array) => SealedSenderMultiRecipientMessage, SealedSender_DecryptMessage: (message: Uint8Array, trust_root: Wrapper, timestamp: Timestamp, local_e164: string | null, local_uuid: string, local_device_id: number, session_store: SessionStore, identity_store: IdentityKeyStore, prekey_store: PreKeyStore, signed_prekey_store: SignedPreKeyStore, kyber_prekey_store: KyberPreKeyStore) => Promise, SealedSender_DecryptToUsmc: (ctext: Uint8Array, identity_store: IdentityKeyStore) => Promise, SealedSender_Encrypt: (destination: Wrapper, content: Wrapper, identity_key_store: IdentityKeyStore) => Promise>, SealedSender_MultiRecipientEncrypt: (recipients: Array>, recipient_sessions: Array>, excluded_recipients: Uint8Array, content: Wrapper, identity_key_store: IdentityKeyStore) => Promise>, SealedSender_MultiRecipientMessageForSingleRecipient: (encoded_multi_recipient_message: Uint8Array) => Uint8Array, SecureValueRecoveryForBackups_CreateNewBackupChain: (environment: number, backup_key: Uint8Array) => Uint8Array, SecureValueRecoveryForBackups_RemoveBackup: (asyncRuntime: Wrapper, connection_manager: Wrapper, username: string, password: string) => CancellablePromise, SecureValueRecoveryForBackups_RestoreBackupFromServer: (asyncRuntime: Wrapper, backup_key: Uint8Array, metadata: Uint8Array, connection_manager: Wrapper, username: string, password: string) => CancellablePromise, SecureValueRecoveryForBackups_StoreBackup: (asyncRuntime: Wrapper, backup_key: Uint8Array, previous_secret_data: Uint8Array, connection_manager: Wrapper, username: string, password: string) => CancellablePromise, SenderCertificate_Deserialize: (data: Uint8Array) => SenderCertificate, SenderCertificate_GetCertificate: (obj: Wrapper) => Uint8Array, SenderCertificate_GetDeviceId: (obj: Wrapper) => number, SenderCertificate_GetExpiration: (obj: Wrapper) => Timestamp, SenderCertificate_GetKey: (obj: Wrapper) => PublicKey, SenderCertificate_GetSenderE164: (obj: Wrapper) => string | null, SenderCertificate_GetSenderUuid: (obj: Wrapper) => string, SenderCertificate_GetSerialized: (obj: Wrapper) => Uint8Array, SenderCertificate_GetServerCertificate: (cert: Wrapper) => ServerCertificate, SenderCertificate_GetSignature: (obj: Wrapper) => Uint8Array, SenderCertificate_New: (sender_uuid: string, sender_e164: string | null, sender_device_id: number, sender_key: Wrapper, expiration: Timestamp, signer_cert: Wrapper, signer_key: Wrapper) => SenderCertificate, SenderCertificate_Validate: (cert: Wrapper, trust_roots: Array>, time: Timestamp) => boolean, SenderKeyDistributionMessage_Create: (sender: Wrapper, distribution_id: Uuid, store: SenderKeyStore) => Promise, SenderKeyDistributionMessage_Deserialize: (data: Uint8Array) => SenderKeyDistributionMessage, SenderKeyDistributionMessage_GetChainId: (obj: Wrapper) => number, SenderKeyDistributionMessage_GetChainKey: (obj: Wrapper) => Uint8Array, SenderKeyDistributionMessage_GetDistributionId: (obj: Wrapper) => Uuid, SenderKeyDistributionMessage_GetIteration: (obj: Wrapper) => number, SenderKeyDistributionMessage_New: (message_version: number, distribution_id: Uuid, chain_id: number, iteration: number, chainkey: Uint8Array, pk: Wrapper) => SenderKeyDistributionMessage, SenderKeyDistributionMessage_Process: (sender: Wrapper, sender_key_distribution_message: Wrapper, store: SenderKeyStore) => Promise, SenderKeyDistributionMessage_Serialize: (obj: Wrapper) => Uint8Array, SenderKeyMessage_Deserialize: (data: Uint8Array) => SenderKeyMessage, SenderKeyMessage_GetChainId: (obj: Wrapper) => number, SenderKeyMessage_GetCipherText: (obj: Wrapper) => Uint8Array, SenderKeyMessage_GetDistributionId: (obj: Wrapper) => Uuid, SenderKeyMessage_GetIteration: (obj: Wrapper) => number, SenderKeyMessage_New: (message_version: number, distribution_id: Uuid, chain_id: number, iteration: number, ciphertext: Uint8Array, pk: Wrapper) => SenderKeyMessage, SenderKeyMessage_Serialize: (obj: Wrapper) => Uint8Array, SenderKeyMessage_VerifySignature: (skm: Wrapper, pubkey: Wrapper) => boolean, SenderKeyRecord_Deserialize: (data: Uint8Array) => SenderKeyRecord, SenderKeyRecord_Serialize: (obj: Wrapper) => Uint8Array, ServerCertificate_Deserialize: (data: Uint8Array) => ServerCertificate, ServerCertificate_GetCertificate: (obj: Wrapper) => Uint8Array, ServerCertificate_GetKey: (obj: Wrapper) => PublicKey, ServerCertificate_GetKeyId: (obj: Wrapper) => number, ServerCertificate_GetSerialized: (obj: Wrapper) => Uint8Array, ServerCertificate_GetSignature: (obj: Wrapper) => Uint8Array, ServerCertificate_New: (key_id: number, server_key: Wrapper, trust_root: Wrapper) => ServerCertificate, ServerMessageAck_SendStatus: (ack: Wrapper, status: number) => void, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic: (server_public_params: Wrapper, randomness: Uint8Array, group_secret_params: Serialized, auth_credential_with_pni_bytes: Uint8Array) => Uint8Array, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic: (server_public_params: Wrapper, randomness: Uint8Array, group_secret_params: Serialized, profile_key_credential: Serialized) => Uint8Array, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic: (server_public_params: Wrapper, randomness: Uint8Array, user_id: Uint8Array, profile_key: Serialized) => Serialized, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic: (server_public_params: Wrapper, randomness: Uint8Array, receipt_credential: Serialized) => Serialized, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic: (server_public_params: Wrapper, randomness: Uint8Array, receipt_serial: Uint8Array) => Serialized, ServerPublicParams_Deserialize: (buffer: Uint8Array) => ServerPublicParams, ServerPublicParams_GetEndorsementPublicKey: (params: Wrapper) => Uint8Array, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId: (params: Wrapper, aci: Uint8Array, pni: Uint8Array, redemption_time: Timestamp, auth_credential_with_pni_response_bytes: Uint8Array) => Uint8Array, ServerPublicParams_ReceiveExpiringProfileKeyCredential: (server_public_params: Wrapper, request_context: Serialized, response: Serialized, current_time_in_seconds: Timestamp) => Serialized, ServerPublicParams_ReceiveReceiptCredential: (server_public_params: Wrapper, request_context: Serialized, response: Serialized) => Serialized, ServerPublicParams_Serialize: (handle: Wrapper) => Uint8Array, ServerPublicParams_VerifySignature: (server_public_params: Wrapper, message: Uint8Array, notary_signature: Uint8Array) => void, ServerSecretParams_Deserialize: (buffer: Uint8Array) => ServerSecretParams, ServerSecretParams_GenerateDeterministic: (randomness: Uint8Array) => ServerSecretParams, ServerSecretParams_GetPublicParams: (params: Wrapper) => ServerPublicParams, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic: (server_secret_params: Wrapper, randomness: Uint8Array, aci: Uint8Array, pni: Uint8Array, redemption_time: Timestamp) => Uint8Array, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic: (server_secret_params: Wrapper, randomness: Uint8Array, request: Serialized, user_id: Uint8Array, commitment: Serialized, expiration_in_seconds: Timestamp) => Serialized, ServerSecretParams_IssueReceiptCredentialDeterministic: (server_secret_params: Wrapper, randomness: Uint8Array, request: Serialized, receipt_expiration_time: Timestamp, receipt_level: bigint) => Serialized, ServerSecretParams_Serialize: (handle: Wrapper) => Uint8Array, ServerSecretParams_SignDeterministic: (params: Wrapper, randomness: Uint8Array, message: Uint8Array) => Uint8Array, ServerSecretParams_VerifyAuthCredentialPresentation: (server_secret_params: Wrapper, group_public_params: Serialized, presentation_bytes: Uint8Array, current_time_in_seconds: Timestamp) => void, ServerSecretParams_VerifyProfileKeyCredentialPresentation: (server_secret_params: Wrapper, group_public_params: Serialized, presentation_bytes: Uint8Array, current_time_in_seconds: Timestamp) => void, ServerSecretParams_VerifyReceiptCredentialPresentation: (server_secret_params: Wrapper, presentation: Serialized) => void, ServiceId_ParseFromServiceIdBinary: (input: Uint8Array) => Uint8Array, ServiceId_ParseFromServiceIdString: (input: string) => Uint8Array, ServiceId_ServiceIdBinary: (value: Uint8Array) => Uint8Array, ServiceId_ServiceIdLog: (value: Uint8Array) => string, ServiceId_ServiceIdString: (value: Uint8Array) => string, SessionBuilder_ProcessPreKeyBundle: (bundle: Wrapper, protocol_address: Wrapper, local_address: Wrapper, session_store: SessionStore, identity_key_store: IdentityKeyStore, now: Timestamp) => Promise, SessionCipher_DecryptPreKeySignalMessage: (message: Wrapper, protocol_address: Wrapper, local_address: Wrapper, session_store: SessionStore, identity_key_store: IdentityKeyStore, prekey_store: PreKeyStore, signed_prekey_store: SignedPreKeyStore, kyber_prekey_store: KyberPreKeyStore) => Promise>, SessionCipher_DecryptSignalMessage: (message: Wrapper, protocol_address: Wrapper, local_address: Wrapper, session_store: SessionStore, identity_key_store: IdentityKeyStore) => Promise>, SessionCipher_EncryptMessage: (ptext: Uint8Array, protocol_address: Wrapper, local_address: Wrapper, session_store: SessionStore, identity_key_store: IdentityKeyStore, now: Timestamp) => Promise, SessionRecord_ArchiveCurrentState: (session_record: Wrapper) => void, SessionRecord_CurrentRatchetKeyMatches: (s: Wrapper, key: Wrapper) => boolean, SessionRecord_Deserialize: (data: Uint8Array) => SessionRecord, SessionRecord_GetLocalRegistrationId: (obj: Wrapper) => number, SessionRecord_GetRemoteRegistrationId: (obj: Wrapper) => number, SessionRecord_HasUsableSenderChain: (s: Wrapper, require_pq_ratio: number, now: Timestamp) => boolean, SessionRecord_Serialize: (obj: Wrapper) => Uint8Array, SgxClientState_CompleteHandshake: (cli: Wrapper, handshake_received: Uint8Array) => void, SgxClientState_EstablishedRecv: (cli: Wrapper, received_ciphertext: Uint8Array) => Uint8Array, SgxClientState_EstablishedSend: (cli: Wrapper, plaintext_to_send: Uint8Array) => Uint8Array, SgxClientState_InitialRequest: (obj: Wrapper) => Uint8Array, SignalMedia_CheckAvailable: () => void, SignalMessage_Deserialize: (data: Uint8Array) => SignalMessage, SignalMessage_GetBody: (obj: Wrapper) => Uint8Array, SignalMessage_GetCounter: (obj: Wrapper) => number, SignalMessage_GetMessageVersion: (obj: Wrapper) => number, SignalMessage_GetPqRatchet: (msg: Wrapper) => Uint8Array, SignalMessage_GetSerialized: (obj: Wrapper) => Uint8Array, SignalMessage_New: (message_version: number, mac_key: Uint8Array, sender_ratchet_key: Wrapper, counter: number, previous_counter: number, ciphertext: Uint8Array, sender_identity_key: Wrapper, receiver_identity_key: Wrapper, pq_ratchet: Uint8Array) => SignalMessage, SignedPreKeyRecord_Deserialize: (data: Uint8Array) => SignedPreKeyRecord, SignedPreKeyRecord_GetId: (obj: Wrapper) => number, SignedPreKeyRecord_GetPrivateKey: (obj: Wrapper) => PrivateKey, SignedPreKeyRecord_GetPublicKey: (obj: Wrapper) => PublicKey, SignedPreKeyRecord_GetSignature: (obj: Wrapper) => Uint8Array, SignedPreKeyRecord_GetTimestamp: (obj: Wrapper) => Timestamp, SignedPreKeyRecord_New: (id: number, timestamp: Timestamp, pub_key: Wrapper, priv_key: Wrapper, signature: Uint8Array) => SignedPreKeyRecord, SignedPreKeyRecord_Serialize: (obj: Wrapper) => Uint8Array, Svr2Client_New: (mrenclave: Uint8Array, attestation_msg: Uint8Array, current_timestamp: Timestamp) => SgxClientState, Svr2_Delete: (asyncRuntime: Wrapper, connection_manager: Wrapper, username: string, password: string) => CancellablePromise, Svr2_FinishBackup: (asyncRuntime: Wrapper, session: Wrapper, connection_manager: Wrapper, username: string, password: string) => CancellablePromise, Svr2_Restore: (asyncRuntime: Wrapper, pin: Uint8Array, connection_manager: Wrapper, username: string, password: string) => CancellablePromise<[Uint8Array, number]>, Svr2_StartBackup: (asyncRuntime: Wrapper, pin: Uint8Array, data: Uint8Array, max_tries: number, connection_manager: Wrapper, username: string, password: string) => CancellablePromise, TESTING_BridgedStringMap_dump_to_json: (map: Wrapper) => string, TESTING_CdsiLookupErrorConvert: (error_description: string) => void, TESTING_CdsiLookupResponseConvert: (asyncRuntime: Wrapper) => CancellablePromise, TESTING_ChatConnectErrorConvert: (error_description: string) => void, TESTING_ChatRequestGetBody: (request: Wrapper) => Uint8Array, TESTING_ChatRequestGetHeaderNames: (request: Wrapper) => Array, TESTING_ChatRequestGetHeaderValue: (request: Wrapper, header_name: string) => string, TESTING_ChatRequestGetMethod: (request: Wrapper) => string, TESTING_ChatRequestGetPath: (request: Wrapper) => string, TESTING_ChatResponseConvert: (body_present: boolean) => ChatResponse, TESTING_ChatSendErrorConvert: (error_description: string) => void, TESTING_ConnectionManager_isUsingProxy: (manager: Wrapper) => number, TESTING_ConnectionManager_newLocalOverride: (userAgent: string, chatPort: number, cdsiPort: number, svr2Port: number, svrBPort: number, rootCertificateDer: Uint8Array, http_version: number) => ConnectionManager, TESTING_ConvertOptionalUuid: (present: boolean) => Uuid | null, TESTING_CreateOTP: (username: string, secret: Uint8Array) => string, TESTING_CreateOTPFromBase64: (username: string, secret: string) => string, TESTING_EnableDeterministicRngForTesting: () => void, TESTING_ErrorOnBorrowAsync: (_input: null) => Promise, TESTING_ErrorOnBorrowIo: (asyncRuntime: Wrapper, _input: null) => CancellablePromise, TESTING_ErrorOnBorrowSync: (_input: null) => void, TESTING_ErrorOnReturnAsync: (_needs_cleanup: null) => Promise, TESTING_ErrorOnReturnIo: (asyncRuntime: Wrapper, _needs_cleanup: null) => CancellablePromise, TESTING_ErrorOnReturnSync: (_needs_cleanup: null) => null, TESTING_FakeChatConnection_Create: (tokio: Wrapper, listener: ChatListener, grpc_overrides_joined_by_newlines: string, alerts_joined_by_newlines: string) => FakeChatConnection, TESTING_FakeChatConnection_CreateProvisioning: (tokio: Wrapper, listener: ProvisioningListener) => FakeChatConnection, TESTING_FakeChatConnection_TakeAuthenticatedChat: (chat: Wrapper) => AuthenticatedChatConnection, TESTING_FakeChatConnection_TakeProvisioningChat: (chat: Wrapper) => ProvisioningChatConnection, TESTING_FakeChatConnection_TakeRemote: (chat: Wrapper) => FakeChatRemoteEnd, TESTING_FakeChatConnection_TakeUnauthenticatedChat: (chat: Wrapper) => UnauthenticatedChatConnection, TESTING_FakeChatRemoteEnd_BinprotoToJson: (name: string, input: Uint8Array) => string, TESTING_FakeChatRemoteEnd_GrpcFrameForMessageLength: (len: number) => Uint8Array, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted: (chat: Wrapper) => void, TESTING_FakeChatRemoteEnd_JsonToBinproto: (name: string, input: string) => Uint8Array, TESTING_FakeChatRemoteEnd_NextGrpcMessage: (input: Uint8Array, offset: number) => [number, number], TESTING_FakeChatRemoteEnd_ReceiveIncomingGrpcRequest: (asyncRuntime: Wrapper, chat: Wrapper) => CancellablePromise<[HttpRequest, bigint] | null>, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest: (asyncRuntime: Wrapper, chat: Wrapper) => CancellablePromise<[HttpRequest, bigint] | null>, TESTING_FakeChatRemoteEnd_SendRawServerRequest: (chat: Wrapper, bytes: Uint8Array) => void, TESTING_FakeChatRemoteEnd_SendRawServerResponse: (chat: Wrapper, bytes: Uint8Array) => void, TESTING_FakeChatRemoteEnd_SendServerGrpcResponse: (asyncRuntime: Wrapper, chat: Wrapper, response: Wrapper) => CancellablePromise, TESTING_FakeChatRemoteEnd_SendServerResponse: (chat: Wrapper, response: Wrapper) => void, TESTING_FakeChatResponse_Create: (id: bigint, status: number, message: string, headers: Array, body: Uint8Array | null) => FakeChatResponse, TESTING_FakeChatServer_Create: () => FakeChatServer, TESTING_FakeChatServer_GetNextRemote: (asyncRuntime: Wrapper, server: Wrapper) => CancellablePromise, TESTING_FakeRegistrationSession_CreateSession: (asyncRuntime: Wrapper, create_session: RegistrationCreateSessionRequest, chat: Wrapper) => CancellablePromise, TESTING_FutureCancellationCounter_Create: (initial_value: number) => TestingFutureCancellationCounter, TESTING_FutureCancellationCounter_WaitForCount: (asyncRuntime: Wrapper, count: Wrapper, target: number) => CancellablePromise, TESTING_FutureFailure: (asyncRuntime: Wrapper, _input: number) => CancellablePromise, TESTING_FutureIncrementOnCancel: (asyncRuntime: Wrapper, _guard: TestingFutureCancellationGuard) => CancellablePromise, TESTING_FutureProducesOtherPointerType: (asyncRuntime: Wrapper, input: string) => CancellablePromise, TESTING_FutureProducesPointerType: (asyncRuntime: Wrapper, input: number) => CancellablePromise, TESTING_FutureSuccess: (asyncRuntime: Wrapper, input: number) => CancellablePromise, TESTING_InputStreamReadIntoZeroLengthSlice: (caps_alphabet_input: InputStream) => Promise>, TESTING_JoinStringArray: (array: Array, join_with: string) => string, TESTING_KeyTransChatSendError: () => void, TESTING_KeyTransFatalVerificationFailure: () => void, TESTING_KeyTransNonFatalVerificationFailure: () => void, TESTING_KeyTransStoredAccountData: () => Uint8Array, TESTING_MyRemoteDeriveEnum_identity: (x: ArgFfiMyRemoteDeriveEnum) => ReturnFfiMyRemoteDeriveEnum, TESTING_MyRemoteDeriveStruct_identity: (x: ArgFfiMyRemoteDeriveStruct) => ReturnFfiMyRemoteDeriveStruct, TESTING_MyTestEnum_identity: (x: ArgFfiMyTestEnum) => ReturnFfiMyTestEnum, TESTING_MyTestEnum_identity_async: (asyncRuntime: Wrapper, x: ArgFfiMyTestEnum) => CancellablePromise, TESTING_MyTestEnum_to_string: (x: ArgFfiMyTestEnum) => string, TESTING_MyTestPoint_identity: (x: ArgFfiMyTestPoint) => ReturnFfiMyTestPoint, TESTING_MyTestPoint_identity_async: (asyncRuntime: Wrapper, x: ArgFfiMyTestPoint) => CancellablePromise, TESTING_MyTestPoint_to_string: (x: ArgFfiMyTestPoint) => string, TESTING_MyTestStruct_identity: (x: ArgFfiMyTestStruct) => ReturnFfiMyTestStruct, TESTING_MyTestStruct_identity_async: (asyncRuntime: Wrapper, x: ArgFfiMyTestStruct) => CancellablePromise, TESTING_MyTestStruct_to_string: (x: ArgFfiMyTestStruct) => string, TESTING_NonSuspendingBackgroundThreadRuntime_New: () => NonSuspendingBackgroundThreadRuntime, TESTING_OtherTestingHandleType_getValue: (handle: Wrapper) => string, TESTING_PanicInBodyAsync: (_input: null) => Promise, TESTING_PanicInBodyIo: (asyncRuntime: Wrapper, _input: null) => CancellablePromise, TESTING_PanicInBodySync: (_input: null) => void, TESTING_PanicOnBorrowAsync: (_input: null) => Promise, TESTING_PanicOnBorrowIo: (asyncRuntime: Wrapper, _input: null) => CancellablePromise, TESTING_PanicOnBorrowSync: (_input: null) => void, TESTING_PanicOnLoadAsync: (_needs_cleanup: null, _input: null) => Promise, TESTING_PanicOnLoadIo: (asyncRuntime: Wrapper, _needs_cleanup: null, _input: null) => CancellablePromise, TESTING_PanicOnLoadSync: (_needs_cleanup: null, _input: null) => void, TESTING_PanicOnReturnAsync: (_needs_cleanup: null) => Promise, TESTING_PanicOnReturnIo: (asyncRuntime: Wrapper, _needs_cleanup: null) => CancellablePromise, TESTING_PanicOnReturnSync: (_needs_cleanup: null) => null, TESTING_ProcessBytestringArray: (input: Array>) => Array>, TESTING_RegisterAccountResponse_CreateTestValue: () => RegisterAccountResponse, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert: (error_description: string) => void, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert: () => CheckSvr2CredentialsResponse, TESTING_RegistrationService_CreateSessionErrorConvert: (error_description: string) => void, TESTING_RegistrationService_RegisterAccountErrorConvert: (error_description: string) => void, TESTING_RegistrationService_RequestVerificationCodeErrorConvert: (error_description: string) => void, TESTING_RegistrationService_ResumeSessionErrorConvert: (error_description: string) => void, TESTING_RegistrationService_SubmitVerificationErrorConvert: (error_description: string) => void, TESTING_RegistrationService_UpdateSessionErrorConvert: (error_description: string) => void, TESTING_RegistrationSessionInfoConvert: () => RegistrationSession, TESTING_ReturnPair: () => [number, string], TESTING_ReturnStringArray: () => Array, TESTING_RoundTripI32: (input: number) => number, TESTING_RoundTripU16: (input: number) => number, TESTING_RoundTripU32: (input: number) => number, TESTING_RoundTripU64: (input: bigint) => bigint, TESTING_RoundTripU8: (input: number) => number, TESTING_ServerMessageAck_Create: () => ServerMessageAck, TESTING_SignedPublicPreKey_CheckBridgesCorrectly: (source_public_key: Wrapper, signed_pre_key: SignedPublicPreKey) => void, TESTING_TestingHandleType_getValue: (handle: Wrapper) => number, TESTING_TestingIntBox_Get: (my_int_box: Wrapper) => number, TESTING_TestingIntBox_New: (value: number) => TestingIntBox, TESTING_TokioAsyncContext_FutureSuccessBytes: (asyncRuntime: Wrapper, count: number) => CancellablePromise>, TESTING_TokioAsyncContext_NewSingleThreaded: () => TokioAsyncContext, TESTING_TokioAsyncFuture: (asyncRuntime: Wrapper, input: number) => CancellablePromise, TESTING_conversion_Data_identity: (x: Uint8Array) => Uint8Array, TESTING_conversion_Data_identity_async: (asyncRuntime: Wrapper, x: Uint8Array) => CancellablePromise>, TESTING_conversion_Data_to_string: (x: Uint8Array) => string, TESTING_conversion_ServiceId_identity: (x: Uint8Array) => Uint8Array, TESTING_conversion_ServiceId_identity_async: (asyncRuntime: Wrapper, x: Uint8Array) => CancellablePromise>, TESTING_conversion_ServiceId_to_string: (x: Uint8Array) => string, TESTING_conversion_bool_identity: (x: boolean) => boolean, TESTING_conversion_bool_identity_async: (asyncRuntime: Wrapper, x: boolean) => CancellablePromise, TESTING_conversion_bool_to_string: (x: boolean) => string, TESTING_conversion_i32_identity: (x: number) => number, TESTING_conversion_i32_identity_async: (asyncRuntime: Wrapper, x: number) => CancellablePromise, TESTING_conversion_i32_to_string: (x: number) => string, TESTING_conversion_string_identity: (x: string) => string, TESTING_conversion_string_identity_async: (asyncRuntime: Wrapper, x: string) => CancellablePromise, TESTING_conversion_u16_identity: (x: number) => number, TESTING_conversion_u16_identity_async: (asyncRuntime: Wrapper, x: number) => CancellablePromise, TESTING_conversion_u16_to_string: (x: number) => string, TESTING_conversion_u8_identity: (x: number) => number, TESTING_conversion_u8_identity_async: (asyncRuntime: Wrapper, x: number) => CancellablePromise, TESTING_conversion_u8_to_string: (x: number) => string, TestingSemaphore_AddPermits: (semaphore: Wrapper, permits: number) => void, TestingSemaphore_New: (initial: number) => TestingSemaphore, TestingValueHolder_Get: (holder: Wrapper) => number, TestingValueHolder_New: (value: number) => TestingValueHolder, TokioAsyncContext_cancel: (context: Wrapper, raw_cancellation_id: bigint) => void, TokioAsyncContext_new: () => TokioAsyncContext, UnauthenticatedChatConnection_account_exists: (asyncRuntime: Wrapper, chat: Wrapper, account: Uint8Array) => CancellablePromise, UnauthenticatedChatConnection_backup_delete_all: (asyncRuntime: Wrapper, chat: Wrapper, credential: Uint8Array, server_keys: Uint8Array, signing_key: Wrapper, rng: RandomNumberGenerator) => CancellablePromise, UnauthenticatedChatConnection_backup_get_cdn_credentials: (asyncRuntime: Wrapper, chat: Wrapper, credential: Uint8Array, server_keys: Uint8Array, signing_key: Wrapper, cdn: number, rng: RandomNumberGenerator) => CancellablePromise<[[string, string]]>, UnauthenticatedChatConnection_backup_get_media_upload_form: (asyncRuntime: Wrapper, chat: Wrapper, credential: Uint8Array, server_keys: Uint8Array, signing_key: Wrapper, upload_size: bigint, rng: RandomNumberGenerator) => CancellablePromise, UnauthenticatedChatConnection_backup_get_svrb_credentials: (asyncRuntime: Wrapper, chat: Wrapper, credential: Uint8Array, server_keys: Uint8Array, signing_key: Wrapper, rng: RandomNumberGenerator) => CancellablePromise<[string, string]>, UnauthenticatedChatConnection_backup_get_upload_form: (asyncRuntime: Wrapper, chat: Wrapper, credential: Uint8Array, server_keys: Uint8Array, signing_key: Wrapper, upload_size: bigint, rng: RandomNumberGenerator) => CancellablePromise, UnauthenticatedChatConnection_backup_refresh: (asyncRuntime: Wrapper, chat: Wrapper, credential: Uint8Array, server_keys: Uint8Array, signing_key: Wrapper, rng: RandomNumberGenerator) => CancellablePromise, UnauthenticatedChatConnection_backup_set_public_key: (asyncRuntime: Wrapper, chat: Wrapper, credential: Uint8Array, server_keys: Uint8Array, signing_key: Wrapper, rng: RandomNumberGenerator) => CancellablePromise, UnauthenticatedChatConnection_connect: (asyncRuntime: Wrapper, connection_manager: Wrapper, languages: Array) => CancellablePromise, UnauthenticatedChatConnection_disconnect: (asyncRuntime: Wrapper, chat: Wrapper) => CancellablePromise, UnauthenticatedChatConnection_get_pre_keys_access_key_auth: (asyncRuntime: Wrapper, chat: Wrapper, auth: Uint8Array, target: Uint8Array, device: number) => CancellablePromise, UnauthenticatedChatConnection_get_pre_keys_group_auth: (asyncRuntime: Wrapper, chat: Wrapper, auth: Uint8Array, target: Uint8Array, device: number) => CancellablePromise, UnauthenticatedChatConnection_get_pre_keys_unrestricted_auth: (asyncRuntime: Wrapper, chat: Wrapper, target: Uint8Array, device: number) => CancellablePromise, UnauthenticatedChatConnection_info: (chat: Wrapper) => ChatConnectionInfo, UnauthenticatedChatConnection_init_listener: (chat: Wrapper, listener: ChatListener) => void, UnauthenticatedChatConnection_look_up_username_hash: (asyncRuntime: Wrapper, chat: Wrapper, hash: Uint8Array) => CancellablePromise, UnauthenticatedChatConnection_look_up_username_link: (asyncRuntime: Wrapper, chat: Wrapper, uuid: Uuid, entropy: Uint8Array) => CancellablePromise<[string, Uint8Array] | null>, UnauthenticatedChatConnection_send: (asyncRuntime: Wrapper, chat: Wrapper, http_request: Wrapper, timeout_millis: number) => CancellablePromise, UnauthenticatedChatConnection_send_message: (asyncRuntime: Wrapper, chat: Wrapper, destination: Uint8Array, timestamp: Timestamp, device_ids: Uint32Array, registration_ids: Uint32Array, contents: Array>, auth_kind: number, auth_buffer: Uint8Array | null, online_only: boolean, is_urgent: boolean) => CancellablePromise, UnauthenticatedChatConnection_send_multi_recipient_message: (asyncRuntime: Wrapper, chat: Wrapper, payload: Uint8Array, timestamp: Timestamp, auth: Uint8Array | null, online_only: boolean, is_urgent: boolean) => CancellablePromise>>, UnauthenticatedChatConnection_send_raw_grpc: (asyncRuntime: Wrapper, chat: Wrapper, service: string, method: string, payload: Uint8Array) => CancellablePromise>, UnidentifiedSenderMessageContent_Deserialize: (data: Uint8Array) => UnidentifiedSenderMessageContent, UnidentifiedSenderMessageContent_GetContentHint: (m: Wrapper) => number, UnidentifiedSenderMessageContent_GetContents: (obj: Wrapper) => Uint8Array, UnidentifiedSenderMessageContent_GetGroupId: (obj: Wrapper) => Uint8Array | null, UnidentifiedSenderMessageContent_GetMsgType: (m: Wrapper) => number, UnidentifiedSenderMessageContent_GetSenderCert: (m: Wrapper) => SenderCertificate, UnidentifiedSenderMessageContent_New: (message: Wrapper, sender: Wrapper, content_hint: number, group_id: Uint8Array | null) => UnidentifiedSenderMessageContent, UnidentifiedSenderMessageContent_Serialize: (obj: Wrapper) => Uint8Array, UsernameLink_Create: (username: string, entropy: Uint8Array | null) => Uint8Array, UsernameLink_DecryptUsername: (entropy: Uint8Array, encrypted_username: Uint8Array) => string, Username_CandidatesFrom: (nickname: string, min_len: number, max_len: number) => Array, Username_Hash: (username: string) => Uint8Array, Username_HashFromParts: (nickname: string, discriminator: string, min_len: number, max_len: number) => Uint8Array, Username_Proof: (username: string, randomness: Uint8Array) => Uint8Array, Username_Verify: (proof: Uint8Array, hash: Uint8Array) => void, UuidCiphertext_CheckValidContents: (buffer: Uint8Array) => void, ValidatingMac_Finalize: (mac: Wrapper) => number, ValidatingMac_Initialize: (key: Uint8Array, chunk_size: number, digests: Uint8Array) => ValidatingMac | null, ValidatingMac_Update: (mac: Wrapper, bytes: Uint8Array, offset: number, length: number) => number, WebpSanitizer_Sanitize: (input: SyncInputStream) => void, test_only_fn_returns_123: () => number, uuid_from_string: (string: string) => Uuid | null, uuid_new_v4: () => Uuid, uuid_to_string: (uuid: Uuid) => string; export { registerErrors, initLogger, AccountEntropyPool_DeriveBackupKey, AccountEntropyPool_DeriveSvrKey, AccountEntropyPool_Generate, AccountEntropyPool_IsValid, Aes256GcmSiv_Decrypt, Aes256GcmSiv_Encrypt, Aes256GcmSiv_New, AuthCredentialPresentation_CheckValidContents, AuthCredentialPresentation_GetPniCiphertext, AuthCredentialPresentation_GetRedemptionTime, AuthCredentialPresentation_GetUuidCiphertext, AuthCredentialWithPniResponse_CheckValidContents, AuthCredentialWithPni_CheckValidContents, AuthenticatedChatConnection_connect, AuthenticatedChatConnection_disconnect, AuthenticatedChatConnection_get_upload_form, AuthenticatedChatConnection_info, AuthenticatedChatConnection_init_listener, AuthenticatedChatConnection_preconnect, AuthenticatedChatConnection_send, AuthenticatedChatConnection_send_message, AuthenticatedChatConnection_send_raw_grpc, AuthenticatedChatConnection_send_sync_message, BackupAuthCredentialPresentation_CheckValidContents, BackupAuthCredentialPresentation_GetBackupId, BackupAuthCredentialPresentation_GetBackupLevel, BackupAuthCredentialPresentation_GetType, BackupAuthCredentialPresentation_Verify, BackupAuthCredentialRequestContext_CheckValidContents, BackupAuthCredentialRequestContext_GetRequest, BackupAuthCredentialRequestContext_New, BackupAuthCredentialRequestContext_ReceiveResponse, BackupAuthCredentialRequest_CheckValidContents, BackupAuthCredentialRequest_IssueDeterministic, BackupAuthCredentialResponse_CheckValidContents, BackupAuthCredential_CheckValidContents, BackupAuthCredential_GetBackupId, BackupAuthCredential_GetBackupLevel, BackupAuthCredential_GetType, BackupAuthCredential_PresentDeterministic, BackupJsonExporter_ExportFrames, BackupJsonExporter_Finish, BackupJsonExporter_GetInitialChunk, BackupJsonExporter_New, BackupKey_DeriveBackupId, BackupKey_DeriveEcKey, BackupKey_DeriveLocalBackupMetadataKey, BackupKey_DeriveMediaEncryptionKey, BackupKey_DeriveMediaId, BackupKey_DeriveThumbnailTransitEncryptionKey, BackupRestoreResponse_GetForwardSecrecyToken, BackupRestoreResponse_GetNextBackupSecretData, BackupStoreResponse_GetForwardSecrecyToken, BackupStoreResponse_GetNextBackupSecretData, BackupStoreResponse_GetOpaqueMetadata, BridgedStringMap_insert, BridgedStringMap_new, CallLinkAuthCredentialPresentation_CheckValidContents, CallLinkAuthCredentialPresentation_GetUserId, CallLinkAuthCredentialPresentation_Verify, CallLinkAuthCredentialResponse_CheckValidContents, CallLinkAuthCredentialResponse_IssueDeterministic, CallLinkAuthCredentialResponse_Receive, CallLinkAuthCredential_CheckValidContents, CallLinkAuthCredential_PresentDeterministic, CallLinkPublicParams_CheckValidContents, CallLinkSecretParams_CheckValidContents, CallLinkSecretParams_DecryptUserId, CallLinkSecretParams_DeriveFromRootKey, CallLinkSecretParams_EncryptUserId, CallLinkSecretParams_GetPublicParams, Cds2ClientState_New, CdsiLookup_complete, CdsiLookup_new, CdsiLookup_token, ChatConnectionInfo_description, ChatConnectionInfo_ip_version, ChatConnectionInfo_local_port, CiphertextMessage_FromPlaintextContent, CiphertextMessage_Serialize, CiphertextMessage_Type, ComparableBackup_GetComparableString, ComparableBackup_GetUnknownFields, ComparableBackup_ReadUnencrypted, ConnectionManager_clear_proxy, ConnectionManager_new, ConnectionManager_on_network_change, ConnectionManager_set_censorship_circumvention_enabled, ConnectionManager_set_invalid_proxy, ConnectionManager_set_ipv6_enabled, ConnectionManager_set_proxy, ConnectionManager_set_remote_config, ConnectionProxyConfig_new, CreateCallLinkCredentialPresentation_CheckValidContents, CreateCallLinkCredentialPresentation_Verify, CreateCallLinkCredentialRequestContext_CheckValidContents, CreateCallLinkCredentialRequestContext_GetRequest, CreateCallLinkCredentialRequestContext_NewDeterministic, CreateCallLinkCredentialRequestContext_ReceiveResponse, CreateCallLinkCredentialRequest_CheckValidContents, CreateCallLinkCredentialRequest_IssueDeterministic, CreateCallLinkCredentialResponse_CheckValidContents, CreateCallLinkCredential_CheckValidContents, CreateCallLinkCredential_PresentDeterministic, DecryptionErrorMessage_Deserialize, DecryptionErrorMessage_ExtractFromSerializedContent, DecryptionErrorMessage_ForOriginalMessage, DecryptionErrorMessage_GetDeviceId, DecryptionErrorMessage_GetRatchetKey, DecryptionErrorMessage_GetTimestamp, DecryptionErrorMessage_Serialize, ExpiringProfileKeyCredentialResponse_CheckValidContents, ExpiringProfileKeyCredential_CheckValidContents, ExpiringProfileKeyCredential_GetExpirationTime, Fingerprint_DisplayString, Fingerprint_New, Fingerprint_ScannableEncoding, GenericServerPublicParams_CheckValidContents, GenericServerSecretParams_CheckValidContents, GenericServerSecretParams_GenerateDeterministic, GenericServerSecretParams_GetPublicParams, GroupCipher_DecryptMessage, GroupCipher_EncryptMessage, GroupMasterKey_CheckValidContents, GroupPublicParams_CheckValidContents, GroupPublicParams_GetGroupIdentifier, GroupSecretParams_CheckValidContents, GroupSecretParams_DecryptBlobWithPadding, GroupSecretParams_DecryptProfileKey, GroupSecretParams_DecryptServiceId, GroupSecretParams_DeriveFromMasterKey, GroupSecretParams_EncryptBlobWithPaddingDeterministic, GroupSecretParams_EncryptProfileKey, GroupSecretParams_EncryptServiceId, GroupSecretParams_GenerateDeterministic, GroupSecretParams_GetMasterKey, GroupSecretParams_GetPublicParams, GroupSendDerivedKeyPair_CheckValidContents, GroupSendDerivedKeyPair_ForExpiration, GroupSendEndorsement_CallLinkParams_ToToken, GroupSendEndorsement_CheckValidContents, GroupSendEndorsement_Combine, GroupSendEndorsement_Remove, GroupSendEndorsement_ToToken, GroupSendEndorsementsResponse_CheckValidContents, GroupSendEndorsementsResponse_GetExpiration, GroupSendEndorsementsResponse_IssueDeterministic, GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts, GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds, GroupSendFullToken_CheckValidContents, GroupSendFullToken_GetExpiration, GroupSendFullToken_Verify, GroupSendToken_CheckValidContents, GroupSendToken_ToFullToken, HKDF_DeriveSecrets, HsmEnclaveClient_CompleteHandshake, HsmEnclaveClient_EstablishedRecv, HsmEnclaveClient_EstablishedSend, HsmEnclaveClient_InitialRequest, HsmEnclaveClient_New, HttpRequest_add_header, HttpRequest_new, IdentityKeyPair_Deserialize, IdentityKeyPair_Serialize, IdentityKeyPair_SignAlternateIdentity, IdentityKey_VerifyAlternateIdentity, IncrementalMac_CalculateChunkSize, IncrementalMac_Finalize, IncrementalMac_Initialize, IncrementalMac_Update, KeyTransparency_AciSearchKey, KeyTransparency_Check, KeyTransparency_E164SearchKey, KeyTransparency_ResetDataField, KeyTransparency_UsernameHashSearchKey, KyberKeyPair_Generate, KyberKeyPair_GetPublicKey, KyberKeyPair_GetSecretKey, KyberPreKeyRecord_Deserialize, KyberPreKeyRecord_GetId, KyberPreKeyRecord_GetKeyPair, KyberPreKeyRecord_GetPublicKey, KyberPreKeyRecord_GetSecretKey, KyberPreKeyRecord_GetSignature, KyberPreKeyRecord_GetTimestamp, KyberPreKeyRecord_New, KyberPreKeyRecord_Serialize, KyberPublicKey_Deserialize, KyberPublicKey_Equals, KyberPublicKey_Serialize, KyberSecretKey_Deserialize, KyberSecretKey_Serialize, LookupRequest_addAciAndAccessKey, LookupRequest_addE164, LookupRequest_addPreviousE164, LookupRequest_new, LookupRequest_setToken, MessageBackupKey_FromAccountEntropyPool, MessageBackupKey_FromBackupKeyAndBackupId, MessageBackupKey_GetAesKey, MessageBackupKey_GetHmacKey, MessageBackupValidator_Validate, MinidumpToJSONString, Mp4Sanitizer_Sanitize, OnlineBackupValidator_AddFrame, OnlineBackupValidator_Finalize, OnlineBackupValidator_New, PinHash_AccessKey, PinHash_EncryptionKey, PinHash_FromSalt, PinHash_FromUsernameMrenclave, Pin_LocalHash, Pin_VerifyLocalHash, PlaintextContent_Deserialize, PlaintextContent_FromDecryptionErrorMessage, PlaintextContent_GetBody, PlaintextContent_Serialize, PreKeyBundle_GetDeviceId, PreKeyBundle_GetIdentityKey, PreKeyBundle_GetKyberPreKeyId, PreKeyBundle_GetKyberPreKeyPublic, PreKeyBundle_GetKyberPreKeySignature, PreKeyBundle_GetPreKeyId, PreKeyBundle_GetPreKeyPublic, PreKeyBundle_GetRegistrationId, PreKeyBundle_GetSignedPreKeyId, PreKeyBundle_GetSignedPreKeyPublic, PreKeyBundle_GetSignedPreKeySignature, PreKeyBundle_New, PreKeyRecord_Deserialize, PreKeyRecord_GetId, PreKeyRecord_GetPrivateKey, PreKeyRecord_GetPublicKey, PreKeyRecord_New, PreKeyRecord_Serialize, PreKeySignalMessage_Deserialize, PreKeySignalMessage_GetPreKeyId, PreKeySignalMessage_GetRegistrationId, PreKeySignalMessage_GetSignedPreKeyId, PreKeySignalMessage_GetVersion, PreKeySignalMessage_New, PreKeySignalMessage_Serialize, PrivateKey_Agree, PrivateKey_Deserialize, PrivateKey_Generate, PrivateKey_GetPublicKey, PrivateKey_HpkeOpen, PrivateKey_Serialize, PrivateKey_Sign, ProfileKeyCiphertext_CheckValidContents, ProfileKeyCommitment_CheckValidContents, ProfileKeyCredentialPresentation_CheckValidContents, ProfileKeyCredentialPresentation_GetProfileKeyCiphertext, ProfileKeyCredentialPresentation_GetUuidCiphertext, ProfileKeyCredentialRequestContext_CheckValidContents, ProfileKeyCredentialRequestContext_GetRequest, ProfileKeyCredentialRequest_CheckValidContents, ProfileKey_CheckValidContents, ProfileKey_DeriveAccessKey, ProfileKey_GetCommitment, ProfileKey_GetProfileKeyVersion, ProtocolAddress_DeviceId, ProtocolAddress_Name, ProtocolAddress_New, ProvisioningChatConnection_connect, ProvisioningChatConnection_disconnect, ProvisioningChatConnection_info, ProvisioningChatConnection_init_listener, PublicKey_Deserialize, PublicKey_Equals, PublicKey_GetPublicKeyBytes, PublicKey_HpkeSeal, PublicKey_Serialize, PublicKey_Verify, ReceiptCredentialPresentation_CheckValidContents, ReceiptCredentialPresentation_GetReceiptExpirationTime, ReceiptCredentialPresentation_GetReceiptLevel, ReceiptCredentialPresentation_GetReceiptSerial, ReceiptCredentialRequestContext_CheckValidContents, ReceiptCredentialRequestContext_GetRequest, ReceiptCredentialRequest_CheckValidContents, ReceiptCredentialResponse_CheckValidContents, ReceiptCredential_CheckValidContents, ReceiptCredential_GetReceiptExpirationTime, ReceiptCredential_GetReceiptLevel, RegisterAccountRequest_Create, RegisterAccountRequest_SetAccountPassword, RegisterAccountRequest_SetIdentityPqLastResortPreKey, RegisterAccountRequest_SetIdentityPublicKey, RegisterAccountRequest_SetIdentitySignedPreKey, RegisterAccountRequest_SetSkipDeviceTransfer, RegisterAccountResponse_GetEntitlementBackupExpirationSeconds, RegisterAccountResponse_GetEntitlementBackupLevel, RegisterAccountResponse_GetEntitlementBadges, RegisterAccountResponse_GetIdentity, RegisterAccountResponse_GetNumber, RegisterAccountResponse_GetReregistration, RegisterAccountResponse_GetStorageCapable, RegisterAccountResponse_GetUsernameHash, RegisterAccountResponse_GetUsernameLinkHandle, RegistrationAccountAttributes_Create, RegistrationService_CheckSvr2Credentials, RegistrationService_CreateSession, RegistrationService_RegisterAccount, RegistrationService_RegistrationSession, RegistrationService_RequestVerificationCode, RegistrationService_ReregisterAccount, RegistrationService_ResumeSession, RegistrationService_SessionId, RegistrationService_SubmitCaptcha, RegistrationService_SubmitVerificationCode, RegistrationSession_GetAllowedToRequestCode, RegistrationSession_GetNextCallSeconds, RegistrationSession_GetNextSmsSeconds, RegistrationSession_GetNextVerificationAttemptSeconds, RegistrationSession_GetRequestedInformation, RegistrationSession_GetVerified, SanitizedMetadata_GetDataLen, SanitizedMetadata_GetDataOffset, SanitizedMetadata_GetMetadata, ScannableFingerprint_Compare, SealedSenderDecryptionResult_GetDeviceId, SealedSenderDecryptionResult_GetSenderE164, SealedSenderDecryptionResult_GetSenderUuid, SealedSenderDecryptionResult_Message, SealedSenderMultiRecipientMessage_Parse, SealedSender_DecryptMessage, SealedSender_DecryptToUsmc, SealedSender_Encrypt, SealedSender_MultiRecipientEncrypt, SealedSender_MultiRecipientMessageForSingleRecipient, SecureValueRecoveryForBackups_CreateNewBackupChain, SecureValueRecoveryForBackups_RemoveBackup, SecureValueRecoveryForBackups_RestoreBackupFromServer, SecureValueRecoveryForBackups_StoreBackup, SenderCertificate_Deserialize, SenderCertificate_GetCertificate, SenderCertificate_GetDeviceId, SenderCertificate_GetExpiration, SenderCertificate_GetKey, SenderCertificate_GetSenderE164, SenderCertificate_GetSenderUuid, SenderCertificate_GetSerialized, SenderCertificate_GetServerCertificate, SenderCertificate_GetSignature, SenderCertificate_New, SenderCertificate_Validate, SenderKeyDistributionMessage_Create, SenderKeyDistributionMessage_Deserialize, SenderKeyDistributionMessage_GetChainId, SenderKeyDistributionMessage_GetChainKey, SenderKeyDistributionMessage_GetDistributionId, SenderKeyDistributionMessage_GetIteration, SenderKeyDistributionMessage_New, SenderKeyDistributionMessage_Process, SenderKeyDistributionMessage_Serialize, SenderKeyMessage_Deserialize, SenderKeyMessage_GetChainId, SenderKeyMessage_GetCipherText, SenderKeyMessage_GetDistributionId, SenderKeyMessage_GetIteration, SenderKeyMessage_New, SenderKeyMessage_Serialize, SenderKeyMessage_VerifySignature, SenderKeyRecord_Deserialize, SenderKeyRecord_Serialize, ServerCertificate_Deserialize, ServerCertificate_GetCertificate, ServerCertificate_GetKey, ServerCertificate_GetKeyId, ServerCertificate_GetSerialized, ServerCertificate_GetSignature, ServerCertificate_New, ServerMessageAck_SendStatus, ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic, ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic, ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic, ServerPublicParams_CreateReceiptCredentialPresentationDeterministic, ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic, ServerPublicParams_Deserialize, ServerPublicParams_GetEndorsementPublicKey, ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId, ServerPublicParams_ReceiveExpiringProfileKeyCredential, ServerPublicParams_ReceiveReceiptCredential, ServerPublicParams_Serialize, ServerPublicParams_VerifySignature, ServerSecretParams_Deserialize, ServerSecretParams_GenerateDeterministic, ServerSecretParams_GetPublicParams, ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic, ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic, ServerSecretParams_IssueReceiptCredentialDeterministic, ServerSecretParams_Serialize, ServerSecretParams_SignDeterministic, ServerSecretParams_VerifyAuthCredentialPresentation, ServerSecretParams_VerifyProfileKeyCredentialPresentation, ServerSecretParams_VerifyReceiptCredentialPresentation, ServiceId_ParseFromServiceIdBinary, ServiceId_ParseFromServiceIdString, ServiceId_ServiceIdBinary, ServiceId_ServiceIdLog, ServiceId_ServiceIdString, SessionBuilder_ProcessPreKeyBundle, SessionCipher_DecryptPreKeySignalMessage, SessionCipher_DecryptSignalMessage, SessionCipher_EncryptMessage, SessionRecord_ArchiveCurrentState, SessionRecord_CurrentRatchetKeyMatches, SessionRecord_Deserialize, SessionRecord_GetLocalRegistrationId, SessionRecord_GetRemoteRegistrationId, SessionRecord_HasUsableSenderChain, SessionRecord_Serialize, SgxClientState_CompleteHandshake, SgxClientState_EstablishedRecv, SgxClientState_EstablishedSend, SgxClientState_InitialRequest, SignalMedia_CheckAvailable, SignalMessage_Deserialize, SignalMessage_GetBody, SignalMessage_GetCounter, SignalMessage_GetMessageVersion, SignalMessage_GetPqRatchet, SignalMessage_GetSerialized, SignalMessage_New, SignedPreKeyRecord_Deserialize, SignedPreKeyRecord_GetId, SignedPreKeyRecord_GetPrivateKey, SignedPreKeyRecord_GetPublicKey, SignedPreKeyRecord_GetSignature, SignedPreKeyRecord_GetTimestamp, SignedPreKeyRecord_New, SignedPreKeyRecord_Serialize, Svr2Client_New, Svr2_Delete, Svr2_FinishBackup, Svr2_Restore, Svr2_StartBackup, TESTING_BridgedStringMap_dump_to_json, TESTING_CdsiLookupErrorConvert, TESTING_CdsiLookupResponseConvert, TESTING_ChatConnectErrorConvert, TESTING_ChatRequestGetBody, TESTING_ChatRequestGetHeaderNames, TESTING_ChatRequestGetHeaderValue, TESTING_ChatRequestGetMethod, TESTING_ChatRequestGetPath, TESTING_ChatResponseConvert, TESTING_ChatSendErrorConvert, TESTING_ConnectionManager_isUsingProxy, TESTING_ConnectionManager_newLocalOverride, TESTING_ConvertOptionalUuid, TESTING_CreateOTP, TESTING_CreateOTPFromBase64, TESTING_EnableDeterministicRngForTesting, TESTING_ErrorOnBorrowAsync, TESTING_ErrorOnBorrowIo, TESTING_ErrorOnBorrowSync, TESTING_ErrorOnReturnAsync, TESTING_ErrorOnReturnIo, TESTING_ErrorOnReturnSync, TESTING_FakeChatConnection_Create, TESTING_FakeChatConnection_CreateProvisioning, TESTING_FakeChatConnection_TakeAuthenticatedChat, TESTING_FakeChatConnection_TakeProvisioningChat, TESTING_FakeChatConnection_TakeRemote, TESTING_FakeChatConnection_TakeUnauthenticatedChat, TESTING_FakeChatRemoteEnd_BinprotoToJson, TESTING_FakeChatRemoteEnd_GrpcFrameForMessageLength, TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted, TESTING_FakeChatRemoteEnd_JsonToBinproto, TESTING_FakeChatRemoteEnd_NextGrpcMessage, TESTING_FakeChatRemoteEnd_ReceiveIncomingGrpcRequest, TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest, TESTING_FakeChatRemoteEnd_SendRawServerRequest, TESTING_FakeChatRemoteEnd_SendRawServerResponse, TESTING_FakeChatRemoteEnd_SendServerGrpcResponse, TESTING_FakeChatRemoteEnd_SendServerResponse, TESTING_FakeChatResponse_Create, TESTING_FakeChatServer_Create, TESTING_FakeChatServer_GetNextRemote, TESTING_FakeRegistrationSession_CreateSession, TESTING_FutureCancellationCounter_Create, TESTING_FutureCancellationCounter_WaitForCount, TESTING_FutureFailure, TESTING_FutureIncrementOnCancel, TESTING_FutureProducesOtherPointerType, TESTING_FutureProducesPointerType, TESTING_FutureSuccess, TESTING_InputStreamReadIntoZeroLengthSlice, TESTING_JoinStringArray, TESTING_KeyTransChatSendError, TESTING_KeyTransFatalVerificationFailure, TESTING_KeyTransNonFatalVerificationFailure, TESTING_KeyTransStoredAccountData, TESTING_MyRemoteDeriveEnum_identity, TESTING_MyRemoteDeriveStruct_identity, TESTING_MyTestEnum_identity, TESTING_MyTestEnum_identity_async, TESTING_MyTestEnum_to_string, TESTING_MyTestPoint_identity, TESTING_MyTestPoint_identity_async, TESTING_MyTestPoint_to_string, TESTING_MyTestStruct_identity, TESTING_MyTestStruct_identity_async, TESTING_MyTestStruct_to_string, TESTING_NonSuspendingBackgroundThreadRuntime_New, TESTING_OtherTestingHandleType_getValue, TESTING_PanicInBodyAsync, TESTING_PanicInBodyIo, TESTING_PanicInBodySync, TESTING_PanicOnBorrowAsync, TESTING_PanicOnBorrowIo, TESTING_PanicOnBorrowSync, TESTING_PanicOnLoadAsync, TESTING_PanicOnLoadIo, TESTING_PanicOnLoadSync, TESTING_PanicOnReturnAsync, TESTING_PanicOnReturnIo, TESTING_PanicOnReturnSync, TESTING_ProcessBytestringArray, TESTING_RegisterAccountResponse_CreateTestValue, TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert, TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert, TESTING_RegistrationService_CreateSessionErrorConvert, TESTING_RegistrationService_RegisterAccountErrorConvert, TESTING_RegistrationService_RequestVerificationCodeErrorConvert, TESTING_RegistrationService_ResumeSessionErrorConvert, TESTING_RegistrationService_SubmitVerificationErrorConvert, TESTING_RegistrationService_UpdateSessionErrorConvert, TESTING_RegistrationSessionInfoConvert, TESTING_ReturnPair, TESTING_ReturnStringArray, TESTING_RoundTripI32, TESTING_RoundTripU16, TESTING_RoundTripU32, TESTING_RoundTripU64, TESTING_RoundTripU8, TESTING_ServerMessageAck_Create, TESTING_SignedPublicPreKey_CheckBridgesCorrectly, TESTING_TestingHandleType_getValue, TESTING_TestingIntBox_Get, TESTING_TestingIntBox_New, TESTING_TokioAsyncContext_FutureSuccessBytes, TESTING_TokioAsyncContext_NewSingleThreaded, TESTING_TokioAsyncFuture, TESTING_conversion_Data_identity, TESTING_conversion_Data_identity_async, TESTING_conversion_Data_to_string, TESTING_conversion_ServiceId_identity, TESTING_conversion_ServiceId_identity_async, TESTING_conversion_ServiceId_to_string, TESTING_conversion_bool_identity, TESTING_conversion_bool_identity_async, TESTING_conversion_bool_to_string, TESTING_conversion_i32_identity, TESTING_conversion_i32_identity_async, TESTING_conversion_i32_to_string, TESTING_conversion_string_identity, TESTING_conversion_string_identity_async, TESTING_conversion_u16_identity, TESTING_conversion_u16_identity_async, TESTING_conversion_u16_to_string, TESTING_conversion_u8_identity, TESTING_conversion_u8_identity_async, TESTING_conversion_u8_to_string, TestingSemaphore_AddPermits, TestingSemaphore_New, TestingValueHolder_Get, TestingValueHolder_New, TokioAsyncContext_cancel, TokioAsyncContext_new, UnauthenticatedChatConnection_account_exists, UnauthenticatedChatConnection_backup_delete_all, UnauthenticatedChatConnection_backup_get_cdn_credentials, UnauthenticatedChatConnection_backup_get_media_upload_form, UnauthenticatedChatConnection_backup_get_svrb_credentials, UnauthenticatedChatConnection_backup_get_upload_form, UnauthenticatedChatConnection_backup_refresh, UnauthenticatedChatConnection_backup_set_public_key, UnauthenticatedChatConnection_connect, UnauthenticatedChatConnection_disconnect, UnauthenticatedChatConnection_get_pre_keys_access_key_auth, UnauthenticatedChatConnection_get_pre_keys_group_auth, UnauthenticatedChatConnection_get_pre_keys_unrestricted_auth, UnauthenticatedChatConnection_info, UnauthenticatedChatConnection_init_listener, UnauthenticatedChatConnection_look_up_username_hash, UnauthenticatedChatConnection_look_up_username_link, UnauthenticatedChatConnection_send, UnauthenticatedChatConnection_send_message, UnauthenticatedChatConnection_send_multi_recipient_message, UnauthenticatedChatConnection_send_raw_grpc, UnidentifiedSenderMessageContent_Deserialize, UnidentifiedSenderMessageContent_GetContentHint, UnidentifiedSenderMessageContent_GetContents, UnidentifiedSenderMessageContent_GetGroupId, UnidentifiedSenderMessageContent_GetMsgType, UnidentifiedSenderMessageContent_GetSenderCert, UnidentifiedSenderMessageContent_New, UnidentifiedSenderMessageContent_Serialize, UsernameLink_Create, UsernameLink_DecryptUsername, Username_CandidatesFrom, Username_Hash, Username_HashFromParts, Username_Proof, Username_Verify, UuidCiphertext_CheckValidContents, ValidatingMac_Finalize, ValidatingMac_Initialize, ValidatingMac_Update, WebpSanitizer_Sanitize, test_only_fn_returns_123, uuid_from_string, uuid_new_v4, uuid_to_string, }; export type ChatListener = { receivedIncomingMessage: (envelope: Uint8Array, timestamp: Timestamp, ack: ServerMessageAck) => void; receivedQueueEmpty: () => void; receivedAlerts: (alerts: Array) => void; connectionInterrupted: (disconnectCause: Error | null) => void; }; export type IdentityKeyStore = { getLocalIdentityKeyPair: () => Promise<[PrivateKey, PublicKey]>; getLocalRegistrationId: () => Promise; getIdentityKey: (address: ProtocolAddress) => Promise; saveIdentityKey: (address: ProtocolAddress, publicKey: PublicKey) => Promise; isTrustedIdentity: (address: ProtocolAddress, publicKey: PublicKey, direction: number) => Promise; }; export type InputStream = { read: (amount: number) => Promise>; skip: (amount: bigint) => Promise; }; export type KyberPreKeyStore = { loadKyberPreKey: (id: number) => Promise; storeKyberPreKey: (id: number, record: KyberPreKeyRecord) => Promise; markKyberPreKeyUsed: (id: number, ecPrekeyId: number, baseKey: PublicKey) => Promise; }; export type PreKeyStore = { loadPreKey: (id: number) => Promise; storePreKey: (id: number, record: PreKeyRecord) => Promise; removePreKey: (id: number) => Promise; }; export type ProvisioningListener = { receivedAddress: (address: string, sendAck: ServerMessageAck) => void; receivedEnvelope: (envelope: Uint8Array, sendAck: ServerMessageAck) => void; connectionInterrupted: (disconnectCause: Error | null) => void; }; export type SenderKeyStore = { loadSenderKey: (sender: ProtocolAddress, distributionId: Uuid) => Promise; storeSenderKey: (sender: ProtocolAddress, distributionId: Uuid, record: SenderKeyRecord) => Promise; }; export type SessionStore = { loadSession: (address: ProtocolAddress) => Promise; storeSession: (address: ProtocolAddress, record: SessionRecord) => Promise; }; export type SignedPreKeyStore = { loadSignedPreKey: (id: number) => Promise; storeSignedPreKey: (id: number, record: SignedPreKeyRecord) => Promise; }; export interface Aes256GcmSiv { readonly __type: unique symbol; } export interface AuthenticatedChatConnection { readonly __type: unique symbol; } export interface BackupJsonExporter { readonly __type: unique symbol; } export interface BackupRestoreResponse { readonly __type: unique symbol; } export interface BackupStoreResponse { readonly __type: unique symbol; } export interface BridgedStringMap { readonly __type: unique symbol; } export interface CdsiLookup { readonly __type: unique symbol; } export interface ChatConnectionInfo { readonly __type: unique symbol; } export interface CiphertextMessage { readonly __type: unique symbol; } export interface ComparableBackup { readonly __type: unique symbol; } export interface ConnectionManager { readonly __type: unique symbol; } export interface ConnectionProxyConfig { readonly __type: unique symbol; } export interface DecryptionErrorMessage { readonly __type: unique symbol; } export interface ExpiringProfileKeyCredential { readonly __type: unique symbol; } export interface ExpiringProfileKeyCredentialResponse { readonly __type: unique symbol; } export interface FakeChatConnection { readonly __type: unique symbol; } export interface FakeChatRemoteEnd { readonly __type: unique symbol; } export interface FakeChatResponse { readonly __type: unique symbol; } export interface FakeChatServer { readonly __type: unique symbol; } export interface Fingerprint { readonly __type: unique symbol; } export interface GroupMasterKey { readonly __type: unique symbol; } export interface GroupPublicParams { readonly __type: unique symbol; } export interface GroupSecretParams { readonly __type: unique symbol; } export interface HsmEnclaveClient { readonly __type: unique symbol; } export interface HttpRequest { readonly __type: unique symbol; } export interface IncrementalMac { readonly __type: unique symbol; } export interface KyberKeyPair { readonly __type: unique symbol; } export interface KyberPreKeyRecord { readonly __type: unique symbol; } export interface KyberPublicKey { readonly __type: unique symbol; } export interface KyberSecretKey { readonly __type: unique symbol; } export interface LookupRequest { readonly __type: unique symbol; } export interface MessageBackupKey { readonly __type: unique symbol; } export interface NonSuspendingBackgroundThreadRuntime { readonly __type: unique symbol; } export interface OnlineBackupValidator { readonly __type: unique symbol; } export interface OtherTestingHandleType { readonly __type: unique symbol; } export interface PinHash { readonly __type: unique symbol; } export interface PlaintextContent { readonly __type: unique symbol; } export interface PreKeyBundle { readonly __type: unique symbol; } export interface PreKeyRecord { readonly __type: unique symbol; } export interface PreKeySignalMessage { readonly __type: unique symbol; } export interface PrivateKey { readonly __type: unique symbol; } export interface ProfileKey { readonly __type: unique symbol; } export interface ProfileKeyCiphertext { readonly __type: unique symbol; } export interface ProfileKeyCommitment { readonly __type: unique symbol; } export interface ProfileKeyCredentialRequest { readonly __type: unique symbol; } export interface ProfileKeyCredentialRequestContext { readonly __type: unique symbol; } export interface ProtocolAddress { readonly __type: unique symbol; } export interface ProvisioningChatConnection { readonly __type: unique symbol; } export interface PublicKey { readonly __type: unique symbol; } export interface ReceiptCredential { readonly __type: unique symbol; } export interface ReceiptCredentialPresentation { readonly __type: unique symbol; } export interface ReceiptCredentialRequest { readonly __type: unique symbol; } export interface ReceiptCredentialRequestContext { readonly __type: unique symbol; } export interface ReceiptCredentialResponse { readonly __type: unique symbol; } export interface RegisterAccountRequest { readonly __type: unique symbol; } export interface RegisterAccountResponse { readonly __type: unique symbol; } export interface RegistrationAccountAttributes { readonly __type: unique symbol; } export interface RegistrationService { readonly __type: unique symbol; } export interface RegistrationSession { readonly __type: unique symbol; } export interface SanitizedMetadata { readonly __type: unique symbol; } export interface SealedSenderDecryptionResult { readonly __type: unique symbol; } export interface SenderCertificate { readonly __type: unique symbol; } export interface SenderKeyDistributionMessage { readonly __type: unique symbol; } export interface SenderKeyMessage { readonly __type: unique symbol; } export interface SenderKeyRecord { readonly __type: unique symbol; } export interface ServerCertificate { readonly __type: unique symbol; } export interface ServerMessageAck { readonly __type: unique symbol; } export interface ServerPublicParams { readonly __type: unique symbol; } export interface ServerSecretParams { readonly __type: unique symbol; } export interface SessionRecord { readonly __type: unique symbol; } export interface SgxClientState { readonly __type: unique symbol; } export interface SignalMessage { readonly __type: unique symbol; } export interface SignedPreKeyRecord { readonly __type: unique symbol; } export interface Svr2BackupSession { readonly __type: unique symbol; } export interface TestingFutureCancellationCounter { readonly __type: unique symbol; } export interface TestingHandleType { readonly __type: unique symbol; } export interface TestingIntBox { readonly __type: unique symbol; } export interface TestingSemaphore { readonly __type: unique symbol; } export interface TestingValueHolder { readonly __type: unique symbol; } export interface TokioAsyncContext { readonly __type: unique symbol; } export interface UnauthenticatedChatConnection { readonly __type: unique symbol; } export interface UnidentifiedSenderMessageContent { readonly __type: unique symbol; } export interface UuidCiphertext { readonly __type: unique symbol; } export interface ValidatingMac { readonly __type: unique symbol; }