type FsFindUpSyncOptions = { /** * @default `process.cwd()` */ cwd?: string; /** * @default "file" */ type?: "file" | "directory"; /** * @default undefined It stops at the root directory of the walked up path */ stopAt?: string | URL; }; /** * Find file or directory path up from the given `cwd` * * @borrows [sindresorhus/find-up-simple](https://github.com/sindresorhus/find-up-simple) * * @param name The **file** _name_ or **directory** _name_ to find */ export declare function fsFindUpSync(name: string, { cwd, type, stopAt }?: FsFindUpSyncOptions): string; export default fsFindUpSync;