import type { Command } from 'commander'; import type { Config } from '../types/index.js'; import { GitService } from '../services/git/GitService.js'; import { HulaApiClient } from '../services/api/HulaApiClient.js'; /** * `hula explain [target] [--update ] [--json]` — view or set a plan's * plain-language explanation ("The problem" / "The fix"). * * The CLI is pure storage/retrieval: it NEVER calls an LLM. Generation of a * missing explanation is the `/hula-explain` skill's job, which composes the * text and persists it here via `--update`. * * Target resolution (→ server plan id): * - a tracking name → matched against the planning list * - a plan id → used directly * - omitted → the current git branch's plan (branch == tracking name) */ export declare function explainCommand(program: Command, config: Config): void; /** * Resolve a `target` (tracking name or plan id) — or the current git branch when * omitted — to a server plan id + tracking name. Throws a clear error when no * plan can be found. */ export declare function resolveExplainTarget(apiClient: HulaApiClient, gitService: GitService, target: string | undefined): Promise<{ planId: string; trackingName: string; }>; export declare function executeExplain(config: Config, target: string | undefined, options: { update?: string; json?: boolean; }): Promise; //# sourceMappingURL=explain.d.ts.map