import type { WorkflowManager } from "@automatalabs/workflows"; export interface WholeStopIntent { version: 1; operationId: string; runId: string; action: "stop"; requestedAt: string; requestedByInstanceId: string; } export interface WholeStopAcknowledgement { version: 1; operationId: string; runId: string; acknowledgedAt: string; acknowledgedByInstanceId: string; outcome: "stopped" | "already-terminal"; } export declare function findPendingWholeStopIntent(manager: WorkflowManager, runId: string): WholeStopIntent | undefined; export declare function createOrReuseWholeStopIntent(manager: WorkflowManager, runId: string, requesterInstanceId: string): WholeStopIntent; export declare function readWholeStopIntent(manager: WorkflowManager, runId: string, operationId: string): WholeStopIntent | undefined; export declare function readWholeStopAcknowledgement(manager: WorkflowManager, runId: string, operationId: string): WholeStopAcknowledgement | undefined; export declare function acknowledgeWholeStopIntent(manager: WorkflowManager, intent: WholeStopIntent, ownerInstanceId: string, outcome: WholeStopAcknowledgement["outcome"]): WholeStopAcknowledgement; export declare function listPendingWholeStopIntents(manager: WorkflowManager): WholeStopIntent[]; export declare function deleteRunControlSidecars(manager: WorkflowManager, runId: string): void; //# sourceMappingURL=run-control-store.d.ts.map