import { type UnknownObject } from '@augment-vir/core';
import { type PackageJson } from 'type-fest';
/**
 * An npm workspace object. This is the return type for {@link queryNpmWorkspace}.
 *
 * @category Node : Npm
 * @category Package : @augment-vir/node
 * @package [`@augment-vir/node`](https://www.npmjs.com/package/@augment-vir/node)
 */
export type NpmWorkspace = PackageJson & {
    _id: string;
    deduped: boolean;
    dev: boolean;
    from: string[];
    inBundle: boolean;
    location: string;
    overridden: boolean;
    path: string;
    pkgid: string;
    queryContext: UnknownObject;
    realpath: string;
    resolved: null;
    to: string[];
};
/**
 * Get a list of all NPM workspaces in the given mono-repo directory using npm's CLI.
 *
 * @category Node : Npm
 * @category Package : @augment-vir/node
 * @package [`@augment-vir/node`](https://www.npmjs.com/package/@augment-vir/node)
 */
export declare function queryNpmWorkspace(cwd: string): Promise<NpmWorkspace[]>;
