import { type EnvObject } from '../env';
export interface SpawnResult {
    status: number;
}
export declare function findPackageRoot(start?: string): string;
export declare function findProjectRoot(start?: string): string;
export declare function readPackageDependencyVersion(packageRoot: string, name: string): string;
export declare function extractTsconfigArg(args: string[]): string | undefined;
export declare function cleanDist(projectDir?: string): void;
export declare function resolveFromProject(projectDir: string, specifier: string): string;
export declare function runNode(args: string[], cwd?: string, env?: EnvObject): SpawnResult;
export declare function runBinary(bin: string, args: string[], cwd?: string, env?: EnvObject): SpawnResult;
//# sourceMappingURL=common.d.ts.map