/**
* Standalone, self-verifying HTML for a sample receipt.
*
* The generated page embeds the receipt and, on load, re-derives the entry hash
* from the receipt's canonical JSON (SubtleCrypto SHA-256) and verifies the
* Ed25519 signature (SubtleCrypto Ed25519, where supported) — entirely
* in-browser, no network. If the browser lacks WebCrypto Ed25519, the hash
* chain is still checked and the page links to agentguard.run/verify with the
* receipt prefilled for signature verification.
*
* The in-browser canonicalJson MUST match src/decision-log.ts canonicalJson so
* the recomputed hash equals the signed entryHash.
*/
export interface SampleVerifierData {
flow: string;
version: string;
entry: {
sequence: number;
decision: unknown;
previousHash: string;
entryHash: string;
signature: string;
signerFingerprint: string;
};
publicKeyHex: string;
context: Record;
}
export declare function buildSampleVerifierHtml(data: SampleVerifierData): string;
//# sourceMappingURL=verifier-html.d.ts.map