/** Test-only helpers building fake package trees in temp directories. */ export interface FixturePackage { /** Directory relative to the fixture root. */ dir: string; packageJson: Record; /** Write a dist/client/manifest.json stub (marks the module as built). */ built?: boolean; /** Manifest content for the stub; implies `built`. */ manifest?: Record; /** * Skip auto-creating the empty source files for declared * `esmx.entry`/`esmx.exports` targets — use to trigger E_TARGET_MISSING. */ noSources?: boolean; } export declare function createFixtureRoot(): Promise; export declare function writeFixturePackage(rootDir: string, pkg: FixturePackage): string; export declare function removeFixtureRoot(rootDir: string): Promise;