/**
 * Force Stop Workflow Step Use Case
 *
 * Manually flips a stuck `pending` or `running` workflow step to
 * `interrupted`. Used when a daemon restart or lost SSE update left a
 * step displayed as in-progress even though the underlying agent turn
 * finished (or was never started after recovery). Reusing the
 * `interrupted` status keeps the existing "Continue" retry flow in the
 * UI just working.
 *
 * This use case intentionally does NOT kill any agent process — the
 * process lifecycle is owned by `StopAgentRunUseCase`. It only
 * mutates the persisted step row and notifies SSE subscribers so the
 * tracker updates live.
 */
import type { IWorkflowStepRepository } from '../../ports/output/repositories/workflow-step-repository.interface.js';
import type { IInteractiveSessionService } from '../../ports/output/services/interactive-session-service.interface.js';
export interface ForceStopWorkflowStepInput {
    stepId: string;
}
export interface ForceStopWorkflowStepResult {
    stopped: boolean;
    reason: string;
}
export declare class ForceStopWorkflowStepUseCase {
    private readonly stepRepo;
    private readonly session;
    constructor(stepRepo: IWorkflowStepRepository, session: IInteractiveSessionService);
    execute(input: ForceStopWorkflowStepInput): Promise<ForceStopWorkflowStepResult>;
}
//# sourceMappingURL=force-stop-workflow-step.use-case.d.ts.map