import type { CreatePlan } from './create-plan.js'; /** mutable state shared with the caller so rollback can act on it */ export interface CreateState { repoCreated: boolean; } /** * Prints a human-readable summary of the resolved plan. Used for the confirm * step and for --dry-run. * * @param {CreatePlan} plan */ export declare function printPlanSummary(plan: CreatePlan): void; /** * Compiles the CI/docker tokens contributed by the CI provider, stripping * docker artifacts when dockerization is disabled, and activates builds when * a repository exists (never fatal). */ export declare function applyCi(plan: CreatePlan, repoCreated: boolean, isV2: boolean): Promise; /** * Persists the resolved provider/package choices to the service's committed * `.imqrc.json`, so later commands and re-creations reuse them. Secrets * (VCS token, registry credentials) are deliberately NOT written. * * @param {CreatePlan} plan */ export declare function writeServiceConfig(plan: CreatePlan): void; /** * Runs the full create pipeline for a resolved plan, delegating hosting/CI/ * scm concerns to the selected providers. Mutates `state.repoCreated` so the * caller can roll back a created remote repository on failure. * * @param {CreatePlan} plan - fully resolved, immutable plan * @param {CreateState} state - mutable state shared with the caller * @return {Promise} */ export declare function runCreate(plan: CreatePlan, state: CreateState): Promise;