///
///
import type { SpawnSyncOptions } from 'child_process';
export declare function getPkgs(opts?: {
base?: string;
}): string[];
export declare function eachPkg(pkgs: string[], fn: (opts: {
name: string;
dir: string;
pkgPath: string;
pkgJson: Record;
}) => void, opts?: {
base?: string;
}): void;
export declare function assert(v: unknown, message: string): void;
export declare function setExcludeFolder(opts: {
cwd: string;
pkg: string;
dirName?: string;
folders?: string[];
}): void;
export declare function spawnSync(cmd: string, opts: SpawnSyncOptions): import("child_process").SpawnSyncReturns;
export declare function toArray(v: unknown): any[];