import type { Dirent } from "node:fs"; /** * Find all items in a directory that satisfies the given `matcher`. * * @param dirPath * @param matcher * @returns An array of matching items. */ export declare const filterDirContents: (dirPath: string, matcher: (dirent: Dirent) => boolean) => Promise; /** * Check whether a file exists at the given path. * * @param filePath * @returns true if `filePath` points to a file, false otherwise. */ export declare const fileExists: (filePath: string) => Promise;