import CryptoPort from '../../ports/CryptoPort.ts';
/**
 * Node.js crypto adapter implementing CryptoPort.
 *
 * This is the only file that imports node:crypto.
 */
export default class NodeCryptoAdapter extends CryptoPort {
    /**
     * Computes a hex-encoded digest of the given data using Node's crypto module.
     */
    hash(algorithm: string, data: string | Uint8Array): Promise<string>;
    /**
     * Computes an HMAC signature for the given data using Node's crypto module.
     */
    hmac(algorithm: string, key: string | Uint8Array, data: string | Uint8Array): Promise<Uint8Array>;
    /**
     * Performs constant-time comparison of two byte arrays using Node's native implementation.
     */
    timingSafeEqual(a: Uint8Array, b: Uint8Array): boolean;
}
