import type { RuntimeStageMaterializationIdentity } from './runtime-promotion-journal-controller-internal.js'; export declare const RUNTIME_STAGE_OWNERSHIP_FILE = ".opensip-init-runtime-stage-owner.json"; export type RuntimeStageOwnershipIdentity = RuntimeStageMaterializationIdentity; export type RuntimeStageOwnershipCheckpoint = 'after-marker-open' | 'after-marker-write' | 'after-marker-fsync'; export interface RuntimeStageOwnershipDependencies { readonly checkpoint?: (checkpoint: RuntimeStageOwnershipCheckpoint) => void; /** Reassert the held stage-root inode after every injected boundary. */ readonly assertRootStable?: () => void; } /** Canonical bounded bytes written as the first child of an owned runtime stage. */ export declare function encodeRuntimeStageOwnershipMarker(identity: RuntimeStageOwnershipIdentity): string; /** * Create the exact operation marker. The caller owns directory and parent * fsyncs so it can establish the complete stage-ownership durability barrier. */ export declare function createRuntimeStageOwnershipMarker(stageDir: string, identity: RuntimeStageOwnershipIdentity, dependencies?: RuntimeStageOwnershipDependencies): void; /** Verify exact marker bytes and stable single-link file identity without following links. */ export declare function assertRuntimeStageOwnershipMarker(stageDir: string, identity: RuntimeStageOwnershipIdentity): void; //# sourceMappingURL=runtime-stage-ownership.d.ts.map