/** * A2A Verification Credential (TP-VC) — v0.3 * * Creates a self-describing, hash-signed Verification Credential * from a VerificationResult. The TP-VC can be passed between agents * and independently verified via verifyCredential(). */ import type { VerificationResult, TPVerificationCredential } from './types.js'; export interface AttestationOptions { /** The original claim text that was verified */ claim: string; /** Claim type classification */ type?: 'text' | 'code' | 'decision' | 'medical' | 'financial' | 'legal'; /** Optional external request ID for tracing */ requestId?: string; /** Whether this is a self-issued (unaudited) credential. Default: true */ unaudited?: boolean; } /** * Create a ThoughtProof Verification Credential (TP-VC) from a verification result. * * @param result - Output from verify() * @param options - Claim metadata and attestation settings * @returns A complete, hash-signed TP-VC * * @example * ```typescript * const result = await verify(output, { claim: "Earth is round", mode: "standard", providers: [...] }); * const vc = createAttestation(result, { claim: "Earth is round", type: "text" }); * // vc is a TP-VC — pass to another agent or store as audit trail * ``` */ export declare function createAttestation(result: VerificationResult, options: AttestationOptions): TPVerificationCredential; //# sourceMappingURL=attestation.d.ts.map