import { type PeerId, type PrivateKey } from "@libp2p/interface"; import { Ed25519Keypair, Ed25519PublicKey } from "./ed25519.js"; import { Secp256k1Keypair, Secp256k1PublicKey } from "./sepc256k1.js"; export declare const getKeypairFromPrivateKey: (privateKey: PrivateKey) => Ed25519Keypair | Secp256k1Keypair; export declare const getPublicKeyFromPeerId: (peerId: PeerId) => Ed25519PublicKey | Secp256k1PublicKey; //# sourceMappingURL=from.d.ts.map