UNPKG

@capgo/cli

Version:
17 lines (16 loc) 777 B
import type { FC } from 'react'; import type { AndroidOnboardingProgress } from '../types.js'; import type { OnboardingResult } from '../../types.js'; interface AppProps { appId: string; initialProgress: AndroidOnboardingProgress | null; androidDir: string; /** Optional Capgo API key passed via -a/--apikey flag; takes precedence over saved key. */ apikey?: string; /** Reports the wizard outcome to the shell when it reaches build-complete, so * the caller prints an accurate post-exit message + durable summary instead of * always claiming success. Never fires on cancel/missing-platform exits. */ onResult?: (result: OnboardingResult) => void; } declare const AndroidOnboardingApp: FC<AppProps>; export default AndroidOnboardingApp;