/// <reference types="node" resolution-mode="require"/>
export declare function getFormattedKeyPair({ pemPublicKey, pemPrivateKey, }: {
    pemPublicKey?: string;
    pemPrivateKey?: string;
}): Promise<{
    publicKey: string;
    privateKey: string;
}>;
export declare function getOrGenerateKeyPair(): Promise<{
    publicKey: string;
    privateKey: string;
}>;
export declare function generateKeyPair(): Promise<{
    publicKey: string;
    privateKey: CryptoKey;
}>;
export declare function getCrypto(): Promise<{
    crypto: Crypto;
    CryptoKey: {
        new (): CryptoKey;
        prototype: CryptoKey;
    };
} | {
    crypto: import("crypto").webcrypto.Crypto;
    CryptoKey: import("crypto").webcrypto.CryptoKeyConstructor;
}>;
export declare function privateAsPem(privateKey: CryptoKey): Promise<string>;
