/** * Crypto Utilities * Helper functions for crypto operations * * Ported from hawcx-wasm/core/crypto/utils.js */ import type { DeviceInfo } from "./types"; /** * Get device information (BUI and OS type) */ export declare function getDeviceInfo(): DeviceInfo; /** * Format algorithm string for info field */ export declare function formatAlgorithmString(dhAlgorithm: string, dhCurve: string, signAlgorithm: string): string; /** * Build info string for wrapping * Format: useragent + os + algorithm + version (no separator) */ export declare function buildInfoString(useragent: string, os: string, algorithm: string, version: string): string;