import type { AtribRecord } from './types.js'; /** * Produce the canonical signing input for an attribution record (§1.3). * Removes the `signature` field, applies JCS serialization, returns UTF-8 bytes. */ export declare function canonicalSigningInput(record: AtribRecord): Uint8Array; /** * Produce the canonical form of a signed record (for hashing). * Includes the signature field. */ export declare function canonicalRecord(record: AtribRecord): Uint8Array; /** * Cross-attestation canonical signing input per spec §1.7.6 (D052). * * Each entry in a transaction record's `signers` array signs over the * SAME bytes: the JCS serialization of the record with `signers` set to * `[]` (empty array) and the top-level `signature` field omitted. This * ensures all signers commit to identical content; verifiers reproduce * these bytes once and check each signer's signature against them. * * Use only on transaction records (event_type = * https://atrib.dev/v1/types/transaction). On other event types, the * standard `canonicalSigningInput` applies. */ export declare function canonicalCrossAttestationInput(record: AtribRecord): Uint8Array; //# sourceMappingURL=canon.d.ts.map