import { spawn } from '@socketsecurity/registry/lib/spawn';
import type { SpawnResult } 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): SpawnResult<string, Record<any, any> | undefined>;
export {};
//# sourceMappingURL=install.d.mts.map