import type { JWK } from 'jose' import type { Branded } from '../framework/types/branded.js' export type PrivateKey = Branded export type PublicKey = Branded export type SigningPublicKey = Branded export interface SigningKeypair { privateKey: PrivateKey publicKey: SigningPublicKey } export type EncryptionPublicKey = Branded export type EncryptionPrivateKey = Branded export interface EncryptionKeypair { privateKey: EncryptionPrivateKey publicKey: EncryptionPublicKey }