import type { PackageManager, PackageManagerName, Workspace } from '../../pm/index.ts';
import type { RiskLevel } from './interactiveSelect.ts';
import type { MinReleaseAgeFilter } from './resolveVersions.ts';
/**
 * Filesystem-only workspace enumerator. We deliberately avoid
 * `pm.listWorkspaces()` (which for pnpm shells out to `pnpm list --recursive`)
 * because pnpm 11+ may attempt resolution against the lockfile during list,
 * and pnpm's `minimumReleaseAge` enforcement will fail that resolution if any
 * currently-declared range maps to a too-fresh version. updo specifically
 * needs to run BEFORE install is attempted — that's the entire point of the
 * tool — so it can't depend on the package manager being able to resolve the
 * current state.
 */
export declare function listWorkspacesFromFs(cwd: string): Workspace[];
export declare function resolveMinReleaseAgeFilter(pmName: PackageManagerName, cwd: string): MinReleaseAgeFilter | undefined;
export interface UpdoOptions {
    /** Max concurrent registry lookups. */
    jobs?: number;
    /** Default-select the highest available bump (major > minor > patch) instead of the safest. */
    latest?: boolean;
    /** Show a 5th column with the highest published prerelease tag (orange). */
    next?: boolean;
    /** Highest classification level eligible for auto-selection. Default 'green'. */
    risk?: RiskLevel;
}
export declare function runUpdo(pm: PackageManager, options?: UpdoOptions): Promise<number>;
//# sourceMappingURL=runUpdo.d.ts.map