package com.peachpasswords.sync /** * Transport-neutral session consumed by the sync coordinator. * * Live reconnect transports use Noise KK, so both locally-paired static keys * are authenticated before this session reaches the coordinator. */ data class SyncSession( val remoteStaticPublicKey: ByteArray, val send: suspend (ByteArray) -> Unit, val receive: suspend () -> ByteArray, val close: suspend () -> Unit, )