import { type SetupCommandResult, type SetupCommandSpec } from "../setup/commands.js"; export type SelfUpdatePlan = { installMode: "npm-global"; packageRoot: string; description: string; command: SetupCommandSpec; }; export type SelfUpdatePlanDependencies = { runCommand?: (spec: SetupCommandSpec) => Promise; }; export declare function detectSelfUpdatePlan(options: { appRoot: string; }, dependencies?: SelfUpdatePlanDependencies): Promise;