/**
 * Find the monorepo root directory, searching upwards from `path`.
 *
 * @param pathInsideMonorepo - The path inside the monorepo to start searching from
 * @returns The monorepo root directory
 */
declare function findWorkspaceRootSafe(pathInsideMonorepo?: string): string | undefined;
/**
 * Find the monorepo root directory, searching upwards from `path`.
 *
 * @param pathInsideMonorepo - The path inside the monorepo to start searching from
 * @returns The monorepo root directory
 */
declare function findWorkspaceRoot(pathInsideMonorepo?: string): string;

export { findWorkspaceRoot, findWorkspaceRootSafe };
