/** * `agentguard sample --flow ` * * Generates a realistic, REAL-signed sample receipt for the named flow and * writes a self-contained, self-verifying artifact: * - receipt.json the signed entry + public key + flow context * - verify.html a standalone page that re-checks the hash chain and (where * the browser supports WebCrypto Ed25519) the signature, fully * in-browser with NO network calls; otherwise it links to * agentguard.run/verify with the receipt prefilled. * * Purpose: hand a prospect "exactly what your counterparty would get." * Additive only — no existing behavior changes. */ import { type SampleFlow } from '../samples/flows'; export declare function runSample(argv: string[]): Promise; export interface SampleArtifact { receiptJson: { kind: 'agentguard-sample-receipt'; flow: SampleFlow; version: string; entry: { sequence: number; decision: unknown; previousHash: string; entryHash: string; signature: string; signerFingerprint: string; }; publicKeyHex: string; context: Record; }; html: string; } /** * Build the signed sample artifact for a flow. When `deterministic`, a fixed * seed is used so the entry is byte-reproducible (handy for tests). Otherwise a * fresh random keypair produces a genuinely unique signature per run. */ export declare function generateSampleArtifact(flow: SampleFlow, options?: { deterministic?: boolean; }): Promise; //# sourceMappingURL=sample.d.ts.map