#!/usr/bin/env node export type Bundler = "vite" | "rspack" | "rsbuild"; export type UiLibrary = "base-ui" | "radix" | "shadcn"; export type Addon = "devtools" | "page-builder" | "beast-ui" | "icons"; export type ProjectAction = "open" | "run"; export interface CreateProjectOptions { directory: string; cwd?: string; force?: boolean; install?: boolean; git?: boolean; tailwind?: boolean; bundler?: Bundler; ui?: UiLibrary; devtools?: boolean; pageBuilder?: boolean; beastUi?: boolean; icons?: boolean; /** Override used by local integration tests and prerelease channels. */ compilerSpec?: string; } export interface CommandResult { code: number | null; output: string; } export interface CreateProjectHooks { onProgress?: (message: string) => void; quiet?: boolean; /** Injectable process runner for integration tests and embedding. */ runCommand?: typeof runCommand; } export interface CliHooks extends CreateProjectHooks { /** Local compiler tarball or prerelease version for CLI previews. */ compilerSpec?: string; /** Injectable final selection for integration tests and embedding. */ selectNextStep?: () => Promise; } export interface CreateProjectResult { directory: string; packageName: string; installed: boolean; gitInitialized: boolean; bundler: Bundler; ui: UiLibrary; addons: Addon[]; pendingCommands: string[]; } export declare function createProject(options: CreateProjectOptions, hooks?: CreateProjectHooks): Promise; export declare function runCli(argv: string[], hooks?: CliHooks): Promise; declare function runCommand(command: string, args: readonly string[], cwd: string, stdio: "ignore" | "inherit" | "pipe"): Promise; export {}; //# sourceMappingURL=index.d.ts.map