import type { Application } from '../../../../../packages/core/src/domain/generated/output.js';
interface CreateApplicationInput {
    description: string;
    agentType?: string;
    modelOverride?: string;
    /**
     * When provided, the use case ALSO sends this as the first message of
     * the application's interactive chat session — wrapped server-side
     * with the full application-creation prompt (Shep persona, mission,
     * opinionated stack, workflow, quality bar, definition of done) by
     * the IApplicationCreationPromptBuilder adapter.
     *
     * Awaiting this BEFORE the client navigates guarantees that the chat
     * page's SSR load of chat state already includes the message — it
     * renders on first paint, no extra round trip.
     */
    initialPrompt?: string;
}
/**
 * Thin server-action wrapper around CreateApplicationUseCase.
 *
 * All orchestration (slug allocation, project scaffold, app persistence,
 * prompt building, first-message dispatch) lives inside the use case so
 * every presentation layer (Web / CLI / TUI) gets identical behavior
 * from a single call.
 */
export declare function createApplication(input: CreateApplicationInput): Promise<{
    application?: Application;
    repositoryPath?: string;
    error?: string;
}>;
export {};
//# sourceMappingURL=create-application.d.ts.map