/** * An executor's terminal refusal (#1184): what a handler RETURNS to refuse an event for good. * * Its own module so the journal's spelling of a refusal has one home that both the adapters * (which write it) and the kernel's reads (which recognise it) import, with no cycle. */ declare const REFUSAL: unique symbol; /** What an executor returns to refuse an event terminally (#1184). Build it with `refuseDelivery`. */ export interface DeliveryRefusal { readonly [REFUSAL]: true; readonly reason: string; } /** Refuse this delivery for good: journaled terminal with `reason`, never retried (#1184). */ export declare function refuseDelivery(reason: string): DeliveryRefusal; /** Whether a handler's result is a refusal. The adapters' one test for it. */ export declare function isDeliveryRefusal(value: unknown): value is DeliveryRefusal; /** The journal text a refusal is recorded under — one spelling, so a reader can match it. */ export declare const REFUSAL_JOURNAL_PREFIX = "refused: "; export declare const refusalJournalText: (refusal: DeliveryRefusal) => string; export {}; //# sourceMappingURL=delivery-refusal.d.ts.map