import type { PrehashAlgorithm } from './types.js'; export interface RunningHash { update(chunk: Uint8Array): void; finalize(): Uint8Array; dispose(): void; } export declare function sha256OneShot(msg: Uint8Array): Uint8Array; export declare function sha512OneShot(msg: Uint8Array): Uint8Array; export declare function createRunningHash(algo: PrehashAlgorithm): RunningHash;