import type { IFileSystem } from "@uipath/solutionpackager-tool-core"; /** * `target` with every symlink in its existing prefix resolved. A path that * does not exist yet keeps its missing tail lexically, so a new file is judged * by the directory it would land in. * * Walks with `exists`, not by catching: the runtime's `realpath` returns a * missing path unchanged rather than throwing. A backend without symlinks * (the browser) has no `realpath` and needs none. */ export declare function canonicalPathAsync(target: string, fs: IFileSystem): Promise; /** Where `target` and `root` really are, and whether the first is strictly * inside the second once symlinks are followed. */ export declare function resolvesInsideAsync(target: string, root: string, fs: IFileSystem): Promise<{ inside: boolean; resolved: string; root: string; }>; /** * Whether the directory entry at `target` is a symbolic link — live OR * dangling — judged without following it (`lstat`, via the filesystem's * `isSymbolicLink`). * * The dangling case is the one containment alone misses: the path judges as * "missing, inside the solution", and `writeFile` then follows the link and * creates its target wherever it points. `lstat` also gets case folding right * on its own: on a case-insensitive filesystem it finds a differently-cased * entry (which a write would open), and on a case-sensitive one only the * exact name. A backend without links (the browser) answers false. */ export declare function isSymlinkEntryAsync(target: string, fs: IFileSystem): Promise;