import type { Algorithm } from 'jsonwebtoken'; import type { KeyType } from './constants'; import type { Realm } from '../realm'; export interface Key { id: string; /** * OCT, RSA or EC */ type: `${KeyType}`; /** * Algorithm for signing and verifying */ signature_algorithm: `${Exclude}`; /** * Usage priority. */ priority: number; /** * aka private key */ decryption_key?: string | null; /** * aka public key */ encryption_key: string | null; created_at: Date | string; updated_at: Date | string; realm_id: Realm['id']; realm: Realm; } //# sourceMappingURL=type.d.ts.map