/** * Opacus Key Manager * Handles Ed25519 signing keys and X25519 encryption keys */ import { AgentIdentity } from '../types'; export declare class KeyManager { /** * Generate complete key pair (Ed25519 + X25519) */ static generateKeyPair(): Promise<{ signing: { pub: Uint8Array; priv: Uint8Array; }; encryption: { pub: Uint8Array; priv: Uint8Array; }; }>; /** * Generate Ed25519 key pair for signatures */ static generateEd25519(): Promise<{ pub: Uint8Array; priv: Uint8Array; }>; /** * Generate X25519 key pair for ECDH */ static generateX25519(): { pub: Uint8Array; priv: Uint8Array; }; /** * Generate full agent identity with both key pairs */ static generateFullIdentity(chainId?: number): Promise; /** * Convert bytes to hex string */ static toHex(bytes: Uint8Array): string; /** * Convert hex string to bytes */ static fromHex(hex: string): Uint8Array; /** * Export identity to JSON */ static exportIdentity(identity: AgentIdentity): string; /** * Import identity from JSON */ static importIdentity(json: string): AgentIdentity; } //# sourceMappingURL=keys.d.ts.map