import { type PromoteJob, type PromoteJobState } from '@origintrail-official/dkg-publisher'; import type { RequestContext } from './context.js'; export interface PromoteJobErrorView { code: string; message: string; retryable: boolean; } export interface PromoteJobView { jobId: string; state: PromoteJobState; contextGraphId: string; assertionName: string; subGraphName?: string; entities: readonly string[] | 'all'; enqueuedAt: string; updatedAt: string; startedAt?: string; finishedAt?: string; entitiesPromoted?: number; attempts: number; maxAttempts: number; nextRetryAt?: string; lastError?: PromoteJobErrorView; reason?: string; } export declare function promoteJobToView(job: PromoteJob): PromoteJobView; export declare function handleAssertionRoutes(ctx: RequestContext): Promise; //# sourceMappingURL=assertion.d.ts.map