import { schedulePortableTuiUpdate } from "./portable-update.js"; export { isReleaseInstall } from "./release-update.js"; type PixUpdateTestDeps = { checkPixUpdate: typeof checkPixUpdate; runCommand: typeof runCommand; schedulePortableTuiUpdate: typeof schedulePortableTuiUpdate; }; export declare function setPixUpdateTestDeps(overrides?: Partial): void; export type PixUpdateCliOptions = { checkOnly: boolean; force: boolean; help: boolean; }; export type PixPackageInfo = { name: string; version: string; private: boolean; packageRoot: string; }; export type PixUpdateStatus = "current" | "newer" | "unknown" | "skipped" | "unavailable"; export type PixUpdateCheckResult = { status: PixUpdateStatus; packageName: string; currentVersion: string; packageRoot: string; latestVersion?: string; reason?: string; }; export type PixSelfUpdateCommand = { command: string; args: string[]; display: string; }; export type GlobalPiCheckStatus = "current" | "mismatched" | "missing" | "unavailable"; export type GlobalPiCheckResult = { status: GlobalPiCheckStatus; targetVersion?: string; currentVersion?: string; packageRoot?: string; reason?: string; }; export type PixUpdateCheckOptions = { timeoutMs?: number; packageRoot?: string; fetchLatestVersion?: (packageName: string, currentVersion: string, timeoutMs: number) => Promise; }; export type PiUpdateCheckOptions = PixUpdateCheckOptions & { pixPackageRoot?: string; }; export declare function pixUpdateUsage(): string; export declare function parsePixUpdateArgs(argv: readonly string[]): PixUpdateCliOptions; export declare function getPixPackageVersion(packageRoot?: string): string; export declare function checkPixUpdate(options?: PixUpdateCheckOptions): Promise; export declare function checkPiUpdate(options?: PiUpdateCheckOptions): Promise; export declare function getPixPinnedPiVersion(packageRoot?: string): string | undefined; export declare function checkGlobalPiInstall(pixPackageRoot?: string): GlobalPiCheckResult; export declare function formatPixUpdateCheck(result: PixUpdateCheckResult): string; export declare function formatGlobalPiCheck(result: GlobalPiCheckResult): string; export declare function formatPixStartupUpdateDialog(result: PixUpdateCheckResult): string; export declare function formatPiStartupUpdateToast(result: PixUpdateCheckResult): string; export declare function getPixSelfUpdateCommand(packageName: string, latestVersion?: string, packageRoot?: string): PixSelfUpdateCommand | undefined; export declare function getGlobalPiUpdateCommand(targetVersion: string, pixPackageRoot?: string): PixSelfUpdateCommand | undefined; export declare function runPixUpdateCli(argv?: readonly string[]): Promise; declare function runCommand(command: PixSelfUpdateCommand): Promise;