import type { AvailableUpdate, UpdateStatus } from './update-manager.js';
export type StartupUpdatePromptOutcome = {
    kind: 'continue';
} | {
    kind: 'run-update';
    update: AvailableUpdate;
};
type StartupUpdateSelection = 'update-now' | 'skip';
export interface StartupUpdatePromptDeps {
    promptSelection?: (update: AvailableUpdate, write: (text: string) => void) => Promise<StartupUpdateSelection>;
    write?: (text: string) => void;
    suppress?: boolean;
}
export declare function runStartupUpdatePromptIfNeeded(updateStatus: UpdateStatus, deps?: StartupUpdatePromptDeps): Promise<StartupUpdatePromptOutcome>;
export declare function renderStartupUpdatePrompt(update: AvailableUpdate, selected?: StartupUpdateSelection): string;
export {};
//# sourceMappingURL=update-prompt.d.ts.map