/** * wait Command - what pollWorktree records off each frame before its stages judge it * Issue #3966: split out of pollWorktree to bring its complexity under 25. */ import type { CurrentOutputResponse } from '../types/api-responses'; import type { PollState, PollWorktreeOptions } from './wait-poll-state'; /** Stall detection and `everRunning` off one frame. */ export declare function trackPollActivity(state: PollState, data: CurrentOutputResponse): void; /** Adopt the turn this frame names and tell the caller's turn callbacks. */ export declare function adoptAndPublishTurn(state: PollState, data: CurrentOutputResponse, startTime: number, options: PollWorktreeOptions): void; /** Drop a self-resume hold whose `stop` is no longer the newest word. */ export declare function releaseMovedSelfResumeHold(worktreeId: string, state: PollState, selfResumeStopAt: number | null): void; /** Say that the prompt an Auto-Yes hold was waiting on has cleared, and end the hold. */ export declare function noteAutoYesPromptCleared(worktreeId: string, state: PollState): void; //# sourceMappingURL=wait-poll-bookkeeping.d.ts.map