export type UpdateCheckResult = {
    available: false;
    currentVersion: string;
    latestVersion: string | null;
    source: "npm" | "github" | "none";
} | {
    available: true;
    currentVersion: string;
    latestVersion: string;
    source: "npm" | "github";
    command: string;
};
export type UpdateInstallResult = {
    version: string;
    command: string;
};
export declare function checkForPatchPilotUpdate(currentVersion: string, signal?: AbortSignal): Promise<UpdateCheckResult>;
export declare function installPatchPilotUpdate(version: string): Promise<UpdateInstallResult>;
export declare function updateCommand(): string;
