/** * @motebit/verifier — Apache-2.0 permissive-floor library for verifying every * signed Motebit artifact. * * The moat: anything a motebit signs (identity file, execution receipt, * credential, presentation) is third-party verifiable with only this * package and the signer's public key — no relay contact, no motebit * runtime, no network. This module is the smallest public library * surface of that promise. * * Library-only as of v1.0. The `motebit-verify` CLI moved to the * Apache-2.0 `@motebit/verify` package, which layers bundled * hardware-attestation adapters (Apple App Attest, Android Keystore, * TPM 2.0, WebAuthn) on top of this library. The split mirrors * long-lived tool lineages like `npm` / `@npmcli/arborist`: library * underneath, verb-named CLI on top. Third parties building * permissive-floor-only verifiers compose this package and * `@motebit/crypto` freely — Apache-2.0 carries an explicit patent grant. * * Composition: * * - `verifyFile(path, opts?)` — read an artifact off disk, detect its * kind, return the typed `VerifyResult` from `@motebit/crypto`. * - `verifyArtifact(content, opts?)` — same, but accept the artifact * already-loaded (string for identity, object or JSON string for * JSON artifacts). * - `formatHuman(result)` — render a `VerifyResult` as the * multi-line human-readable output a CLI would print. * - `VerifyFileOptions.hardwareAttestation` — optional injection of * platform-specific verifiers for `device_check` / `tpm` / * `play_integrity` / `webauthn` claims. Permissive-floor consumers can * supply their own; `@motebit/verify` wires the canonical bundle. */ export { verifyFile, verifyArtifact, verifySkillDirectory, formatHuman } from "./lib.js"; export type { VerifyFileOptions, VerifyResultWithBinding } from "./lib.js"; export { verifyApprovalDecision } from "@motebit/crypto"; export { verifyDelegation, verifyStandingDelegation, verifyTokenAgainstGrant, verifyDelegationRevocation, findGrantRevocation, subjectBindingDigest, verifySubjectBinding, } from "@motebit/crypto"; export { signRequestEnvelope, verifyRequestEnvelope } from "@motebit/crypto"; export type { SignedRequestEnvelope } from "@motebit/crypto"; export { executionReceiptDigest, costAttestationDigest, verifyCostAttestation, verifyInvoice, } from "@motebit/crypto"; export { verifyWithdrawalReceipt } from "@motebit/crypto"; export type { WithdrawalReceiptPayload } from "@motebit/protocol"; export type { CostAttestationV1, InvoiceV1, CostAttestationVerdict, InvoiceVerdict, } from "@motebit/crypto"; export type { VerifyResult, ArtifactType, SkillVerifyResult, SkillFileVerifyResult, ApprovalDecision, DelegationToken, StandingDelegation, DelegationRevocation, SubjectBindingV1, } from "@motebit/crypto"; export type { VerificationVerdict, VerdictSubject, IntegrityVerdict, IdentityBindingVerdict, AuthorityVerdict, RevocationStatus, RevocationVerdict, RevocationFreshness, TemporalBasis, EvidenceRef, RepairInstruction, } from "@motebit/crypto"; export type { EvidenceProvenance, EvidenceProvenanceResult, DigestRef, DigestAlgorithm, ProjectionClass, } from "@motebit/crypto"; export { verifyReceiptVerdict, verifyDelegationTokenVerdict, isFullyVerified, } from "@motebit/crypto"; export { verifyEvidenceProvenance } from "@motebit/crypto"; export { verifySovereignBinding, verifyKeySuccession, verifySuccessionChain, verifyBondCommitment, verifyMerkleInclusion, } from "@motebit/crypto"; export { signEvalAttestation, verifyEvalAttestation, EVAL_ATTESTATION_SUITE, } from "@motebit/crypto"; export type { VerifyEvalAttestationResult } from "@motebit/crypto"; export type { EvalAttestation, EvalResult, EvalKind } from "@motebit/protocol"; export { signRoutingTranscript, verifyRoutingTranscript, ROUTING_TRANSCRIPT_SUITE, } from "@motebit/crypto"; export type { VerifyRoutingTranscriptResult } from "@motebit/crypto"; export type { RoutingDecisionTranscript, TranscriptCandidate } from "@motebit/protocol"; //# sourceMappingURL=index.d.ts.map