/** * Canonical payload hashing shared with the Hub protocol. This deliberately * avoids Node's crypto/Buffer APIs so it can run in a React Native bundle. */ type NormalizedValue = null | boolean | number | string | NormalizedValue[] | { [key: string]: NormalizedValue; }; /** Normalises values before JCS serialization. `ancestors` is a stack, not a * global seen set: reusing the same object twice is not a circular reference. */ export declare function normalizeHubValue(value: unknown, ancestors?: Map, path?: string): NormalizedValue; export declare function jcsStringify(value: NormalizedValue): string; export interface HubPayloadHashInput { sessionId: string; sequence: number; timestamp: number; type: string; severity: string; data: unknown; } export declare function computeHubPayloadHash(event: HubPayloadHashInput): string; export {}; //# sourceMappingURL=hubCanonical.d.ts.map