import { NxArgs } from '../utils/command-line-utils';
import { Task, TaskGraph } from '../config/task-graph';
import { TaskResult } from './life-cycle';
import type { ProjectGraph } from '../config/project-graph';
import type { NxJsonConfiguration } from '../config/nx-json';
export declare function initTasksRunner(nxArgs: NxArgs): Promise<{
    invoke: (opts: {
        tasks: Task[];
        parallel: number;
    }) => Promise<{
        status: NodeJS.Process["exitCode"];
        taskGraph: TaskGraph;
        taskResults: Record<string, TaskResult>;
    }>;
}>;
export declare function runDiscreteTasks(tasks: Task[], projectGraph: ProjectGraph, taskGraph: TaskGraph, nxJson: NxJsonConfiguration): Promise<Promise<{
    task: Task;
    status: import("./tasks-runner").TaskStatus;
    terminalOutput?: string;
}>[]>;
export declare function runContinuousTasks(tasks: Task[], projectGraph: ProjectGraph, taskGraph: TaskGraph, nxJson: NxJsonConfiguration): Promise<Promise<import("./running-tasks/running-task").RunningTask>[]>;
