export type InputTurnState = 'inflight' | 'committed'; /** * Worker-local idempotency fence for daemon retries. * * A retry can arrive while the first IPC handler is still committing the same * turn. Keep that distinct from a committed duplicate: inflight duplicates are * ignored and wait for the original ACK, while committed duplicates re-ACK * without entering the CLI input queue again. */ export declare class InputTurnDeduper { private readonly maxCommitted; private readonly states; constructor(maxCommitted?: number); begin(turnId: string): 'new' | InputTurnState; commit(turnId: string): void; release(turnId: string): void; state(turnId: string): InputTurnState | undefined; private pruneCommitted; } //# sourceMappingURL=input-turn-dedupe.d.ts.map