export interface PackageInfo { name?: string; version?: string; } /** * Locate and read the nearest package.json starting from the caller's module URL. * This mirrors prior per-file helpers but centralizes the logic so CLI entrypoints * and tests stay consistent even if their relative paths change. */ export declare function readPackageInfo(importMetaUrl: string | URL, options?: { maxDepth?: number; }): PackageInfo; export declare function readPackageVersion(importMetaUrl: string | URL, fallback?: string): string; //# sourceMappingURL=packageInfo.d.ts.map