import { KeyType } from '../models'; export declare const hex: { encode: (data: string) => string; }; export declare const sha256: (data: string) => string; /** * * @param key compressed or uncompressed public key or private key in hexadecimal format * @param keyType SECG standard curve name * @returns */ export declare const toPem: (key: string, keyType: KeyType) => string; export declare const privToPem: (key: string, alg: KeyType) => string;