/** Specification-driven development workflow for DeepSeek Harness. */ import type { Context } from '@deepseek-ai/cordis'; import z from '@deepseek-ai/schemastery'; /** Loader-facing plugin name. */ export declare const name = "specflow"; /** Services required by the complete SpecFlow capability. */ export declare const inject: string[]; /** Deployment configuration for artifact location and prompt context. */ export interface Config { /** Workspace-relative or absolute directory containing specification artifacts. */ specsDir?: string; /** Whether to publish active SpecFlow goal and task state as runtime context. */ autoInjectContext?: boolean; } /** Loader validation for SpecFlow configuration. */ export declare const Config: z; /** Parsed progress from one specification's tasks.md. */ export interface SpecStatus { readonly spec: string; readonly tasksPath: string; readonly total: number; readonly completed: number; readonly pending: number; readonly nextTask: string | null; } /** One executable Markdown checkbox parsed from tasks.md. */ export interface TaskLine { readonly completed: boolean; readonly text: string; } /** Parse Markdown task checkboxes without treating nested prose as work items. */ export declare function parseTasks(markdown: string): readonly TaskLine[]; /** Summarize one tasks.md body into the tool's canonical value. */ export declare function summarizeTasks(spec: string, tasksPath: string, markdown: string): SpecStatus; /** Register SpecFlow skills, commands, status tool, goal bridge, and runtime context. */ export declare function apply(ctx: Context, config?: Config): void;