import type { RuntimeSessionIdleInput } from "../policy/runtime-policy"; import { type ExecutionLeaseSnapshot } from "../../domain/session/execution-lease"; export type ExecutionOwner = "none" | "plan" | "workflow"; export interface ExecutionSnapshot extends ExecutionLeaseSnapshot { } export declare function getExecutionSnapshot(directory: string): ExecutionSnapshot; export declare function shouldAutoPauseForUserMessage(input: { directory: string; sessionId: string; isBuiltinCommand: boolean; isContinuation: boolean; }): boolean; export declare function shouldHandleWorkflowCommand(directory: string, sessionId: string): boolean; export declare function shouldCheckWorkflowContinuation(hooks: RuntimeSessionIdleInput["hooks"], directory: string): boolean; export declare function shouldCheckWorkContinuation(hooks: RuntimeSessionIdleInput["hooks"], directory: string): boolean; export declare function doesSessionOwnExecution(directory: string, sessionId: string, owner?: ExecutionOwner): boolean; export declare function shouldFinalizeTodos(hooks: RuntimeSessionIdleInput["hooks"], directory: string, continuationFired: boolean): boolean;