import { type PromoteFailureDisposition, type PromoteFailureClassification } from '@origintrail-official/dkg-publisher'; export type ClassifiedPromoteError = (PromoteFailureDisposition | { classification: PromoteFailureClassification; retryable: boolean; diagnostic?: never; }) & { message?: string; }; export declare function safePromoteErrorIdentity(err: unknown, field: 'name' | 'code'): string | undefined; export declare function safePromoteRetryCauseCode(cause: unknown): string | undefined; /** * Map a promote error to a queue disposition. Unknown errors fail closed so an * operator can inspect and explicitly recover them. */ export declare function classifyPromoteError(err: unknown): ClassifiedPromoteError; //# sourceMappingURL=async-promote-error-classification.d.ts.map