/** * Creates a mock npm package with the given files, packages it as a tar.gz, * and installs it into tmpDir/node_modules using pnpm. * * @param name - Name of the package to create. * @param version - Version of the package. * @param files - Map of relative file paths to file contents. * @param tmpDir - Temporary directory to use as the project root. * @returns The path to the installed package in node_modules. */ export declare const installMockPackage: (name: string, version: string, files: Record, tmpDir: string) => Promise; export declare const createMockGitRepo: (name: string, files: Record, tmpDir: string, options?: { filedistConfig?: Record; tag?: string; }) => Promise<{ repoDir: string; repoUrl: string; head: string; tag?: string; }>; //# sourceMappingURL=test-utils.d.ts.map