import type { Dirent } from "fs"; /** * Check if a dirent entry is a directory, following symlinks. * * `Dirent.isDirectory()` returns false for symlinks to directories. * This helper also checks symlinks via `fs.stat` to follow them. * @param args - Function arguments * @param args.parentDir - The parent directory containing the entry * @param args.entry - The dirent entry to check * * @returns True if the entry is a directory or a symlink to a directory */ export declare const isDirentDirectory: (args: { parentDir: string; entry: Dirent; }) => Promise; /** * Check if a dirent entry is a file, following symlinks. * * `Dirent.isFile()` returns false for symlinks to files. * This helper also checks symlinks via `fs.stat` to follow them. * @param args - Function arguments * @param args.parentDir - The parent directory containing the entry * @param args.entry - The dirent entry to check * * @returns True if the entry is a file or a symlink to a file */ export declare const isDirentFile: (args: { parentDir: string; entry: Dirent; }) => Promise; //# sourceMappingURL=dirent.d.ts.map