import type { FC } from 'react';
import type { Platform } from '../types.js';
import type { PlatformPickerLayout } from './frame-fit.js';
export type PlatformKeyAction = {
    type: 'select';
    platform: Platform;
} | {
    type: 'confirm';
} | null;
export declare function platformKeyAction(input: string, key: {
    leftArrow?: boolean;
    rightArrow?: boolean;
    return?: boolean;
}): PlatformKeyAction;
export interface PlatformPickerProps {
    layout: PlatformPickerLayout;
    onSelect: (platform: Platform) => void;
}
export declare const PlatformPicker: FC<PlatformPickerProps>;
