import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; /** * Mark that a flow just completed. Called by the executor after each flow * finishes. The continuation system uses this to enforce the post-completion * hold, giving the user time to read the result before the next flow spawns. * * Per-session tracking prevents one session's flow completion from delaying * another session's continuation. */ export declare function markFlowCompleted(sessionId?: string): void; /** * Clean up session tracking state for a specific session. * Fix L3: Prevent unbounded Map growth by cleaning up session tracking state. */ export declare function cleanupContinuationState(sessionId: string): void; /** * Wipe all continuation tracking state. Call on shutdown. * Fix L3: Prevent unbounded Map growth by cleaning up session tracking state. */ export declare function clearAllContinuationState(): void; /** * Shut down the idle wake-up interval. Call during process exit cleanup. */ export declare function shutdownWakeup(): void; export declare function setupContinuation(pi: ExtensionAPI): void; //# sourceMappingURL=continuation.d.ts.map