import type { TaskStepStatus, TaskStepsState } from "./task-state.ts"; export interface OpenTaskStepProjection { id: string; status: TaskStepStatus; content: string; /** Always populated by projectOpenTaskSteps; optional for hand-built/legacy projections. */ requirementIds?: readonly string[]; /** Evidence strings attached to the step (tool_task ids, toolCallIds, paths). */ evidence?: readonly string[]; pipelineRunId?: string; pipelineStageId?: string; } export interface TaskRequirementReference { id: string; text: string; } /** Conservative fallback used only for task steps persisted before explicit requirement links existed. */ export declare function taskStepReferencesRequirement(step: Pick, requirement: TaskRequirementReference): boolean; export declare function projectOpenTaskSteps(state: TaskStepsState | undefined): OpenTaskStepProjection[]; export declare function resolveTaskStepRequirementIds(step: Pick, requirements: readonly TaskRequirementReference[]): { matchedIds: readonly string[]; unknownIds: readonly string[]; }; //# sourceMappingURL=task-projection.d.ts.map