import { spawn } from '@socketsecurity/registry/lib/spawn'
import type { Spinner } from '@socketsecurity/registry/lib/spinner'
type SpawnOption = Exclude<Parameters<typeof spawn>[2], undefined>
export type SafeNpmInstallOptions = SpawnOption & {
  agentExecPath?: string | undefined
  args?: string[] | readonly string[] | undefined
  ipc?: object | undefined
  spinner?: Spinner | undefined
}
export declare function safeNpmInstall(
  options?: SafeNpmInstallOptions
): import('@socketsecurity/registry/lib/spawn').SpawnResult<
  string,
  Record<any, any> | undefined
>
export {}
//# sourceMappingURL=install.d.mts.map
