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;
    /**
     * iOS-side bundle id default — sourced from `config.appId` (top-level), which
     * is what `cap sync` writes into `PRODUCT_BUNDLE_IDENTIFIER`. Distinct from
     * `appId` above, which `getAppId()` may resolve to
     * `config.plugins.CapacitorUpdater.appId` (a Capgo lookup key — wrong for
     * Apple signing). Threaded down to the iOS OnboardingApp; the Android app
     * ignores it.
     */
    iosBundleIdInitial: 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;
