/**
 * SHA-256 hashing layer on top of canonical.ts string payloads.
 *
 * Computes record IDs (content-addressed hex digests) and
 * signature payloads (raw UTF-8 bytes) for trust records.
 *
 * @module domain/trust/TrustCanonical
 * @see docs/specs/TRUST_CRYPTO_ALGORITHM.md
 */
import { type TrustRecordFields } from './canonical.ts';
import type CryptoPort from '../../ports/CryptoPort.ts';
type CryptoDeps = {
    readonly crypto?: CryptoPort;
};
/**
 * Computes the record ID (SHA-256 hex digest) for a trust record.
 */
declare function computeRecordId(record: TrustRecordFields, deps?: CryptoDeps): Promise<string>;
/**
 * Computes the signature payload as UTF-8 bytes.
 */
declare function computeSignaturePayload(record: TrustRecordFields): Uint8Array;
/**
 * Verifies that a record's recordId matches its content.
 */
declare function verifyRecordId(record: TrustRecordFields, deps?: CryptoDeps): Promise<boolean>;
export { computeRecordId, computeSignaturePayload, verifyRecordId };
