import type { StageId } from '../types/index.js'; import type { Stage } from './spec-types.js'; import type { OkrGoalInput, OkrGoalOutput, OkrGoalStageOptions } from './okr-goal-types.js'; /** * OKR Goal Declaration stage. * * Receives an end-state goal (Objective) and decomposes it into * an OKR tree with 3-5 measurable Key Results via the adapter. * The tree is persisted as an artifact so downstream stages * (SMART decomposition, PDCA gap analysis) can read it as the * alignment baseline. * * Graceful skip: when no endStateGoal is provided, callers should * skip this stage entirely (the pipeline engine handles this via * routing). */ export declare class OkrGoalStage implements Stage { private readonly options; readonly stageId: StageId; private readonly now; constructor(options: OkrGoalStageOptions); execute(input: OkrGoalInput): Promise; /** * Decompose the end-state goal into an OKR tree. * Uses the adapter when available; falls back to a single-objective * skeleton so the pipeline never breaks without an LLM. */ private decompose; /** * Normalize adapter response into typed ObjectiveKeyResult[]. * Assigns stable IDs (OBJ-NN, KR-NN.MM). */ private normalizeResponse; private writeArtifact; } //# sourceMappingURL=okr-goal-stage.d.ts.map