export declare function inferNpmPackageNameFromSpec(spec: string): string | null;
export declare function resolveNpxPackageRoot(params: {
    spec: string;
}): Promise<Readonly<{
    kind: 'ok';
    packageName: string;
    packageRootAbs: string;
}> | Readonly<{
    kind: 'error';
    errorText: string;
}>>;
