import type { CatchupJobResult } from '../catchup-runner.js'; import type { Rfc64SelectedSwmGraphSyncStatus } from '@origintrail-official/dkg-agent'; import { type CatchupContextGraphIdentity, type CatchupJobState, type CatchupStatusResponse } from '../catchup-status.js'; export type { CatchupJobState } from '../catchup-status.js'; export interface CatchupJob { jobId: string; contextGraphId: string; includeWorkspace: boolean; status: CatchupJobState; queuedAt: number; startedAt?: number; finishedAt?: number; result?: CatchupJobResult; error?: string; /** Current registration applicability, not sticky VM verification. */ durablePlane?: 'required' | 'not-applicable'; /** The verified cleartext id the job continued under (name-hash requests). */ resolvedContextGraphId?: string; } export interface CatchupTracker { jobs: Map; latestByContextGraph: Map; } export type CatchupGraphSyncStatus = Rfc64SelectedSwmGraphSyncStatus; export declare function toCatchupStatusResponse(job: CatchupJob, graphSync?: CatchupGraphSyncStatus, identity?: CatchupContextGraphIdentity | null): CatchupStatusResponse; //# sourceMappingURL=types.d.ts.map