import type { ChainedEvent, Receipt, ReceiptBundle, Signature } from "./types.js"; export declare function signReceipt(receipt: Receipt, privateKeyPem: string, publicKeyPem: string, signer: Signature["signer"]): Receipt; export declare function verifyReceiptSignature(receipt: Receipt, signer: Signature["signer"], publicKeyPem: string): boolean; export type BundleVerification = { ok: boolean; problems: string[]; }; export type RunnerReceiptVerificationInput = { contract: ReceiptBundle["contract"]; receipt: Receipt; events: ChainedEvent[]; runnerPublicKeyPem: string; }; /** * Verify the runner-produced receipt against the signed contract and stored * event chain before any plane countersignature exists. This is the plane's * completion-time check and the core of offline bundle verification. */ export declare function verifyRunnerReceipt(input: RunnerReceiptVerificationInput): BundleVerification; export declare function verifyReceiptBundle(bundle: ReceiptBundle): BundleVerification;