/** * @file Package.json path resolution utilities. */ /** * Whether `filepath`'s final segment is exactly `package.json`. Accepts both * POSIX and Windows-style separators so paths captured on either platform * classify the same regardless of the host we're running on. */ export declare function isPackageJsonFile(filepath: string): boolean; /** * Resolve directory path from a package.json file path. */ export declare function resolvePackageJsonDirname(filepath: string): string; /** * Resolve full path to package.json from a directory or file path. */ export declare function resolvePackageJsonPath(filepath: string): string;