/**
 * 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
 */
export 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
 */
export declare function findWorkspaceRoot(pathInsideMonorepo?: string): string;
