/** Root CLI update-check hook registration. */
import type { Command } from "commander";
import type { printUpdateWarning } from "./print-update-warning.js";
import type { runUpdateCheck } from "./update-check.js";
/** Collaborators used by the non-fatal root update-check hook. */
interface UpdateCheckHookDependencies {
    /** Read current and latest package versions. */
    runUpdateCheck: typeof runUpdateCheck;
    /** Print an update warning when a newer version is available. */
    printUpdateWarning: typeof printUpdateWarning;
}
/**
 * Register the root update check that precedes non-maintenance actions.
 * @param program - Commander program to mutate
 * @param dependencies - Update-check collaborators
 */
export declare function addUpdateCheckHook(program: Command, dependencies: UpdateCheckHookDependencies): void;
export {};
//# sourceMappingURL=update-check-hook.d.ts.map