/** * Gets all workspace globs from the the root `package.json` * * @name getWorkspaceGlobs * @param {string} pathToRoot The absolute path to root of the repo * @returns {string[]} An array of globs */ export declare function getWorkspaceGlobs(pathToRoot: string): string[]; export declare function hasWorkspaceGlobs(pathToRoot: string): boolean; /** * Given project root, returns whether the path to the provided `package.json` * is a workspace * * @name isWorkspace * @param {string} pathToRoot The absolute path to root of the repo * @param {string} pathToPackage The path to the package * @returns {boolean} Whether or not `pathToPackageJson` represents a workspace */ export declare function isWorkspace(pathToRoot: string, pathToPackage: string): boolean; //# sourceMappingURL=workspace.d.ts.map