import type { FC, ReactNode } from 'react';
import type { PlatformPickerLayout } from './frame-fit.js';
export type UpdateChoice = 'update' | 'skip';
export type UpdateKeyAction = {
    type: 'select';
    choice: UpdateChoice;
} | {
    type: 'confirm';
} | null;
export declare function updatePromptKeyAction(input: string, key: {
    leftArrow?: boolean;
    rightArrow?: boolean;
    return?: boolean;
}): UpdateKeyAction;
export interface UpdatePromptProps {
    layout: PlatformPickerLayout;
    currentVersion: string;
    latestVersion: string;
    onDecide: (choice: UpdateChoice) => void;
    /** Rendered directly below the legend (flush, no gap). */
    footer?: ReactNode;
}
export declare const UpdatePrompt: FC<UpdatePromptProps>;
