/**
 * Mission Seal Handler
 *
 * Integrates Mission Seal detection with session events.
 * When session goes idle, checks for seal and either:
 * - Completes loop if seal detected
 * - Continues with next iteration if seal not detected
 */
import type { PluginInput } from "@opencode-ai/plugin";
type OpencodeClient = PluginInput["client"];
/**
 * Handle session.idle event for mission seal loop
 */
export declare function handleMissionSealIdle(client: OpencodeClient, directory: string, sessionID: string, mainSessionID?: string): Promise<void>;
/**
 * Handle user message - cancel countdown
 */
export declare function handleUserMessage(sessionID: string): void;
/**
 * Handle abort - prevent continuation
 */
export declare function handleAbort(sessionID: string): void;
/**
 * Clean up session state
 */
export declare function cleanupSession(sessionID: string): void;
/**
 * Check if there's a pending countdown
 *
 * Utility function for debugging and testing continuation state.
 * Can be used to verify countdown status before injecting prompts.
 */
export declare function hasPendingContinuation(sessionID: string): boolean;
export {};
