import type { FC } from 'react';
import type { OnboardingResult, Platform } from '../types.js';
export declare function useTerminalSize(): {
    cols: number;
    rows: number;
};
export interface OnboardingShellProps {
    appId: string;
    iosDir: string;
    androidDir: string;
    apikey?: string;
    /** Pre-resolved platform (--platform flag or the single existing native dir); skips the picker. */
    initialPlatform?: Platform;
    /** Called once a platform is chosen so the caller can print the completion breadcrumb. */
    onResolvePlatform?: (platform: Platform) => void;
    /** Called by the mounted app when it reaches the build-complete screen, so the
     *  caller prints the accurate post-exit message + durable summary. If the wizard
     *  exits any other way (cancel / missing platform), this never fires and the
     *  caller treats it as cancelled. */
    onResult?: (result: OnboardingResult) => void;
}
declare const OnboardingShell: FC<OnboardingShellProps>;
export default OnboardingShell;
