import { type StableAuthoredRoot } from './authored-state-transaction-fs.js'; import { type AuthoredTargetMutationHooks } from './authored-state-transaction-target-fs.js'; import type { AuthoredArtifactPaths, AuthoredBlobAvailability, AuthoredStateSummary } from './authored-state-transaction-types.js'; import type { AuthoredReplayManifest, InitAuthoredMutation } from './init-authored-plan.js'; import type { RuntimePromotionJournal } from './runtime-promotion-journal-schema.js'; /** * The manifest remains in canonical path order. This derived order is also * canonical, but adds the filesystem dependencies required for type changes: * directory destinations before children and removed directories afterward. */ export declare function authoredExecutionOrder(manifest: AuthoredReplayManifest): readonly InitAuthoredMutation[]; export declare function executionIndex(order: readonly InitAuthoredMutation[]): ReadonlyMap; export declare function authoredBlobAvailability(journal: RuntimePromotionJournal, order: readonly InitAuthoredMutation[]): AuthoredBlobAvailability; export declare function summarizeAuthoredState(manifest: AuthoredReplayManifest, journal: RuntimePromotionJournal, verified: boolean): AuthoredStateSummary; export declare function reconcileAuthoredMutation(root: StableAuthoredRoot, mutation: InitAuthoredMutation, paths: AuthoredArtifactPaths, direction: 'commit' | 'rollback', pending: boolean, hooks?: AuthoredTargetMutationHooks): 'applied' | 'already-satisfied'; export declare function verifyEveryAuthoredTarget(root: StableAuthoredRoot, manifest: AuthoredReplayManifest, state: 'desired' | 'preimage'): void; //# sourceMappingURL=authored-state-transaction-execution.d.ts.map