/** * Finds the closest directory to `filePath` that has a named `package.json`, without leaving * `rootDir`. This lets a monorepo's root markdown file treat each example as part of the workspace * package that contains it. Falls back to `rootDir`. */ export declare function findPackageDir({ filePath, rootDir, }: Readonly<{ filePath: string; rootDir: string; }>): Promise;