import type { WorkflowToolRunAddress } from "#execution/tools/workflow/types.js";
/**
 * Asks the run to cancel itself; cancels it outright only if the message cannot
 * be delivered. Failures are logged, not thrown: the caller has already
 * committed the cancellation the run was serving.
 */
export declare function cancelWorkflowToolRun(run: WorkflowToolRunAddress, reason: string): Promise<void>;
export declare function cancelWorkflowToolRunStep(input: {
    readonly reason: string;
    readonly run: WorkflowToolRunAddress;
}): Promise<void>;
