/** * Create a directory symlink at `link` pointing to `target`. * * On Windows this uses a junction (type `"junction"`) instead of a `"dir"` * symlink. Junctions do NOT require admin rights or Developer Mode (a `"dir"` * symlink throws EPERM without them), so this keeps skill/role syncing working * on un-elevated Windows CI. Junctions require an absolute `target` and only * work for directories on NTFS volumes. On other platforms a plain symlink is * created. * * An EPERM failure is logged with an actionable message and then rethrown — * never silently swallowed. */ export declare function createDirSymlink(target: string, link: string): void; /** * Create a file symlink at `link` pointing to `target`. * * On Windows the type argument is passed as `"file"`; on other platforms a * plain symlink is created (the type argument is ignored there). * * An EPERM failure is logged with an actionable message and then rethrown — * never silently swallowed. */ export declare function createFileSymlink(target: string, link: string): void; /** * Return whether `p` is a symbolic link, or `false` if `p` does not exist. * * Uses lstat (not stat) so the link itself is inspected rather than followed. * Node reports Windows junctions as symbolic links, so this lstat-based * detection keeps working across platforms. Only a definitively-missing path * (ENOENT) yields `false`; any other failure is rethrown. */ export declare function isSymlink(p: string): boolean; //# sourceMappingURL=symlink.d.ts.map