import type { Mandate, Revocation } from "./mandate.js"; export declare function writeMandate(m: Mandate): string; export declare function loadMandate(mandateId: string): Mandate; export declare function writeRevocation(r: Revocation): string; export declare function loadRevocation(path: string): Revocation; /** * Return the local revocation for a mandate id, or null if none is on disk. * * The expected on-disk name is `revocation_.json` in `revocationsDir()`, * where `` is the mandate id with its `mandate_` prefix stripped — this * matches what `writeRevocation` produces. */ export declare function findRevocation(mandateId: string): Revocation | null;