import type { AuthoredStateSummary } from './authored-state-transaction.js'; import type { RuntimePromotionJournal } from './runtime-promotion-journal-schema.js'; import type { RuntimeAdoptionResult } from '@opensip-cli/contracts'; export declare function recoveryBusyResult(startedAt: number, now: () => number): RuntimeAdoptionResult; export declare function recoveryInputConflictResult(journal: RuntimePromotionJournal, startedAt: number, now: () => number): RuntimeAdoptionResult; export declare function recoveryRequiredFromJournal(input: { readonly journal?: RuntimePromotionJournal; readonly authored?: AuthoredStateSummary | null; readonly sourcePreserved?: boolean; readonly reasonCode?: 'operation-failed' | 'journal-malformed' | 'journal-oversize' | 'journal-key-mismatch' | 'journal-phase-invalid' | 'artifact-missing' | 'artifact-mismatch' | 'state-ambiguous' | 'rollback-incomplete'; readonly startedAt: number; readonly now: () => number; }): RuntimeAdoptionResult; interface RecoveredTerminalResultInput { readonly journal: RuntimePromotionJournal; readonly authored: AuthoredStateSummary | null; readonly cleanupPending: boolean; readonly startedAt: number; readonly now: () => number; } /** * Project a terminal recovery result from durable journal evidence. * * @throws {Error} When the supplied journal has no terminal evidence. */ export declare function recoveredTerminalResult(input: RecoveredTerminalResultInput): RuntimeAdoptionResult; export {}; //# sourceMappingURL=runtime-promotion-recovery-result.d.ts.map