import type { DispatchInput, DispatchTask } from "../types.ts"; import type { TaskLifecycleDeps } from "./lifecycle-shared.ts"; /** * Launch a background dispatch task. */ export declare function launch(d: TaskLifecycleDeps, input: DispatchInput, parentContext: { sessionID: string; agent: string; directory: string; graphScoped?: boolean; }): Promise; /** * Start a background task by creating a session and sending the prompt. * Marks the task as "running" on success. */ export declare function startBackgroundTask(d: TaskLifecycleDeps, taskId: string, input: DispatchInput, parentContext: { sessionID: string; agent: string; directory: string; graphScoped?: boolean; }): Promise; /** * Reopen a completed/errored task for continuation with a new prompt. * The task is returned to "running" status on the same session. */ export declare function reopenForContinuation(d: TaskLifecycleDeps, taskId: string, input: DispatchInput, parentContext: { sessionID: string; agent: string; directory: string; graphScoped?: boolean; }): Promise; //# sourceMappingURL=task-launcher.d.ts.map