/** * Cryptographic utilities for signing and verification */ import { KeyPair } from './types'; export declare class CryptoUtils { /** * Generate a new ECDSA key pair */ static generateKeyPair(): KeyPair; /** * Sign data with a private key using ECDSA */ static sign(data: string | object, privateKey: string): string; /** * Verify a signature using a public key */ static verify(data: string | object, signature: string, publicKey: string): boolean; /** * Get public key from private key */ static getPublicKey(privateKey: string): string; /** * Generate a hash of data */ static hash(data: string | object): string; /** * Generate a random ID */ static generateId(): string; /** * Create HMAC signature for API requests */ static createHmac(data: string, secret: string): string; /** * Verify HMAC signature */ static verifyHmac(data: string, signature: string, secret: string): boolean; } //# sourceMappingURL=crypto.d.ts.map