import {DEKInfoStatic, PEMBlockStatic, ProcTypeStatic, PEMBlock} from './types'; export interface PemEntry { PEMBlock: PEMBlockStatic; ProcType: ProcTypeStatic; DEKInfo: DEKInfoStatic; encode(type: string, headers: Map, data: Buffer, armor?: boolean,): string; decode(str: string, armor?: boolean): Iterable; toPEM(data: Buffer, type: string, armor?: boolean): string; fromPEM(str: string, type: string, armor?: boolean): Buffer; } const pem = require("bcrypto/lib/encoding/pem"); export {pem};