import { ByteArray } from '../types.js'; export interface Cipher { encrypt(data: ByteArray): Promise; decrypt(data: ByteArray): Promise; }