import type { TaskExecutorCancel } from "#execution/tasks/parent/task-cancel.js";
import { type DurableSessionState } from "#execution/durable-session-store.js";
/** Cancels the active child turn owned by a background subagent task. */
export declare const cancelBackgroundAgentTask: TaskExecutorCancel;
/** Cancels a child turn still claimed by a completed workflow-tool run. */
export declare function cancelAgentInvocationOwnerStep(input: {
    readonly ownerId: string;
    readonly serializedContext: Record<string, unknown>;
    readonly sessionState: DurableSessionState;
}): Promise<void>;
