import type { TddRoutingDecision, TddRedPhaseOutcome, TddGreenPhaseOutcome, RedTestsHandoff } from '../../types/tdd-strict.js';
export type { TddRoutingDecision, TddRedPhaseOutcome, TddGreenPhaseOutcome };
/**
 * Determine if a spec's tdd frontmatter value requires TestArchitect routing.
 * Only `tdd: strict` triggers the two-phase TDD flow.
 */
export declare function decideTddRouting(tddValue: string | undefined): TddRoutingDecision;
/**
 * Execute the TestArchitect red phase.
 * In production this spawns the TestArchitect agent; here we validate the
 * handoff JSON that the agent should have written.
 */
export declare function runRedPhase(specId: string, specBody: string, projectRoot: string, testFramework: string, handoffRaw: unknown): Promise<TddRedPhaseOutcome>;
/**
 * Execute the green phase gate.
 * Ensures Implementer's code turns tests green without deleting them.
 */
export declare function runGreenPhase(redHandoff: RedTestsHandoff, projectRoot: string): Promise<TddGreenPhaseOutcome>;
//# sourceMappingURL=tdd-router.d.ts.map