import type { FC } from 'react';
import type { AiResultKind } from '../components.js';
export declare const WelcomeStep: FC;
export interface NoPlatformStepProps {
    androidDir: string;
    dense?: boolean;
}
export declare const NoPlatformStep: FC<NoPlatformStepProps>;
export interface CredentialsExistStepProps {
    appId: string;
    onChoose: (choice: 'backup' | 'exit') => void;
    dense?: boolean;
}
export declare const CredentialsExistStep: FC<CredentialsExistStepProps>;
export declare const BackingUpStep: FC;
export interface BuildCompleteStepProps {
    uploadSummary: string | null;
    buildUrl: string;
    /** Absolute path of a workflow file written by the GitHub Actions flow. */
    workflowWrittenPath?: string | null;
    /** Absolute path of credentials exported to a .env fallback. */
    envExportPath?: string | null;
    /** Surfaced when the .env export failed (non-fatal). */
    envExportError?: string | null;
    dense?: boolean;
}
export declare const BuildCompleteStep: FC<BuildCompleteStepProps>;
export type ErrorStepChoice = 'support' | 'ai' | 'retry' | 'exit';
export interface ErrorStepProps {
    message: string;
    onChoose: (choice: ErrorStepChoice) => void;
    /** A captured build log exists for this run (e.g. a build was attempted), so
     *  the help menu may offer the "Ask AI for help" option. Defaults to false. */
    hasBuildLog?: boolean;
    dense?: boolean;
}
export declare const ErrorStep: FC<ErrorStepProps>;
export interface AiAnalysisPromptStepProps {
    onChoose: (choice: 'debug' | 'skip' | 'support') => void;
    dense?: boolean;
}
export declare const AiAnalysisPromptStep: FC<AiAnalysisPromptStepProps>;
export declare const AiAnalysisRunningStep: FC<{
    streamText?: string;
    terminalRows: number;
    terminalCols: number;
}>;
export interface AiAnalysisResultStepProps {
    /** Pre-rendered (markdown→ANSI) analysis text, or null on a non-success result. */
    analysisText: string | null;
    /**
     * True when the analysis is too tall to show inline alongside the picker, so
     * it lives in the scroll viewer and is replaced here by a compact marker + a
     * "Re-read analysis" option. False ⇒ render the full text inline.
     */
    collapsed: boolean;
    /** Non-success outcome banner (error / already_analyzed / too_big), else null. */
    result: {
        kind: AiResultKind;
        message: string;
    } | null;
    /** Retries already consumed; with `maxRetries` decides whether retry is offered. */
    retryCount: number;
    maxRetries: number;
    onRetry: () => void;
    onSkipOrContinue: () => void;
    /** Re-open the fullscreen scroll viewer to re-read the analysis. */
    onReread: () => void;
    /** Escalate to Capgo support (email flow), carrying the logs + this analysis. */
    onSupport: () => void;
    dense?: boolean;
}
export declare const AiAnalysisResultStep: FC<AiAnalysisResultStepProps>;
