/** * Resolve `candidatePath` to its real (symlink-free) form, walking up to the * nearest existing ancestor when the path itself doesn't exist yet (e.g. a * file about to be created inside an existing, possibly symlinked, directory) * and rejoining the non-existent remainder onto the resolved ancestor. * Falls back to the original lexical path if no ancestor exists at all * (filesystem root reached with nothing resolvable). * * Path scoping/identity checks based on lexical resolution alone (`path.resolve`) * can be defeated by a symlinked directory component — this closes that gap * for any caller that needs to compare or scope real filesystem locations. */ export declare function resolveRealPathBestEffort(candidatePath: string): string; //# sourceMappingURL=real-path.d.ts.map