import type { PreflightReport } from "./types"; export interface ParsedCliArgs { targetDir: string; showHelp: boolean; json: boolean; ci: boolean; workspaces: boolean; configPath?: string; } export interface CliRuntime { cwd?: string; stdout?: (text: string) => void; stderr?: (text: string) => void; exit?: (code: number) => never | void; } export declare function parseCliArgs(argv: string[], cwd?: string): ParsedCliArgs; export declare function runPreflight(targetDir: string, options?: { configPath?: string; workspaces?: boolean; json?: boolean; configBaseDir?: string; }): Promise; export declare function executeCli(argv: string[], runtime?: CliRuntime): Promise;