import type { Options } from './types.js';
/**
 * Returns the roots of all packages in a project.
 *
 * @param options
 *
 * An object with `projectRoot`.
 *
 * @example
 *
 * Analyze each package by reading `package.json`.
 *
 * ```ts
 * import { readPackageJson } from '@codemod-utils/package-json';
 *
 * const packageRoots = getPackageRoots({
 *   projectRoot,
 * });
 *
 * packageRoots.forEach((packageRoot) => {
 *   const packageJson = readPackageJson({ projectRoot: packageRoot });
 *
 *   // ...
 * });
 * ```
 */
export declare function getPackageRoots(options: Options & {
    projectRoot: string;
}): string[];
