import { JWK } from 'node-jose'; export type JwkKey = string | { [key: string]: string | string[]; } | JWK.RawKey; export type KeyForm = 'json' | 'private' | 'pkcs8' | 'public' | 'spki' | 'pkix' | 'x509' | 'pem'; export declare function publicKeyToPem(key: JwkKey): Promise; export declare function privateKeyToPem(key: JwkKey): Promise;