/**
 * Nexus Prime — Run Prepare
 *
 * Assembles the final execution packet from fast + deep bootstrap results.
 * This is the bridge between bootstrap and execution.
 */
import type { BootstrapFastResult, BootstrapDeepResult, RunPrepareResult } from './types.js';
export interface RunPrepareDeps {
    /** Plan execution and resolve worker topology */
    planExecution: (params: {
        goal: string;
        files: string[];
    }) => Promise<{
        totalWorkers: number;
        mode: string;
        lanes: Array<{
            role: string;
            files: string[];
        }>;
        selectedSkills: string[];
        selectedSpecialists: string[];
        selectedWorkflows: string[];
        selectedHooks: string[];
    }>;
    /** Compute source-aware token budget */
    computeTokenBudget: (selectedFiles: string[]) => {
        totalBudget: number;
        allocatedBySource: Record<string, number>;
        reason: string;
    };
    /** Build task graph from phases */
    buildTaskGraph: (task: string, phases: string[]) => {
        phases: string[];
        independentBranches: number;
    };
    /** Decompose task into phases */
    decomposeTask: (task: string) => string[];
}
/**
 * Prepare a run from fast + deep bootstrap results.
 * Returns the instruction packet, token budget, and worker plan.
 */
export declare function runPrepare(task: string, fast: BootstrapFastResult, deep: BootstrapDeepResult, deps: RunPrepareDeps): Promise<RunPrepareResult>;
