import { type HistorCheck, type HistorOptions, type HistorQuery } from './histor.js'; export type SignedRevisionVerdict = { ok: true; match: 'same'; revision: number; logIndex: string; manifestDigest: string; } | { ok: false; reason: 'no_signed_revision' | 'digest_mismatch' | 'histor_error'; detail: string; check?: HistorCheck; }; export declare function supp06ManifestDigest(tools: readonly Record[]): string; export interface SignedRevisionQuery extends HistorQuery { tools: readonly Record[]; } /** * Ask HISTOR for the latest signed tip, compute the local SUPP-06 digest, compare. * Prefer the local digest over trusting HISTOR's match alone (client verifies). */ export declare function checkSignedRevision(query: SignedRevisionQuery, opts?: HistorOptions & { historUrl?: string; }): Promise; //# sourceMappingURL=signed-revision.d.ts.map