import type { PeerId } from "@libp2p/interface-peer-id"; import { IKeypair, KeypairType } from "./types"; export declare const ERR_TYPE_NOT_IMPLEMENTED = "Keypair type not implemented"; export * from "./types"; export * from "./secp256k1"; export declare function createKeypair(type: KeypairType, privateKey?: Uint8Array, publicKey?: Uint8Array): IKeypair; export declare function createPeerIdFromKeypair(keypair: IKeypair): Promise; export declare function createKeypairFromPeerId(peerId: PeerId): Promise;