import { type DetectedTool } from './detect-tools.js';
export interface OnboardingResult {
    /** How the user chose to set up: 'ai' or 'manual' */
    method: 'ai' | 'manual';
    /** Which AI tool was selected (if method is 'ai') */
    tool?: DetectedTool;
    /** Whether the AI setup was spawned successfully */
    spawned?: boolean;
}
/**
 * Run the onboarding wizard in interactive (human) mode.
 * Detects AI tools and lets the user choose how to set up.
 *
 * @returns The onboarding result, or null if user chose manual (caller should continue with normal init)
 */
export declare function runOnboardingWizard(): Promise<OnboardingResult>;
/**
 * Handle onboarding in JSON/agent mode.
 * Outputs tool detection results and setup choices as JSON.
 */
export declare function runOnboardingJsonMode(flags: Record<string, unknown>): void;
/**
 * Check if onboarding should run (first-time user with no HQs).
 */
export declare function isFirstTimeUser(headquartersCount: number, currentHQ: string | null): boolean;
