import { type PeerId } from "@libp2p/interface"; import { Ed25519Keypair, Ed25519PublicKey } from "./ed25519.js"; import { Keypair, PrivateEncryptionKey, PublicKeyEncryptionKey } from "./key.js"; export * from "./errors.js"; export declare class X25519PublicKey extends PublicKeyEncryptionKey { publicKey: Uint8Array; constructor(properties: { publicKey: Uint8Array; }); equals(other: PublicKeyEncryptionKey): boolean; toString(): string; static from(ed25119PublicKey: Ed25519PublicKey): Promise; static fromPeerId(peerId: PeerId): Promise; static create(): Promise; } export declare class X25519SecretKey extends PrivateEncryptionKey { secretKey: Uint8Array; constructor(properties: { secretKey: Uint8Array; }); equals(other: PublicKeyEncryptionKey): boolean; toString(): string; publicKey(): Promise; static from(ed25119Keypair: Ed25519Keypair): Promise; static create(): Promise; } export declare class X25519Keypair extends Keypair { publicKey: X25519PublicKey; secretKey: X25519SecretKey; constructor(properties: { publicKey: X25519PublicKey; secretKey: X25519SecretKey; }); static create(): Promise; static from(ed25119Keypair: Ed25519Keypair): Promise; equals(other: Keypair): boolean; } //# sourceMappingURL=x25519.d.ts.map