import { type AcceptanceReport, type Currency } from "../acceptance/AcceptanceReport.js"; import { type DeploymentFingerprintDocument } from "../posture/DeploymentFingerprint.js"; import type { CliProcess } from "./CliProcess.js"; export declare const VERIFY_ACCEPTANCE_ARGUMENTS: { readonly valued: readonly ["key", "gateway"]; readonly flags: readonly ["current", "json"]; }; export interface AcceptanceVerification { readonly ok: boolean; /** Why it is not ok, as a code; null when it is. */ readonly code: string | null; readonly kid: string | null; readonly verdict: AcceptanceReport["verdict"] | null; readonly failures: AcceptanceReport["failures"]; readonly issued_at: string | null; readonly expires_at: string | null; readonly fingerprint: string | null; /** * `EXPIRED` once the date has passed; with a running gateway's fingerprint, * `CURRENT` or `STALE` too; null when unexpired and compared with nothing. */ readonly currency: Currency | null; } /** * The public key in a file: a bare Ed25519 JWK, or the JSON `agentsafe * identity --json` prints, whose `acceptance.public_jwk` it is. Null when the * file holds neither. */ export declare function publicKeyOf(text: string): Readonly> | null; /** A report's standing in one line. */ export declare function describeVerification(result: AcceptanceVerification): string; /** Checks a report's signature, shape and verdict, then its expiry and, given one, a running fingerprint. */ export declare function verifyAcceptance(token: string, publicJwk: Readonly>, now: number, running: { readonly digest: string; readonly document: DeploymentFingerprintDocument; } | null): Promise; export declare function runVerifyAcceptance(io: CliProcess, argv: readonly string[]): Promise; //# sourceMappingURL=VerifyAcceptance.d.ts.map