import type { ProductConfirmParams, ProductPlan } from "../protocol/wire/acp-agent-management.js";
import type { ProductOrchestrator } from "./agent-instance.js";
import type { DagMutation, ProductPlanner } from "./product-planner.js";
export interface ProductLeaderCoordinator {
    consultLeader(productId: string, context: {
        progress: {
            total: number;
            completed: number;
            running: number;
            failed: number;
        };
        failedTasks?: Array<{
            taskId: string;
            error: string;
        }>;
    }): Promise<DagMutation[]>;
}
export declare class ProductRunCoordinator {
    private planner;
    private orchestrator;
    constructor(planner: ProductPlanner, orchestrator: ProductOrchestrator);
    confirmAndStart(params: ProductConfirmParams): Promise<{
        productId: string;
        ok: true;
    }>;
    message(productId: string, content: string): Promise<{
        response: string;
        plan?: ProductPlan;
        mutations?: DagMutation[];
    }>;
}
