import type { Dag, DagNodeOutput, DagOutputGate } from "../orchestration/dag.js";
export interface ParsedTask {
    id: string;
    description: string;
    done: boolean;
    parallel: boolean;
    phase: string;
    explicitDeps: string[];
    outputs: DagNodeOutput[];
    role?: string;
    verify?: string;
    gate?: DagOutputGate;
    risk?: "low" | "medium" | "high";
}
export declare function parseTasksMd(content: string): ParsedTask[];
export declare function buildDependencies(tasks: ParsedTask[], options?: {
    parallel?: boolean;
}): Map<string, string[]>;
export declare function tasksToDag(tasks: ParsedTask[], options?: {
    parallel?: boolean;
}): Dag;
export declare function loadSpecDag(specDir: string, options?: {
    parallel?: boolean;
}): Promise<Dag>;
export declare function dagFromSpecCommand(specDir: string, options?: {
    output?: string;
    parallel?: boolean;
    runId?: string;
    run?: string;
    json?: boolean;
}): Promise<Dag>;
