import { ValidHashEncodings } from "./types"; declare class Sha256Hasher { private A; private B; private C; private D; private E; private F; private G; private H; private _byte; private _word; private _size; constructor(); update(data: Uint8Array): this; update(data: string): this; update(data: string, encoding: ValidHashEncodings): this; private _uint8; private _int32; digest(): Uint8Array; digest(encoding: ValidHashEncodings): string; private _bin; } declare function sha256Buffer(data: Uint8Array | Int8Array | Uint16Array | Int16Array | Uint32Array | Int32Array | BigUint64Array | BigInt64Array | ArrayBuffer, encoding?: ValidHashEncodings): Uint8Array | string; declare function sha256Hex(hexString: string, encoding?: ValidHashEncodings): string | Uint8Array; export { sha256Buffer, sha256Hex, Sha256Hasher, };