export declare function randomNumber(range: number): number;
export declare function randomObject<T>(items: T[]): T;
/**
 * Returns the SHA-512 HMAC of `password` keyed by `salt`, hex-encoded.
 *
 * Async because backed by Web Crypto API. Replaces the previous
 * Node-crypto-backed sync implementation; existing callers must `await`.
 */
export declare function hashPasswordWithSalt(salt: string | Uint8Array | ArrayBuffer, password: string | Uint8Array | ArrayBuffer): Promise<string>;
//# sourceMappingURL=crypto-tools.d.ts.map