import type { AtribRecord, DecodedToken } from './types.js'; /** * Encode a propagation token from a signed record (ยง1.5.2). * * record_hash = SHA-256(JCS(signed_record)). raw bytes, no "sha256:" prefix * creator_key = raw 32-byte Ed25519 public key decoded from the record */ export declare function encodeToken(record: AtribRecord): string; /** * Decode a propagation token into record_hash and creator_key bytes. * Returns null if the token is malformed. */ export declare function decodeToken(token: string): DecodedToken | null; //# sourceMappingURL=token.d.ts.map