/** Filesystem shape captured during rescue classification. */ export type RescuePathKind = "missing" | "file" | "directory" | "symlink" | "other"; /** Raised when a path changes shape between read-only classification and apply. */ export declare class RescuePathChangedError extends Error { readonly rel: string; readonly expected: RescuePathKind; readonly actual: RescuePathKind; constructor(rel: string, expected: RescuePathKind, actual: RescuePathKind); } /** Return whether a directory is reproducible state that rescue must not snapshot or classify. */ export declare function isRescueTransientDirectory(rel: string): boolean; /** Fail safely when apply observes a different path shape than classification did. */ export declare function assertRescuePathTypeUnchanged(rel: string, expected: RescuePathKind, actual: RescuePathKind): void; //# sourceMappingURL=rescue-snapshot.d.ts.map