import type { PackageDotJson } from './package-json';
interface InstallDirOptions {
    installDir: string;
}
/**
 * Try to read and parse package.json, returning null when it does not exist
 * or is invalid JSON. Use this for detection paths where a missing
 * package.json is expected (e.g. Python projects).
 */
export declare function tryGetPackageJson({ installDir, }: InstallDirOptions): Promise<PackageDotJson | null>;
export {};
