import type { Module } from './instantiate.js'; /** WASM exports used by the HMAC-SHA256 loader. @internal */ export type Exports = { hmac_sha256(key: number, keyLength: number, message: number, messageLength: number, out: number, scratch: number): void; zero(ptr: number, length: number): void; }; /** WASM exports used by incremental HMAC-SHA256 states. @internal */ export type StateExports = { hmac_sha256_finalize(state: number, out: number): void; hmac_sha256_init(state: number, key: number, keyLength: number): void; hmac_sha256_update(state: number, input: number, inputLength: number): void; zero(ptr: number, length: number): void; }; /** Calls HMAC-SHA256 and clears its complete linear-memory region. @internal */ export declare function hmacSha256(module: Module, key: Uint8Array, message: Uint8Array): Uint8Array; /** Creates an incremental HMAC-SHA256 state. @internal */ export declare function createHmacSha256(module: Module, key: Uint8Array): import("../Engine.js").HashState; //# sourceMappingURL=hash.d.ts.map