import { AppSyncClient } from '../appsync/appsync-client'; import { Logger } from '../logger'; /** * Register the current device's ECDH public key with the backend. * * Fetches the device identity from the local keychain (creating a new * ECDH keypair if one doesn't exist), then calls the `registerDeviceKey` * mutation to publish the public half. * * @param appSyncClient Authenticated AppSyncClient. * @param logger Plugin-specific logger so log lines are tagged correctly. */ export declare function registerDeviceEncryptionKey(appSyncClient: AppSyncClient, logger: Logger): Promise;