/** * Walk up from the current module file to find the package root — the first * ancestor directory that contains `package.json`. Works in both dev (tsx / * vitest running source from `src/`) and in the published tarball (running * compiled JS from `dist/`). */ export declare function packageRoot(): string; export declare function pkgFile(relPath: string): string;