/** * Whitepaper §4.5 — Normalization + Commitment Preparation. */ import type { LemmaClient } from "@lemmaoracle/spec"; import type { Json } from "./internal.js"; import { type PrepareOutput } from "./commitments.js"; export type PrepareInput = Readonly<{ schema: string; payload: Raw; }>; /** * Normalize a credential payload and compute its Poseidon Merkle commitment. * * This function performs no network I/O. It is a pure local operation: * schema lookup, normalization, and in-memory Poseidon commitment. The * `_client` parameter is accepted for forward-compatibility of the public * signature and is not read; it is retained so future versions may add * client-bound behavior without a breaking change. * * Whitepaper §4.5. */ export declare const prepare: (_client: LemmaClient, input: PrepareInput) => Promise>; /** * Normalize a credential without computing a Merkle-tree commitment. * * Lightweight alternative to `prepare` that returns only the normalized data. * Use this when you need to apply a custom commitment scheme (e.g. the * sectioned Poseidon commitment in `@lemmaoracle/agent`). * * `prepare` is equivalent to `normalize` + `commit`. * * This function performs no network I/O; it is a pure local normalization. * The `_client` parameter is accepted for forward-compatibility of the public * signature and is not read; it is retained so future versions may add * client-bound behavior without a breaking change. */ export declare const normalize: (_client: LemmaClient, input: PrepareInput) => Promise; //# sourceMappingURL=prepare.d.ts.map