import { type NormalizedAbsolutePath, type File } from '../../files.js';
import type { Filesystem } from '../../find-up/find-minimatch.js';
/**
 * Returns the manifest file at exactly `dir` (not a parent directory), or `undefined` if absent.
 */
export declare function getManifestFileInDir(manifestName: string, dir: NormalizedAbsolutePath, topDir: NormalizedAbsolutePath, fileSystem?: Filesystem): File | undefined;
/**
 * Get the parent directory of the given path.
 * @param path Path to get the parent directory of.
 * @returns The parent directory or `null` if it is the root directory.
 */
export declare function getParentDirPath(path: NormalizedAbsolutePath): NormalizedAbsolutePath | null;
