/**
 * Mission Loop Handler
 *
 * Monitors session events and ensures the mission loop continues
 * until all verification requirements are met.
 */
import type { PluginInput } from "@opencode-ai/plugin";
type OpencodeClient = PluginInput["client"];
/**
 * Handle session.idle event for mission loop
 */
export declare function handleMissionIdle(client: OpencodeClient, directory: string, sessionID: string, mainSessionID?: string): Promise<void>;
/**
 * Handle user message - cancel countdown
 */
export declare function handleUserMessage(sessionID: string): void;
/**
 * Handle abort
 */
export declare function handleAbort(sessionID: string): void;
/**
 * Clean up session state
 */
export declare function cleanupSession(sessionID: string): void;
export {};
