export declare const ENTRY_VERSION: 1; export declare const EVENT_TYPE_TOOL_CALL: 1; export declare const EVENT_TYPE_TRANSACTION: 2; export declare const EVENT_TYPE_OBSERVATION: 3; export declare const EVENT_TYPE_DIRECTORY_ANCHOR: 4; export declare const EVENT_TYPE_ANNOTATION: 5; export declare const EVENT_TYPE_REVISION: 6; export declare const EVENT_TYPE_EXTENSION: 255; export declare const ENTRY_SIZE: 90; export interface EntryInput { /** SHA-256 hash of the JCS-canonical record, hex-encoded (64 chars) */ record_hash_hex: string; /** Raw 32-byte Ed25519 public key, base64url-encoded */ creator_key_b64url: string; /** context_id as 32 hex chars (16 bytes) */ context_id: string; /** Unix timestamp in milliseconds */ timestamp: number; /** event_type URI from the record (spec 1.2.4) */ event_type: string; } /** * Map an event_type URI to the byte slot used by the binary log entry (spec 2.3.1). * atrib normative URIs map to dedicated bytes; everything else maps to 0xFF (extension). */ export declare function eventTypeUriToByte(uri: string): number; /** * Serialize an attribution record into the 90-byte binary log entry format. * Pure function. deterministic given identical inputs. */ export declare function serializeEntry(input: EntryInput): Uint8Array; //# sourceMappingURL=entry.d.ts.map