import type { AuthoredStateSummary } from './authored-state-transaction.js'; import type { RuntimePromotionPreflightConflict, RuntimePromotionPreflightSelected } from './runtime-promotion-preflight.js'; import type { RuntimeAdoptionResult, RuntimeIdentityStrength } from '@opensip-cli/contracts'; export declare function promotionDuration(startedAt: number, now: () => number): number; export declare function proofStrength(preflight: Pick): RuntimeIdentityStrength | undefined; export declare function authoredResult(summary: AuthoredStateSummary | null): RuntimeAdoptionResult['authored']; export declare function conflictResult(conflict: RuntimePromotionPreflightConflict, startedAt: number, now: () => number): RuntimeAdoptionResult; export declare function busyResult(startedAt: number, now: () => number): RuntimeAdoptionResult; export declare function committedResult(input: { readonly preflight: RuntimePromotionPreflightSelected; readonly authored: AuthoredStateSummary | null; readonly cleanupPending: boolean; readonly startedAt: number; readonly now: () => number; }): RuntimeAdoptionResult; export declare function rolledBackResult(input: { readonly preflight: RuntimePromotionPreflightSelected; readonly authored: AuthoredStateSummary | null; readonly sourcePreserved: boolean; readonly cleanupPending: boolean; readonly startedAt: number; readonly now: () => number; }): RuntimeAdoptionResult; export declare function recoveryRequiredResult(input: { readonly preflight: RuntimePromotionPreflightSelected; readonly authored: AuthoredStateSummary | null; readonly sourcePreserved?: boolean; readonly startedAt: number; readonly now: () => number; }): RuntimeAdoptionResult; //# sourceMappingURL=runtime-promotion-result.d.ts.map