/** The pi CLI on the PATH (its real file), or undefined. */ export declare function findPiCli(env?: NodeJS.ProcessEnv): string | undefined; /** * The directory of pi's package: ROOST_PI_PACKAGE; else the one the pi on the PATH runs * from (an npm-style link to its CLI); else npm's global packages (where a shim of pnpm, * volta, asdf or mise does not lead). */ export declare function findPiPackage(env?: NodeJS.ProcessEnv, cli?: string | undefined, npmRoot?: () => string | undefined): string | undefined; /** pi's CLI in its package (its `bin.pi`): a file node runs, whatever shim put pi on the PATH. */ export declare function piCliOf(pkg: string): string | undefined; /** Resolve pi's packages from `dir` (pi's package directory) in this process from now on. */ export declare function usePiPackage(dir: string): void; export declare function initialize(data: { dir: string; }): Promise; type Next = (specifier: string, context: { parentURL?: string; conditions?: string[]; }) => Promise; export declare function resolve(specifier: string, context: { parentURL?: string; conditions?: string[]; }, next: Next): Promise; export {};