use std::error::Error;
use p2panda_encryption::key_manager::PreKeyBundlesState;
pub trait KeySecretsStore {
type Error: Error;
fn get_prekey_secrets(
&self,
) -> impl Future<Output = Result<Option<PreKeyBundlesState>, Self::Error>>;
fn set_prekey_secrets(
&self,
state: &PreKeyBundlesState,
) -> impl Future<Output = Result<(), Self::Error>>;
}