/**
 * Task Launcher - Handles launching new parallel tasks
 */
import type { PluginInput } from "@opencode-ai/plugin";
import { ConcurrencyController } from "../concurrency.js";
import { TaskStore } from "../task-store.js";
import type { ParallelTask } from "../interfaces/parallel-task.interface.js";
import type { LaunchInput } from "../interfaces/launch-input.interface.js";
type OpencodeClient = PluginInput["client"];
export declare class TaskLauncher {
    private client;
    private directory;
    private store;
    private concurrency;
    private onTaskError;
    private startPolling;
    constructor(client: OpencodeClient, directory: string, store: TaskStore, concurrency: ConcurrencyController, onTaskError: (taskId: string, error: unknown) => void, startPolling: () => void);
    launch(input: LaunchInput): Promise<ParallelTask>;
}
export {};
