import type { ContextGraphReadinessProvenance } from '@origintrail-official/dkg-node-ui'; import type { CatchupJobResult } from './catchup-runner.js'; import { type ContextGraphPlaneEvidence, type ContextGraphReadinessPatch } from './context-graph-readiness-policy.js'; export interface ContextGraphPlaneReadinessVerdict { /** Compatibility/write-readiness: either persisted usable plane opens the graph. */ readonly writeReady: boolean; /** Catch-up completion: applicable VM plus SWM when the caller requested it. */ readonly requestedPlanesVerified: boolean; readonly missingRequestedDurable: boolean; readonly missingRequestedSharedMemory: boolean; } export declare function contextGraphPlaneReadinessVerdict(input: { durableVerified: boolean; sharedMemoryVerified: boolean; includeSharedMemory: boolean; registration?: 'unregistered'; }): ContextGraphPlaneReadinessVerdict; export interface DerivedCatchupReadiness { readonly statePatch: { readonly synced: boolean; readonly sharedMemorySynced: boolean; readonly metaSynced: true; readonly pendingMeta: false; }; readonly readinessPatch: ContextGraphReadinessPatch; readonly eventPayload?: { readonly dataSynced: number; readonly sharedMemorySynced: number; readonly verifiedPrivateOnlyResponses: number; }; readonly planeReadiness: ContextGraphPlaneReadinessVerdict; readonly madeIncompleteProgress: boolean; readonly sharedMemoryVerified: boolean; } /** Derive sticky readiness independently from the foreground job's terminal status. */ export declare function deriveCatchupReadiness(input: { result: CatchupJobResult; includeSharedMemory: boolean; isPrivate: boolean; registration?: 'unregistered'; readinessBeforeCatchup: ContextGraphReadinessProvenance; cleanPeerEvidence: boolean; independentDurable: ContextGraphPlaneEvidence; independentSharedMemory: ContextGraphPlaneEvidence; }): DerivedCatchupReadiness; //# sourceMappingURL=context-graph-catchup-readiness-classification.d.ts.map