/**
 * Project creation flow — framework-first scaffolding.
 *
 * Instead of custom Agentuity templates, the user picks a framework
 * and we run its official create CLI, then augment with Agentuity integration.
 */
import type { Logger } from '@agentuity/core';
import type { APIClient } from '../../api.ts';
import type { AuthData, Config } from '../../types.ts';
import type { PackageManager } from '../build/detect/types.ts';
interface CreateFlowOptions {
    projectName?: string;
    dir?: string;
    domains?: string[];
    framework?: string;
    noInstall: boolean;
    noBuild: boolean;
    skipPrompts: boolean;
    logger: Logger;
    auth?: AuthData;
    config?: Config;
    orgId?: string;
    region?: string;
    apiClient?: APIClient;
    database?: string;
    storage?: string;
    /**
     * Service augment ids to add ("db", "keyvalue", "queue", "vector",
     * "storage"). When omitted in interactive mode, the user is asked via
     * a multi-select. When omitted in non-interactive mode, no services
     * are added.
     */
    services?: string[];
    /**
     * Package manager to drive the new project. When omitted, the
     * interactive flow asks for it; non-interactive runs default to
     * the host runtime (bun under Bun, npm under Node).
     */
    packageManager?: PackageManager;
}
export interface CreateFlowResult {
    projectId?: string;
    orgId?: string;
    name: string;
    path: string;
    framework: string;
    installed: boolean;
    built: boolean;
    domains?: string[];
    success: boolean;
    error?: string;
}
export declare function runCreateFlow(options: CreateFlowOptions): Promise<CreateFlowResult>;
export {};
//# sourceMappingURL=template-flow.d.ts.map