import type { RuntimePromotionArtifactMarker, RuntimePromotionPathClassification } from './runtime-promotion-filesystem-types.js'; import type { BigIntStats } from 'node:fs'; export interface PromotionEntryIdentity { readonly dev: bigint; readonly ino: bigint; readonly uid: bigint; readonly mode: bigint; readonly nlink: bigint; readonly size: bigint; readonly mtimeNs: bigint; readonly ctimeNs: bigint; } /** @throws {SystemError} Always; constructs the canonical runtime-promotion filesystem failure. */ export declare function runtimePromotionFilesystemFailure(message: string, cause?: unknown): never; export declare function promotionCurrentUid(): bigint | undefined; export declare function promotionIdentityOf(stat: BigIntStats): PromotionEntryIdentity; export declare function samePromotionEntryIdentity(left: PromotionEntryIdentity, right: PromotionEntryIdentity): boolean; export declare function samePromotionDirectoryAuthority(left: PromotionEntryIdentity, right: PromotionEntryIdentity): boolean; export declare function samePromotionDirectoryObject(left: PromotionEntryIdentity, right: PromotionEntryIdentity): boolean; export declare function capturePromotionPathIdentity(path: string, description: string): PromotionEntryIdentity; export declare function assertPromotionPathIdentity(path: string, expected: PromotionEntryIdentity, description: string): void; export declare function assertPromotionDirectoryObjectIdentity(path: string, expected: PromotionEntryIdentity, description: string): void; export declare function assertPromotionCurrentOwner(stat: BigIntStats, description: string): void; export declare function assertSafePromotionDirectory(stat: BigIntStats, description: string): void; export declare function classifyRuntimePromotionPath(path: string): RuntimePromotionPathClassification; export declare function capturePromotionRootIdentity(path: string): NonNullable; export declare function assertPromotionRootIdentity(path: string, expected: NonNullable): void; //# sourceMappingURL=runtime-promotion-filesystem-identity.d.ts.map