export interface NpmInvocation { command: string; argsPrefix: string[]; source: 'override' | 'npm_execpath' | 'node_sibling' | 'node_install' | 'path'; } interface ResolveNpmInvocationOptions { env?: NodeJS.ProcessEnv; execPath?: string; platform?: NodeJS.Platform; exists?: (path: string) => boolean; } /** * Resolve npm without assuming the process inherited an interactive-shell * PATH. macOS GUI-launched notebook processes commonly retain Node's absolute * executable but omit Homebrew or nvm from PATH; npm normally lives beside * that executable or in its adjacent lib/node_modules tree. * * E2E-005: connector installation must work from the same built CLI whether * it was launched by a shell, an npm script, or the desktop/browser UI. */ export declare function resolveNpmInvocation(options?: ResolveNpmInvocationOptions): NpmInvocation; export declare function describeNpmInvocation(invocation: NpmInvocation): string; export {}; //# sourceMappingURL=npm-runtime.d.ts.map