import type { WorkflowToolRunAddress } from "#execution/tools/workflow/types.js";
/**
 * Asks the run to cancel itself, then bounds cooperative cleanup. Failures are
 * logged: the caller has already committed cancellation of the calling turn.
 */
export declare function cancelWorkflowToolRun(run: WorkflowToolRunAddress, reason: string): Promise<void>;
/** Allows cooperative cleanup, then forcibly stops a still-live run. */
export declare function settleWorkflowToolRunCancellation(runId: string, reason: string, cooperative?: boolean): Promise<void>;
