import type { ComponentError, ComponentResult } from './types.js'; export type HashableComponents = Readonly>>; /** @internal Normalizes thrown values without trusting their property getters. */ export declare function normalizeError(error: unknown): ComponentError; /** Hashes a custom component map using libcreep's canonical SHA-256 format. */ export declare function hashComponents(components: HashableComponents): Promise; /** Formats component results for diagnostics and support reports. */ export declare function componentsToDebugString(components: Readonly>>): string; /** @internal Hashes arbitrary algorithm data using canonical SHA-256. */ export declare function hashValue(value: unknown): Promise;