/** * Init Engine Operations — EngineResult wrappers for init domain. * * Migrated from `packages/cleo/src/dispatch/engines/init-engine.ts` * (ENG-MIG-14 / T1581). All business logic remains in `../init.ts`; * this module only adds the `EngineResult` envelope so the CLI dispatch * layer can call core directly per ADR-057 D1. * * Importable from `@cleocode/core/internal` — no intermediate engine file * required in the CLI layer. * * @module init/engine-ops * @task T1581 — ENG-MIG-14 * @epic T1566 */ import { type EngineResult } from '../engine-result.js'; /** * Initialize a CLEO project directory. * * Creates the `.cleo/` directory structure with empty data files. * Returns an error envelope if already initialized (unless `force` is true). * * @param projectRoot - Absolute path to the project root directory. * @param options - Optional init overrides (projectName, force, mapCodebase). * @returns EngineResult with initialization details and next-step guidance. * @task T1581 — ENG-MIG-14 */ export declare function initProject(projectRoot: string, options?: { projectName?: string; force?: boolean; mapCodebase?: boolean; }): Promise; }>>; /** * Check whether auto-init is enabled via the `CLEO_AUTO_INIT` environment * variable. * * @returns `true` if `CLEO_AUTO_INIT=true` is set in the environment. * @task T1581 — ENG-MIG-14 */ export declare function isAutoInitEnabled(): boolean; /** * Check initialization status and auto-init if configured. * * Returns `{ initialized: true }` if the project is ready. Throws (wrapped * as `E_NOT_INITIALIZED`) if the project is not initialized and auto-init is * disabled. * * @param projectRoot - Absolute path to the project root directory. * @returns EngineResult with initialized flag. * @task T1581 — ENG-MIG-14 */ export declare function ensureInitialized(projectRoot: string): Promise>; /** * Get the current CLEO / project version string. * * Checks the `VERSION` file first, then falls back to `package.json`. * * @param projectRoot - Absolute path to the project root directory. * @returns EngineResult with the resolved version string. * @task T1581 — ENG-MIG-14 */ export declare function getVersion(projectRoot: string): Promise>; //# sourceMappingURL=engine-ops.d.ts.map