/** * Supported package managers for GTKX projects. */ type PackageManager = "pnpm" | "npm" | "yarn"; /** * Whether to include testing setup in GTKX projects. */ export type TestingOption = "vitest" | "none"; /** * Options for creating a new GTKX project. * * All options are optional; missing values will be prompted interactively. */ type CreateOptions = { name?: string; appId?: string; packageManager?: PackageManager; testing?: TestingOption; claudeSkills?: boolean; }; export declare const getAddCommand: (pm: PackageManager, deps: string[], dev: boolean) => string; export declare const getRunCommand: (pm: PackageManager) => string; export declare const isValidProjectName: (name: string) => boolean; export declare const isValidAppId: (appId: string) => boolean; /** * Creates a new GTKX project with interactive prompts. * * Scaffolds a complete project structure including: * - TypeScript configuration * - React component template * - Development server entry point * - Optional testing setup * - Optional Claude Code skills * * @param options - Pre-filled options to skip prompts * * @example * ```tsx * import { createApp } from "@gtkx/cli"; * * // Interactive mode * await createApp(); * * // With pre-filled options * await createApp({ * name: "my-app", * appId: "com.example.myapp", * packageManager: "pnpm", * testing: "vitest", * }); * ``` */ export declare const createApp: (options?: CreateOptions) => Promise; export {}; //# sourceMappingURL=create.d.ts.map