#!/usr/bin/env node
/// <reference types="node" />
import { SpawnOptions } from 'node:child_process';
export declare const packageJson: any;
export type PackageManager = 'npm' | 'bun' | 'pnpm' | 'yarn';
/**
 * Get the package manager used to run this CLI
 * This allows developers to use their preferred package manager seamlessly
 */
export declare function getPackageManager(): PackageManager;
/**
 * Get the "npx" or equivalent for the current package manager.
 *
 * @param external Whether to be used for an external package or local script.
 */
export declare function getPackageExecutor(external?: boolean): string;
/**
 * Run a command as a child process
 */
export declare function exec(command: string | string[], options?: SpawnOptions): Promise<void>;
