import {PEMBlock} from './types'; interface PEMCryptEntry { encrypt(block: PEMBlock, name: string, passwd: string): PEMBlock; decrypt(block: PEMBlock, passwd: string): PEMBlock; } const pemcrypt = require('bcrypto/lib/encoding/pemcrypt'); export {pemcrypt};